You are here:

C++/print f and scan f

Advertisement


Question
what is print f and scan f functions

Answer
Hello sadeq, thank you for the question.

printf is a C function for writing to an output stream, and scanf is a C function for reading input from an output stream. These functions are equivalent in terms of general functionality to cout and cin in C++.

I hope this information was helpful.

- Eddie

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Eddie

Expertise

I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by ExpertRating.com. I also know a good deal about graphics via OpenGL, and GUIs.

Experience

I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2016 About.com. All rights reserved.