Author Topic: Code Blocks wouldn't built anything  (Read 3488 times)

infinity

  • Guest
Code Blocks wouldn't built anything
« on: April 24, 2009, 04:15:15 pm »
I've downloaded Code::Blocks, but I've got a little problem. Even as simple code as this wouldn't be built and so I can't run anything. When I try to build something it does nothing, doesn't show a message or whatever. What should I do?

Just an example of what I've been trying to run..

#include <iostream>
using namespace std;
int main () {
    cout<<"hay";
    return 0;
}



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Code Blocks wouldn't built anything
« Reply #1 on: April 24, 2009, 08:30:32 pm »
What should I do?
1.) Search before you ask
2.) Install and setup a compiler. C::B comes with two setups: One with and one without a compiler.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ