Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Turbo C++ "cout" Why doesnt it work?

wesbwesb Member Posts: 1
In school, we used turbo c++ and we always used cout and cin to print text on the screen. But the version that i have dosent allow me to do it that way, i have to do printf. I like the cout statement better, and cin. Also when i include iostream.h it gives me 21 syntax errors. Why is that happening? is iostream.h not a header file anymore. In my class at school it was. Maybe im just not getting this. Im kinda ticked right now as you can tell. Someone please help me. I want my cout!! hah. this is how the start of my program looks


void main(void)
cout>>"hello world.";

and it gives me those stupid syntax errors for iostream.h and says cout is not a defined function. HELP!



Sign In or Register to comment.