is it possible to use fstream without using classes and structures since everi time i encountered a fstream code i saw this classes and structures used...im not into the portion of classes ...could anyone help me out in this case!!????

of course its not necessary to use classes or structures. fstream can and frequently does work with POD (plain old data) types.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.