User Profile

Collapse

Profile Sidebar

Collapse
KrisKris
KrisKris
Last Activity: Feb 5 '12, 05:40 PM
Joined: Oct 7 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • KrisKris
    replied to operation on files, replace data in C
    in C
    Hi donbock,
    Thanks for your reply.
    I do not have any documentations for the text file.
    the file is a subtitles for movie. format .txt
    thanks
    See more | Go to post

    Leave a comment:


  • KrisKris
    replied to operation on files, replace data in C
    in C
    Hi Johny,
    I not sure about ascii table.
    there are letters from different language then English.
    I have OS in English so when I try to use the text file some characters a displayed as above.
    thanks
    See more | Go to post

    Leave a comment:


  • KrisKris
    started a topic operation on files, replace data in C
    in C

    operation on files, replace data in C

    Hi,
    I have written a program in C to copy data from input file to output file and is works. Now I want to replace some data from input file before the data will be written to output file. see piece of code bellow
    [CODE]
    if (i == '¿')
    {
    i = ('z');
    }
    else if (i == '³')
    {
    i = ('l');
    }
    else if (i == 'œ')
    {
    i = ('s');
    }
    [/CODE}
    and so...
    See more | Go to post

  • KrisKris
    replied to printf errors
    in C
    Thank you guys very much.
    It will help.

    I am waiting for other explanation, also.
    Thanks
    Kris
    See more | Go to post

    Leave a comment:


  • KrisKris
    started a topic printf errors
    in C

    printf errors

    Hi there,
    I have to write simple programm and test what heppens when I incorrectly identify types for output.

    for example:
    main(){
    int a=5;
    printf("value is %f",a);
    }
    outcome of the print statement is 0.000000 instead of 5. why?

    - if use %d instead of %f
    outcome of the print statement is -1610612736 instead of 5.567, why?

    - if use %c instead of...
    See more | Go to post
No activity results to display
Show More
Working...