Search:

Type: Posts; User: Isotopes

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,446

    how about the character after the insertion string, it doesn't push backwords...

    Thanks for your reply, the programe you did is much better and neater compare to mine except that the add string will copy over the original string.

    What I did here is to create a temp array to...
  2. Replies
    4
    Views
    2,446

    string insertion into another string....

    Sorry... another post... I'm so sick of tired of doing my C programming assignment. When will I achieve the level of your programming skill....

    Here is the programe, and fatal error on the while...
  3. Genius !!!! Really thanks a lot...

    Really thanks for your help... my life saviour... :) *kiss*

    But how come with that extra line it make so much different ???



    while(getchar() != '\n');


    and when I run the programe, the...
  4. yeah I know.. I can run the function... but when...

    yeah I know.. I can run the function... but when I impliment into my programe with many other functions together (as the file attached there)... that's when the problem come... I don't...
  5. still got problem.. help....

    Why is it when I run the sub function programe is prefrectly fine but when I impliment it to the main programe it simply skip the input part... the fgets command....

    here is the programe:



    ...
  6. How about the punchuation ??? It will eat the words away!!!

    :( But but.... A search of sub-string "Hello!" (includind the !) in the string "Hello! World!" will only return 'Hell' and the Hello is at the begning of the string, or is it the strstr function can...
  7. Unable to display the strstr result if the sub-string is at the end of the string....

    I'm stuck again, why am I unable to display the last character of the sub-string when the sub-string is located at the end of the string? I thought a NULL character is automatically appended to the...
  8. quarry...

    why fget is used instead of get?? Will that affected the rest of the function (which I have not pasted it there....)




    and why I can't use sizeof.

    Strange enough, when I run the...
  9. Question... Help... and Desperation.....

    Thanks for Prelude's reply really appricate a lot.. however, when I try to impliment into my programe with the functions, it have general protection exception error. :( and the programme halt. I...
  10. to Reverse the words in the string... help.. I just can't see the error...

    I want to make a string to reverse the words but remain the words position the same.. (if input is "Hello world haha", the output should be "olleH dlrow ahah"), what should I do.. can I use the...
Results 1 to 10 of 10