Search:

Type: Posts; User: Paul

Search: Search took 0.00 seconds.

  1. Thread: reading filenames

    by Paul
    Replies
    1
    Views
    1,376

    reading filenames

    what i want to do is simply read all the filenames from inside a directory, i know the basic file i/o stuff but cannot find anything about reading exsisting filenames. cheers for any help u give
    ...
  2. Thread: Struct problems

    by Paul
    Replies
    6
    Views
    1,042

    hmm... the STL is overly complicated for what i...

    hmm... the STL is overly complicated for what i want to do, plus i would rather become more expereinced with the basics of c++. How could i dynamically create a struct arry? I havn't tried much...
  3. Thread: Struct problems

    by Paul
    Replies
    6
    Views
    1,042

    cheers i'll do that. lol i didn't think it...

    cheers i'll do that.

    lol i didn't think it looked right, it's gettin late and i was to tired to see the mistake :p
  4. Thread: Struct problems

    by Paul
    Replies
    6
    Views
    1,042

    opps forgot to mention the error i am getting:...

    opps forgot to mention the error i am getting:
    "error C2057: expected constant expression"
  5. Thread: Struct problems

    by Paul
    Replies
    6
    Views
    1,042

    Struct problems

    Hi ive been trying to create a simple struct within another struct within another :p works create can access all the data members fine. My problem is simply, How can i have a dynamic struct array...
  6. Thread: deleting files?

    by Paul
    Replies
    6
    Views
    1,471

    cheers Zen that work perfectly :) yet another...

    cheers Zen that work perfectly :)
    yet another question how can i make cin.getline to terminate when the user presses enter with out haveing to make them type the ternial_char first.

    cheers
  7. Thread: deleting files?

    by Paul
    Replies
    6
    Views
    1,471

    thanx for the help but i cannot remove(char*...

    thanx for the help but i cannot remove(char* filename) to work :(
    here is some of my code



    ofstream file;
    file.open(fileName);

    file<<firstName<<"\n"
    <<lastName<<"\n"
  8. Thread: deleting files?

    by Paul
    Replies
    6
    Views
    1,471

    deleting files?

    Hi people,
    just started programming bout a week ago and need a little help with some file i/o
    what i have done so far is use fstream to open save and then close a file in which the user types the...
  9. Replies
    31
    Views
    7,666

    C , just start yesterday! Paul...

    C , just start yesterday!

    Paul
    www.pauldunn.f2s.com
Results 1 to 9 of 9