spadez
02-16-2009, 11:30 PM
Hi,
I have a basic C program which I am trying to compile in visual studio. It is a program designed to be run in windows in command prompt.
Ive been searching for tutorials on how to do this, either im doing it wrong (i get compile errors with even the most basic script) or I cant make heads or tails of the instructions.
Firstly, how should I open my C code within visual studio. Do I open it up as a .c file or should I paste the code into the window. If I should be the doing the latter, what file should I be creating? A Win32 console application with precompiled header?
Thanks for any help you can give.
James
I have a basic C program which I am trying to compile in visual studio. It is a program designed to be run in windows in command prompt.
Ive been searching for tutorials on how to do this, either im doing it wrong (i get compile errors with even the most basic script) or I cant make heads or tails of the instructions.
Firstly, how should I open my C code within visual studio. Do I open it up as a .c file or should I paste the code into the window. If I should be the doing the latter, what file should I be creating? A Win32 console application with precompiled header?
Thanks for any help you can give.
James