Newb C++ Question

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

dejitaru

Banned
Sep 29, 2002
627
0
0
Originally posted by: TerryMathews
Originally posted by: dejitaru
Think of it this way: should you have iostream? Probably not. It generally is not installed. What OS are you running?

try this in a new file:

int main()
{

print ("some text");

}

That doesn't use iostream, so it shoud compile.

It's printf, not print
That, of course, would depend on the OS. Mine supports either one.
print and printf are the same, yet printf is for formatted text.