User Profile

Collapse

Profile Sidebar

Collapse
Malloc
Malloc
Last Activity: Mar 12 '07, 08:15 AM
Joined: Jan 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Malloc
    replied to File Help
    in C
    Thanks a lot.That really helped me......
    See more | Go to post

    Leave a comment:


  • Malloc
    replied to File Help
    in C
    Hi again

    I tryed the seekp but i still have a problem.When i try to put a record to the file it puts it to the begining of it.At first i thought that the seekp didn't work but when i used tellp() to check it out i saw that the pointer was where i told it to be.So,i must be doing something wrong with the way i insert the record to the file.
    Here is my code

    myfile.open("Fi le.dat",ios::ou t | ios::app);...
    See more | Go to post

    Leave a comment:


  • Malloc
    replied to File Help
    in C
    Thanks a lot.I'll try it....
    See more | Go to post

    Leave a comment:


  • Malloc
    started a topic File Help
    in C

    File Help

    Hello everyone...

    I am new in this forum so please forgive me if i'm doing this wrong.

    Lets get to the problem now.I am trying to read a file and put data in a specific record,witch means that i should propably move the pointer of my file to the record that i want and then write the data that i want.The problem is that i don't know how to do that.I've just started learning c++ and so far i've been searching the net to...
    See more | Go to post
No activity results to display
Show More
Working...