Results 1 to 5 of 5

Thread: Help with loading files....

  1. #1

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228

    Question Help with loading files....

    OK, I know this isnt a C++ forum, but this is the only good forum around (if you know of a good C++ forum, please tell me the link ) SO DON'T YELL AT ME ABOUT IT!!

    That said.. on to my problem:
    I need to know if there is a good way of reading and writing from files in binary format in C++. I want this to be similar to the open FileName for Binary as #1 in VB. I know about the fstream.h but it seems sort of... primitive... and i wanna know if there is a better way of doing it and HOW... Thanx for any help.
    To protect time is to protect everything...

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    There is a C++ forum on vbforums.com ya know
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    i didnt know.....
    To protect time is to protect everything...

  4. #4
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221
    Anyway if you're still here, read up on fopen, fread, fwrite, fclose, etc. I've never used them before but I know they're used for binary files! ^_^;;
    "1 4m 4 1337 #4xz0r!'
    Janus

  5. #5

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    Thanx Janus. Yup i found out about that so I am good to go now.
    To protect time is to protect everything...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width