The command prompt itself cannot compile source code. But most compilers allow for certain commands to be made via the command prompt that lead back to it. _________________
8D wrote:
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
so what you say is there's a command that can compile source code but this command is known to the command prompt only if a compiler is installed on the computer? _________________
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
Posted: Wed Oct 01, 2008 3:49 am Post subject:
1qaz wrote:
so what you say is there's a command that can compile source code but this command is known to the command prompt only if a compiler is installed on the computer?
Get the intel compiler, that's command line.
Code:
icl SourceFile.cpp
That's the basic was to compile into an exe, you can add switches for optimisation and stuff.
oh great thx
i don't have intel's compiler but i tried out the visual studio's cmd
and the command is 'cl' not 'icl'
thanks anyway :]
btw how come it doesn't work with C# files ? _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum