Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试存储指向不同位置的文件的偏移量。使用tellp()函数,我可以知道文件中的实际位置,也就是一个整数。
当这个数字达到 4.294.967.295 时,问题就来了。出现溢出,然后tellp 没有显示正确的数字。那么,处理大(> 4GB)文件的方式是什么?