Search:

Type: Posts; User: Arborius

Search: Search took 0.04 seconds.

  1. Replies
    8
    Views
    8,344

    ok, If I had spent less time on here, and more...

    ok, If I had spent less time on here, and more time in my code I could have figured it out.
    after fully understanding Daved's explanation I was able to solve my problems:
    fixed code in case...
  2. Replies
    8
    Views
    8,344

    I still didn't see that you said after every...

    I still didn't see that you said after every cin>> add cin.ignore, I did that, which paused the program when it reached getline after I removed the preceding cin. however ,if c is a string it writes...
  3. Replies
    8
    Views
    8,344

    I'm still getting errors. Will only write...

    I'm still getting errors.

    Will only write first word:



    char c[256];

    ...
  4. Replies
    8
    Views
    8,344

    these are the problems I've had with other...

    these are the problems I've had with other versions of my code, bear with me:

    If I use a string instead of a char array it ends the write on the first space and tries to pass the rest of the...
  5. Replies
    8
    Views
    8,344

    First word dropped off of string.

    Hey, my problem is as follows:

    when I pass a variable into array[a] from c I lose the first word.

    my code:


    #include <iostream>
    #include <cstring>
Results 1 to 5 of 5