Results 1 to 6 of 6
I have tried a few and can't get them to work. I liked code blocks but when i ran my program nothing happened it was the Hello world program they ...
- 11-19-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
Help with Code:Blocks
I have tried a few and can't get them to work. I liked code blocks but when i ran my program nothing happened it was the Hello world program they auto generate i just wanted to test it out. There was no output. the program ran and nothing happened.
I am used to Visual Studio where the program is run in the command prompt but nothing happens in Code:Blocks. The program compiles but i don't know if its even run. Code:Blocks had the Intel C++ compiler selected and it couldn't find it so I switched to the GNU compiler. I don't know it that helps
I am not a serious C++ programmer I just like to play around with it.
- 11-19-2009 #2
- 11-19-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
i hit the compile button then the run button I tried the compile and run button. I don't know where to even look for the output of the program.
- 11-19-2009 #4
- 11-19-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
No it doesn't do that I don't even know what to search for in google to find an answer.
- 11-20-2009 #6
What programming editor are you using? If you are using Geany, after you save the program under the Build tab press Compile, then Build, then Execute.
If you are using the command line after compiling/linking the source from a shell within the directory the program is, you can run it by typing ./filename where filename is put the program name.


Reply With Quote
