compiler construction - Visual C++ 2010 Express Compile Error -


i experimenting c++ having trouble compiling visual c++ 2010 express through command line. have been doing without problem several days, when typing cl /ehsc program.cpp visual studio prompt, program not compiled. instead outputs following:

/ehsc program.cpp 0 

i used following page primary reference: http://msdn.microsoft.com/en-us/library/ms235639.aspx

any great since have had no luck on google. lot, , please excuse simple question.

i have guess @ in program.cpp. bet small program prints values of argv[i] in for() loop. if that's anywhere accurate, got trouble earlier wrong command line , accidentally created cl.exe instead of program.exe.

well, works. type "del cl.exe" rid of it.

do consider using "visual" part of visual studio. ide has lots of ways fall pit of success. start file + new project.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -