Thread: Problem with codeblocks help please
hi installed codeblocks in ubuntu , when compile
#include <iostream>
using namespace std;
int main()
{
char choice;
do
{
cout << "enter name: ";
cin >> choice;
cout << choice<<endl;
}
while(choice != 0);
return 0;
}
outputs in console project:
enter name: chuck
c
enter name: h
enter name: u
enter name: c
enter name: k
why doing when use codeblocks in windows works
windows , linux bit different c++ standard. windows 1 may using microsoft c++ while linux using ansi c++. because it's called c++ doesn't mean it's same.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Problem with codeblocks help please
Ubuntu
Comments
Post a Comment