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 -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -