Search:

Type: Posts; User: ProLin

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,535

    Thanks, I ended up moving my getline before and...

    Thanks, I ended up moving my getline before and after the loop. It works good now.
  2. Thread: array question

    by ProLin
    Replies
    5
    Views
    1,000

    You the Man!

    You the Man!
  3. Thread: array question

    by ProLin
    Replies
    5
    Views
    1,000

    Here is the complete test file. Thanks in...

    Here is the complete test file. Thanks in advance.

    #include <fstream> // For file i/o
    #include <iomanip> // For cout manipulation
    #include <iostream> // For cout
    #include <stdlib.h> // For...
  4. Thread: array question

    by ProLin
    Replies
    5
    Views
    1,000

    array question

    Can you tell me why it won't print my array to the screen? Compared to examples in my book, it should work. I don't get it.

    if ((Prefix == "AA") && (Description == "MC"))
    {...
  5. Replies
    2
    Views
    2,535

    abnormal program termination

    Can someone look at my code and give me any idea why I'm getting abnormal program termination after the output is on the screen? It's just a simple program to open a file and then compare some...
  6. Replies
    3
    Views
    1,396

    Thanks, my prof said the same thing. It worked...

    Thanks, my prof said the same thing. It worked perfect.
  7. Replies
    3
    Views
    1,396

    atoi error need help - please:(

    error C2664: 'atoi' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const char *'
    No user-defined-conversion...
  8. Replies
    2
    Views
    1,661

    Yes, I have tried numerous times to use these...

    Yes, I have tried numerous times to use these getline/substr commands. I will try your method and let you know the results. I appreciate your help.:p
  9. Replies
    2
    Views
    1,661

    getline/substr command help

    Can anyone give me an example on the getline/subst commands?

    Example:

    123UM1BRIAN
    123UH2BRIAN
    124ZZ1MOSES
    124UM2MOSES
    125BH1ISHMAEL
Results 1 to 9 of 9