Search:

Type: Posts; User: EVIL_Murasame

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    993

    Problems compiling two CPPs

    I have a time1.h (the file that contains my class)

    I have a time1.cpp (The file that contains my class' member funcs)

    I have a progtime.cpp (The file that contains my Main)

    My question is...
  2. Replies
    16
    Views
    1,757

    Yay... i have it working now... Now i have a...

    Yay... i have it working now...

    Now i have a question... how do i find a string amongs all the strings i fprintedf in my txt??

    A code example would be just great.
  3. Replies
    16
    Views
    1,757

    But if i reset the program the file pointer will...

    But if i reset the program the file pointer will be in the start of the file!. How do i position de pointer in a txt file WITH INFO already in it.




    < DAMNIT.TXT >

    This is a string...........
  4. Replies
    16
    Views
    1,757

    NO GOOD NOTHING HAPPENED!!! I need a code that...

    NO GOOD NOTHING HAPPENED!!!

    I need a code that enters a string through keyboard and then outputs the string to a txt and the next time the program runs the next string will be written right below...
  5. Replies
    16
    Views
    1,757

    I have serious problems here... if...

    I have serious problems here...




    if (0==feof(ayuda))
    {
    Pos=ftell(ayuda);
    cout<<Pos; //after this it returns to 0 again... how?! WHEN!?
    }
  6. Replies
    16
    Views
    1,757

    I used the fseek... but it returns a 1 value......

    I used the fseek... but it returns a 1 value... that means that the pointer hasn't been moved... HOW HOW HOW DAMNIT!! Is there another way??
  7. Replies
    16
    Views
    1,757

    I have a question... how do you assign an EOF...

    I have a question... how do you assign an EOF position to a FILE pointer?...

    I tried Pointer=EOF;
    But it says that cannot assign int to a FILE...
  8. Replies
    16
    Views
    1,757

    This code shows on screen what's on user.txt...

    This code shows on screen what's on user.txt right?
    But i have one question the FILE pointer... If I have a line how do i position the pointer in the start of the second line? If i use EOF it will...
  9. Replies
    16
    Views
    1,757

    I thank you deeply but... could you be more...

    I thank you deeply but... could you be more simple?... i may be asking too much but i new at this text thing. I don't know how fread() and fseek() really works...
  10. Replies
    16
    Views
    1,757

    Here goes part of the code. if...

    Here goes part of the code.

    if ((nota_iii<10)||(nota_iii>70))
    goto repetir_nota_iii;
    gotoxy(16,22);
    promed=alumn.llenar_alumnos(LastNameP,
    LastNameM,
    ...
  11. Replies
    16
    Views
    1,757

    I need help on this one!

    I need to know how to a move a pointer through a .txt file using. I need to move the pointer so i can locate the beginning of a string, or an integer (or any number).
Results 1 to 11 of 11