I have installes turbo c++ on my laptop,done some c programming stuff. Now starting c++, but the first program to print hello world, there is showing error 1. unable to open include file upstream 2.declaration syntax error 3.undwfined symbol cout I can't figure out what is the problem. Help me .I novice in programming. Want to learn.Follwing is the program I'm trying to run: #include<iostream> using namespace std; int main () { cout<<"Hello world"; return 0; }
11/23/2017 5:55:38 PM
Tapan Das7 Answers
New AnswerYou are using turbo c++, which is obsolete (it was last updated before my birth!). So you have to use the obsolete & deprecated <iostream.h> instead of <iostream>. Also, don't forget to change your compiler. https://www.sololearn.com/discuss/288609/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message