PDA

View Full Version : سوال: توابع seekp با seekg چه فرقی دارند؟



complexcoding
سه شنبه 20 تیر 1391, 14:17 عصر
با سلام
توابع seekp با seekg یا توابع tellg با tellp چه فرقی دارند؟
با تشکر

pe32_64
سه شنبه 20 تیر 1391, 15:11 عصر
msdn با مثال توضیح داده.و این لینکها هم هست:
tellg (http://www.cplusplus.com/reference/iostream/istream/tellg/)
tellp (http://www.cplusplus.com/reference/iostream/ostream/tellp/)
seekg (http://www.cplusplus.com/reference/iostream/istream/seekg/)
seekp (http://www.cplusplus.com/reference/iostream/ostream/seekp/)