Thread: how to write simple C program?

  1. #1
    Registered User
    Join Date
    Nov 2002

    Unhappy how to write simple C program?

    i am new to programming. i have recently bought 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
    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
    Your best bet is to either read the manual that comes with or to buy a book. A little reading and research can go a long way.
    Wandering aimlessly through C.....

  4. #4
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    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 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, 10:08 AM
  2. need a simple program
    By Peter Griffin in forum C++ Programming
    Replies: 7
    Last Post: 12-04-2005, 04: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