Compilers for c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Compilers for c++

I use turbo c++ in my laptop and this app in my tab. I find that I get different outputs for the same code inside the main function. Is it something to do with the namespace std, the difference in compilers or anything else? Thank you in advance!

31st Jul 2017, 2:26 PM
S V Shanmugha Balan
S V Shanmugha Balan - avatar
3 Answers
+ 9
it is turbo c++. it was made before c++ was standardized therefore it contains things which are not found in what we would call c++ today. https://www.sololearn.com/discuss/288609/?ref=app
31st Jul 2017, 2:31 PM
jay
jay - avatar
0
Don't use of turbo c++ instead of that use CODEBLOCKS IDE.
12th Aug 2017, 3:40 AM
Rakesh Ranjan
Rakesh Ranjan - avatar
0
code blocks
3rd Sep 2017, 1:17 AM
Abubakar Sadiq
Abubakar Sadiq - avatar