0

Why CodeBlocks(GNU C++) accept cout<"Testing";

I'm writing my program but by mistake i didn't write cout<<"Testing"; and CodeBlocks didn't give any output also no error were shown.

19th May 2018, 2:14 AM
Amit Kumar
Amit Kumar - avatar
2 Answers
+ 1
Can you show the complete code?
19th May 2018, 2:48 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
cout/cin are kinda weird sometimes, maybe codeblocks interpreted it as a statement?
19th May 2018, 8:10 AM
hinanawi
hinanawi - avatar