how to write simple C program?

This is a discussion on how to write simple C program? within the C Programming forums, part of the General Programming Boards category; i am new to programming. i have recently bought C++.net. i know that i can compile C program. but how ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    2

    Unhappy how to write simple C program?

    i am new to programming. i have recently bought C++.net. i know that i can compile C program. but how do i start? i open Visual Studio... and what should i do next? can anyone be kind enough to help this desperate little being? i just wanted to code a simple C program but i don't know where to start..... please help

  2. #2
    cereal killer dP munky's Avatar
    Join Date
    Nov 2002
    Posts
    655
    to start you'll want to go to file new... then create new project. if you want to do a c or c++ app. you'll want to chose a winconsole32 application. then click ok, then you'll want to go to file new again and create a new c/c++ file. name your file then start your coding.....check out the tutorials on this site to help get ya started.
    guns dont kill people, abortion clinics kill people.

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Your best bet is to either read the manual that comes with C++.net or to buy a book. A little reading and research can go a long way.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  4. #4
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    i think he means that the standard type in visual c is a c++ file,
    when you create an empty project, select new and text file...name it "whatever.c" using the "" so that it doesn't save it as .c.txt
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 12-30-2007, 09:08 AM
  2. need a simple program
    By Peter Griffin in forum C++ Programming
    Replies: 7
    Last Post: 12-04-2005, 03:23 PM
  3. Need help with simple, simple program.
    By LightsOut06 in forum C Programming
    Replies: 5
    Last Post: 09-01-2005, 08:31 PM
  4. Problem with simple XOR program
    By spike_ in forum C++ Programming
    Replies: 8
    Last Post: 08-17-2005, 12:09 AM
  5. simple frontend program problem
    By gandalf_bar in forum Linux Programming
    Replies: 16
    Last Post: 04-22-2004, 06:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21