Search:

Type: Posts; User: john runchey

Search: Search took 0.01 seconds.

  1. Good point - too early in the morning for coding...

    Good point - too early in the morning for coding :)
  2. Replies
    3
    Views
    1,655

    This might give you some ideas. It isn't complete...

    This might give you some ideas. It isn't complete by any means, but is a general approach.



    char numerals[80];
    int numeralCount,i;
    int firstValue,secondValue;
    scanf("%s",numerals);...
  3. Replies
    5
    Views
    2,575

    As the poster said: ...

    As the poster said:




    strcpy(data.message,"AAA");



    This copies the string AAA into data.message, and appends the null at the end of the 3 characters.
  4. strcpy(testString," now I am...

    strcpy(testString," now I am learning programming");

    char * tmp = testString;
    int i;

    while (*tmp == ' ') {
    *tmp++;
    }
    i = 0;
    while (*tmp != NULL) {
Results 1 to 4 of 4