int - c++ "cout << number" results with printing "number%" to the screen -


i have strange problem, simple program, f.e.

main() {     int i=1;     std::cout << i; } 

results with

1%  

on screen. can't rid of "%". know going on? using g++ (gcc) 4.8.0 20130502 on arch linux.

the '%' not program - shell running from.

try

std::cout << << std::endl; 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -