I have installed vs 2012 express on windows 8
Run VS 2012 X64 Cross Tools Command Prompt
create a folder
cd to get inside of the folder
create a sample c program named sample.c
#include
int main()
{
printf("This is a native C program.\n\a");
return 0;
}
save the file in the folder
type
cl sample.c
sample.exe and sample.obj will be created inside the folder
type
sample
press enter
No comments:
Post a Comment