• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Newb C++ Question

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
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.
 
Back
Top