Thread: (Ubuntu 11.04 64 bits) Problems with CodeBlocks! Help!
first all!
noob this...
last 2 days trying proper installation run codeblocks in ubuntu natty couldn't =0(.
these issues are:
when compile , run code,
code:# include <iostream> using namespace std; int main () { int n; while (n! = 0) {cout <<"enter no."; cin>> n; if (n> = 7) {cout <<n <<"is greater or equal 7." <<endl;}} return 0; }
not let me enter numbers, ie runs , ends without me having interacted program, thing displayed on terminal is:
process returned 0 (0x0) execution time: 0.002 s
press enter continue.
other problem have when run file ntfs partition use keep things, shows me permission denied, @ time not give me option compile , run (build , run).
instead on windows 7, program runs flawlessly , can interact, enter numbers , makes execution normally.
need help!!! make install , configuration codeblocks 10.5 on ubuntu 11.04 64-bit.
followed several tutorials installing codeblocks in ubuntu outdated , couldn't find tutorial in noob mode me!
sorry bad english!.
us, , google traductor , babel fish!.
meee!!!.
some of code got messed somewhere , formatting causing invalid syntax. ("# include" vs "#include", "! =" vs "!=", etc)
anyway, program running intended. created int called 'n'. memory backing wiped before being handed over, default value 0 skips loop.
try giving value.
as ntfs, can't set execute bit on compiled output, system not run it. simple that.code:#include <iostream> using namespace std; int main () { int n=-1; while (n != 0) { cout <<"enter no."; cin>> n; if (n >= 7) { cout << n << "is greater or equal 7." << endl; } } return 0; }
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk (Ubuntu 11.04 64 bits) Problems with CodeBlocks! Help!
Ubuntu
Comments
Post a Comment