Computer Science Canada

Help compiling

Author:  A.J [ Thu May 28, 2009 11:33 pm ]
Post subject:  Help compiling

k, I know how to compile, but not where to do it......

I know the command is ghs <inputfile> -o <outputfile> or something like that, but where do I type that in and how do i get there?

thanks

Author:  DemonWasp [ Fri May 29, 2009 12:13 am ]
Post subject:  RE:Help compiling

You type that in your command-line. Since you don't appear to know what that is, I'll assume you're on Windows. Go Start->Run and type in "cmd.exe" minus the quotes. A window with a black background and white text appears.

Use the cd (change directory) command to move to where your code is saved. Then, use the command above to compile your program. Once compiled, you should be able to run your program by simply typing in (outputfile).

At any time, you can use the help command to get more information.

Author:  A.J [ Fri May 29, 2009 1:05 am ]
Post subject:  RE:Help compiling

Thanks! You are awesome, thanks Very Happy


: