Search:

Type: Posts; User: fp123

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,632

    Thanks, one more question :)

    Cheers, that works fine now, however i try to read in the data until end of file, and it doesnt work, just runs continuously... code in blue is what i added to try input data until end of file:

    ...
  2. Replies
    6
    Views
    1,632

    Outputting an Array, what's wrong...?

    Ok this code outputs a name, but i cant figure out how to output the array in my function, from the main( ).

    I know the code in my getInfo function works, and if i output the information inside...
  3. Replies
    5
    Views
    1,114

    Still not working!?

    Comiles yet continuously runs without ending, any ideas? Changed ios::nocreate like you stated.



    #include <iostream>
    #include <string>
    #include <fstream>
    using namespace std;

    bool...
  4. Replies
    5
    Views
    1,114

    HELP! What's wrong with my code!

    I have made this program which im really certain would work, it compiles with no errors, but runs continuously after getting the name of the output file.

    The program takes a loads of names each...
  5. Thread: Getline Help!

    by fp123
    Replies
    4
    Views
    1,450

    using getline in function?

    I have just been messing about trying to figure out how to put the getline into a function, as i want to use as many functions as possible in the program.

    Is it possible to put that line of code...
  6. Thread: Getline Help!

    by fp123
    Replies
    4
    Views
    1,450

    Thank you Bee that was extremely informative,...

    Thank you Bee that was extremely informative, just going to have a mess about with my program now :)
  7. Thread: Getline Help!

    by fp123
    Replies
    4
    Views
    1,450

    Getline Help!

    Hi guys just trying to understand Getline and implement it in a problem im trying to solve.

    First off i have a program that is working:



    #include <iostream.h>
    #include <string>
    #include...
  8. Replies
    1
    Views
    1,153

    Input / Output help (arrays)

    Hi, im attempting to make a program that takes a name of up to 3 words long from a text file and outputs it into a different text file.

    Then outputs numbers on a line below the name as well.

    As...
Results 1 to 8 of 8