Search:

Type: Posts; User: Lolcoman

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    215

    conditions array, string

    I want to number (compute 10) into char for example [1] and conditions if it smaller return 1 else return 1. If you know what i mean? I select lenght char [1] and when i compute string 100+100=200 i...
  2. Replies
    6
    Views
    329

    I want to number (sum 10) into array for example...

    I want to number (sum 10) into array for example [5] and if it smaller return 1 else return 1. If you know what i mean? Thank
  3. Replies
    6
    Views
    329

    Thank you very much! Why can i use this terms? ...

    Thank you very much! Why can i use this terms?


    printf("result: %d\n", sum);//vypsaní vysledku

    int pole[]={sum};
    if (pole < 1)
    {
    printf("1");
    }
  4. Replies
    6
    Views
    329

    Ok, thank you. Can you help in source code? How...

    Ok, thank you. Can you help in source code? How would you write it?
  5. Replies
    6
    Views
    329

    Count numbers in string

    Hello, can you help me, how can i count numbers in string, for example "60 10" if i want result 70?


    int main() {

    char r[5];
    int v;

    v = total("60 10", r, 5);
    if (v) {
Results 1 to 5 of 5