How to run c++ program in codeblocks? -


i write simple progrum in c++ , run using codeblocks(13:12). code looks -

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

but it's don't build. gives me error message .

s mine\c++ pro. . . 1   fetal error: no such file or directory 

why getting issue ? why iostram file don't found . whats wrong , how solve ?

i not sure error wrote, think compiler might not installed. suggest unistall codeblocks , re-download installer http://www.codeblocks.org/downloads/26 has compiler installed: codeblocks-16.01mingw-setup.exe link. luck, pal!

edit 1: script fine, don't worry it.

edit 2: oops, see have fault in code. it's endl, not end1!


Comments