need some help....urgent!!

  • 9 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!!!

  • 9 years ago
  • 9 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!!

  • 9 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 ).
  • 9 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

    Chong

Post a reply

Enter your message below

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

Contribute

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.

“The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'” - Isaac Asimov