C++ std::cout << problem

2 views
Skip to first unread message

Programming Overflow

unread,
Mar 18, 2013, 1:40:25 PM3/18/13
to programmin...@googlegroups.com
It's interesting to see the following statement is not working in  VS2008 and above:
int a = 5;
int b = 10;
std::cout<<double(a)/b<<std::endl; 
Reply all
Reply to author
Forward
0 new messages