How do I run commands on VC++ 6? I tried looking up command line window on MSDN but none of the ways work because this is not Visual Studio .NET. It is Visual C++ 6.
How do I run commands on VC++ 6? I tried looking up command line window on MSDN but none of the ways work because this is not Visual Studio .NET. It is Visual C++ 6.
maybe this will help?
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Well I need to get to some 'command line' in VC++ 6 to run a '/Zm' command because the compiler is out of memory and my program is too large to compile at the default.
IIRC, you can edit the command line options from the IDE by going to 'Project", then "Settings" and they're under the "General" tab I believe. I can't confirm that because I don't have VC++ 6 installed on my machine at the moment, but it should give you a start for your search.
My best code is written with the delete key.
Ok thanks. But now that I set /zm I'm getting this error during compilation:
Anyone know what is wrong?--------------------Configuration: ARENA - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/ARENA.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
>Anyone know what is wrong?
The linker can't find main. Since main is an entry point into a standard C++ program, it's rather important that you define it. This error usually shows up when you try to compile a Win32 program in a console mode project because Win32 programs use WinMain as the entry point.
My best code is written with the delete key.
But I've compiled this project many times, in fact, I've even put it on these forums (in an early beta) for people to test in the games section. Then I added that code that caused me to have to use /Zm. Now it won't work. Main, as well as the rest of the program, is still there.Originally Posted by Prelude