need some help....urgent!!

  • 13 years ago

    can anyone teach me how to save the data in c programming as .dat file...
    my propose is to save the data when ppls enter their name,age,gender etc and i want to save it as .dat file with the file name of his/her name

    i am using mircosoft visual c++ 6.0 or 2005

    can anyone give me the example of the programming code...
    thanx a lot everybody!!!

  • 13 years ago
  • 13 years ago

    the sample show only the c++ programming code...
    wat i need is c programming code...
    anyway, thanz a lot...Mohammad Rastkar
    still need help!!

  • 13 years ago
    I don't have a sample code for C, but I know the process is the same, and just the statements vary. I recommend you to use C++, as you know the C syntax is not standard for programming nowadays, and C++ syntax is easier and better (it has two pluses! Big Smile Wink ).
  • 12 years ago

    I am not quite sure what you want!! I know how to save variables of different types (i.e. array strings (chars), integer, BOOL, float, and etc) in a binary file using c/c++.  If this is what you want to know, please get in touch because I can provide you with a simple exercise c/c++ program.


    All the best


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.” - Antoine de Saint Exupéry