Hi, I'm new to this list but I've been working in C++ using Dev-Cpp for two months. I'd like somebody to tell me how to truncate a file using fstream. Thanks in advanced, Eduardo Escofet