Search:

Type: Posts; User: HomerJ

Search: Search took 0.00 seconds.

  1. yeh thats it mate sorry about posting the...

    yeh thats it mate sorry about posting the question just never searched the c libraries enough.

    cheers for the response though
  2. nevermind guys sorry i had never heard of the...

    nevermind guys sorry i had never heard of the find_first_not_of()

    derrrr.

    sorry for the hassle
  3. Scanning Strings till no white space is found?

    Hey Guys

    Have tried the forums but failed to find a solution.

    How can i scan a string lets say " homer1 = 2+1"
    so that i am given the position as an integer of the first...
  4. Replies
    4
    Views
    4,431

    guys ive tried both of those before, and i get no...

    guys ive tried both of those before, and i get no luck watsoever, for some reason this method is being very difficult but heres the error the compiler throws at me:

    'parseData' : cannot convert...
  5. Replies
    4
    Views
    4,431

    Converting const char to char array

    Hey

    I need to pass a string into a method:

    void parseData ( char data[] )

    however i can only convert the string to a const char as follows:

    const char* slk = knights.c_str();
  6. Replies
    3
    Views
    1,602

    Thanks mate!

    Thanks mate!
  7. Replies
    3
    Views
    1,602

    converting strings to ints

    Hey!

    Does anyone know how to convert strings to doubles in c++?
    Ive tried searching the forum but found no previous questions relating to this.

    Cheers guys
Results 1 to 7 of 7