Search:

Type: Posts; User: rjcarmo

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,081

    Vector & char array problems. :-(

    I had a question on here earlier about why my program was printing funny symbols, instead of numbers, and someone suggested it was because I had my struct declared as strings, and also to use...
  2. Replies
    4
    Views
    1,718

    Ok, well it worked for the sample program I did. ...

    Ok, well it worked for the sample program I did. But for my major assignment I tried using vectors but it didn't work. I read up a little on vectors, and the problem I'm having is that by the...
  3. Replies
    4
    Views
    1,718

    Thankyou!

    Thanks! It's all working now. :-)
  4. Replies
    4
    Views
    1,718

    integers storing as symbols in arrays

    Hi, in the following program, the random numbers once stored in the array, aren't storing as integers!! I have no idea why. I tried testing it by printing to the screen what the random number was...
  5. Replies
    3
    Views
    901

    I worked it out!!

    Actually, I didn't work it out. I just found someone elses post on here with the same problem.

    I changed cardFile.open(fileName);

    to cardFile.open(fileName.c_str());

    Don's ask me what it...
  6. Replies
    3
    Views
    901

    how do u use that code tag?

    Don't mind me, I'm just an idiot!!! I tried using that <code> tag thing, but it didn't work!!

    How do you use code tags?
  7. Replies
    3
    Views
    901

    reading textfiles using variable names

    This is probably a really silly question (as I'm only a beginner at this!), but I'm having major dramas with reading textfiles.

    The thing is, I can get it to work, if I use the following code:...
Results 1 to 7 of 7