iPs's blog

By iPs, 8 years ago, In English

Hello, recently I bought a macbook and changed my operating system to Mac Os, now I have many problems with coding with my new operating system. I'm already using Xcode and compile my codes with gcc, can anyone explain any way or how to compile codes with g++, for example a program or a compiler?
thank you

Read more »

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it

By iPs, 8 years ago, In English
 
 
 
 
  • Vote: I like it
  • -18
  • Vote: I do not like it

By iPs, 8 years ago, In English

Is there anyway to increase speed of cin & cout streams? Like scanf & printf ?
UPD: Yes! By placing this line in the beginning of program ios_base::sync_with_stdio(false);
UPD2: Also! By placing this line in the beginning of program cin.tie(NULL); >> tnx adamant

Read more »

 
 
 
 
  • Vote: I like it
  • +27
  • Vote: I do not like it