Search:

Type: Posts; User: rveger

Search: Search took 0.01 seconds.

  1. Why it is so that the commented line prints: ssbasb and with return he prints: sab ?

    want to delete post, don't know how:S
  2. Replies
    13
    Views
    2,720

    I did that and it worked! Thank you

    I did that and it worked! Thank you
  3. Replies
    13
    Views
    2,720

    Thanks^_^

    Thanks^_^
  4. Replies
    13
    Views
    2,720

    In my attempt to make it use a string as input I...

    In my attempt to make it use a string as input I get very big values.

    Anybody sees where I'm going wrong?


    #include <stdio.h>
    #include <string.h>

    int main()
    {
  5. Replies
    13
    Views
    2,720

    I'm sorry Subsonics, my mistake with the input...

    I'm sorry Subsonics, my mistake with the input file! :redface:
    It works like a charm!!!

    /me very happy
  6. Replies
    13
    Views
    2,720

    I know it should be doing that, and it's weird...

    I know it should be doing that, and it's weird it's not doing that:S
  7. Replies
    13
    Views
    2,720

    Thank you Subsonics! It's a good approach, all...

    Thank you Subsonics! It's a good approach, all *'s are replaced with 111 now. The
    problem which stays is, the first 2 *'s (before the first '\n') should be replaced with 111 and the second(before...
  8. Replies
    13
    Views
    2,720

    I't quite messy:rolleyes: #include...

    I't quite messy:rolleyes:



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    unsigned int komma=0, kommaCount=0, count=0, count2=0, count3=0;
    void done(int);
  9. Replies
    13
    Views
    2,720

    replace char by string

    Hello everyone,

    I have char a, I want to replace the * by a number till \n occurs. So if there is no return all * must be replaced with 111, after 1 return all * must be replaced with 222, after 2...
Results 1 to 9 of 9