Search:

Type: Posts; User: awilmut

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,378

    Thanks Cela! :)

    Thanks Cela! :)
  2. Replies
    6
    Views
    3,378

    void main(void) { String...

    void main(void)
    {
    String s("dunc0035:!:5701:500::/shome/dunc0035:/bin/ksh");
    StringTokenizer tokens( s, ':' );
    }



    Heres the rest of the code... It won't help you...
  3. Replies
    6
    Views
    3,378

    strcspn & strlen

    Ok, I have searched the archives and cannot find an answer to my question, so ... I am tokenizing strings by the delimiter ':' and cannot seem
    to assign and index value from the output of the...
  4. Replies
    16
    Views
    3,085

    Thanks Guys...

    Thanks Guys...
  5. Replies
    16
    Views
    3,085

    oops.. sorry folks, it should be: if...

    oops.. sorry folks, it should be:

    if ((menuSelection != 'A') && (menuSelection != 'B') && (menuSelection != 'C') && (menuSelection != 'D') && (menuSelection != 'X'))
  6. Replies
    16
    Views
    3,085

    it's not :D but thanks. Anyone else?

    it's not :D but thanks. Anyone else?
  7. Replies
    16
    Views
    3,085

    Testing Multiple Conditions

    Searched, couldn't find it.. I'm looking to simplify this:

    if ((menuSelection != 'A') || (menuSelection != 'B') || (menuSelection != 'C') || (menuSelection != 'D') || (menuSelection != 'X'))
    ...
  8. Thread: Basic C++ q's

    by awilmut
    Replies
    5
    Views
    1,408

    citCode is an array of 4 chars if I also...

    citCode is an array of 4 chars


    if I also wanted to clear the contents of char how could i do it??
  9. Thread: Basic C++ q's

    by awilmut
    Replies
    5
    Views
    1,408

    Basic C++ q's

    If I wanted to check if a user entered value was blank ie. the user presses enter would I use this code??:

    cout <<"Enter city code:"<<endl;
    cin >>cityCode;
    if (cityCode == '')

    secondly how...
  10. Thread: Structures

    by awilmut
    Replies
    5
    Views
    1,065

    i just need a way to be able to input the 3...

    i just need a way to be able to input the 3 letter codes in sequence
  11. Thread: Structures

    by awilmut
    Replies
    5
    Views
    1,065

    Ok, but is what I was suggesting possible?? i'm...

    Ok, but is what I was suggesting possible??
    i'm not that far ahead in my c++ courses to do what u suggest...

    Andrew Wilmut
  12. Thread: Structures

    by awilmut
    Replies
    5
    Views
    1,065

    Structures

    Ok, heres my problem.
    i have a structure here it is:

    struct route
    {
    char cityCode1[3];
    char cityCode2[3];
    char cityCode3[3];
    char cityCode4[3];
    char cityCode5[3];
Results 1 to 12 of 12