Search:

Type: Posts; User: stevew2607

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,001

    can you convert a char[] to a string

    is it possible to convert a type string to a char[]?
    like
    string s;
    char[8] c;
    can you copy the contents of c into s?? i so how
  2. Replies
    3
    Views
    888

    extentsion name of a file

    when assigning a path name to a file stream is there any way to make the extension the part after the period a variable and tack it onto the name of the file?? If so how
  3. Replies
    3
    Views
    1,343

    can you advise me on how please

    can you advise me on how please
  4. Replies
    4
    Views
    984

    Thanks a lot it works perfectly

    Thanks a lot
    it works perfectly
  5. Replies
    3
    Views
    1,343

    filestream- can a path name be a variable

    when creating an output file stream is there any way to the path name a varible and the extention is three digits the first number represent the day of the week (mon, tues, etc) and the last...
  6. Replies
    5
    Views
    1,633

    ok changed my loop to this: while(in>>...

    ok changed my loop to this:
    while(in>> report.accountnum)
    {
    in >> report.accountnum;
    in >> report.lastname;
    out << defaultnum;
    out << report.accountnum;
    out << "M";...
  7. Replies
    5
    Views
    1,633

    here is the loop i tried to do an extra read an...

    here is the loop i tried to do an extra read an now it causes an infinite loop
    ifstream in("a://visi.txt", ios::in);
    ofstream out("c://opreg", ios::out);
    if(!in)
    {...
  8. Replies
    5
    Views
    1,633

    reading files

    I am reading from a data file sequentially, when i get to the last record in the file it reads it twice and outputs to my output file twice. I am using a while loop with a not end of file condtion,...
  9. Replies
    4
    Views
    984

    i would like to use becuase i need the...

    i would like to use <ctime> becuase i need the date from the computer is this even possible??
  10. Replies
    4
    Views
    984

    formatting a date

    I am using c++ and is there an method i can use to format a date into the following form 06/07/02 which is the month, day and year??
Results 1 to 10 of 10