Community discussion forum

need some help....urgent!!

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

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

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

  • 8 months 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).