Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help compiling
Index -> Programming, General Programming -> Functional Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
A.J




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: 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.
A.J




PostPosted: Fri May 29, 2009 1:05 am   Post subject: RE:Help compiling

Thanks! You are awesome, thanks Very Happy
Display posts from previous:   
   Index -> Programming, General Programming -> Functional Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: