Search:

Type: Posts; User: mycount

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,610

    Oh,sorry,it is "scanf("%s"...)". But,the problem...

    Oh,sorry,it is "scanf("%s"...)".
    But,the problem was occured either used "scanf" or used "getchar".
  2. Replies
    4
    Views
    2,610

    where is "ch=getchar" or "scanf("%c",&ch)??

    #include <stdio.h>

    void call(int);
    static int s=0;
    int main(void)
    {
    int i;
    int flag=1;
    int count=1;
    char ch;
  3. Replies
    54
    Views
    4,434

    Yellow big.

    Yellow big.
  4. Replies
    54
    Views
    4,434

    As the word shown,A poke.

    As the word shown,A poke.
  5. Replies
    54
    Views
    4,434

    replace with "

    replace with "<"

    So funny............
  6. Replies
    54
    Views
    4,434

    But,whereve are you from?

    But,whereve are you from?
  7. Replies
    3
    Views
    1,579

    Yeah.I have a littel feeling in this.And so,I...

    Yeah.I have a littel feeling in this.And so,I want to ask the reason that it still did not run after I changed the code "scanf.." to "fgets(buffer,sizeof(buffer),stdin)".
  8. Replies
    54
    Views
    4,434

    if(diameter==0) goto again; again:...

    if(diameter==0)
    goto again;
    again: printf("input an invalid number\n");
    printf("diameter: ");
    scanf("%d",&diameter);
  9. Replies
    3
    Views
    1,579

    Quesetion on socket

    At first,present my major part of all codes.
    problem description:
    The main of the server accessed into endless loop after send welcome message to the client ,and then it print the string "[Server:]...
  10. Replies
    2
    Views
    1,495

    thanks, CordneBee.How supernatural!It is so fun.

    thanks, CordneBee.How supernatural!It is so fun.
  11. Replies
    2
    Views
    1,495

    question on key work "extern"(C prog)

    Hello,all.
    I have just writed a example for practice the key word "extern" which is used in aspect of function.
    I typed it in a file that named main.c and the codes are shown as in following.
    ...
  12. Replies
    1
    Views
    4,911

    why it cause a Segmentation fault?

    Hello,all.
    Following are codes.It 's function is to set RTC.


    #include <time.h>
    #include <stdio.h>
    #include <sys/time.h>
    #include <sys/ioctl.h>
    #include <fcntl.h>
    #include <unistd.h>
  13. Replies
    3
    Views
    5,588

    PS: The CRC initial value has been given in my...

    PS:

    The CRC initial value has been given in my document whic is 0000H and the standard is CCITT.However,I still do not understand of this "initial value".Is it a polynomial ? I guessed it is not...
  14. Replies
    3
    Views
    5,588

    thank you Salem

    thank you Salem
  15. Replies
    3
    Views
    5,588

    question on create a crc16 table

    hi,all.
    anybody who known or well known CRC arithmetic,could you tell me how to create a crc16 table.first at all,crc was initialized with 0000H.
    thanks very much.

    please forgive me that I ask...
  16. Replies
    4
    Views
    1,518

    en.... I am so sorry,but say thanks to you all...

    en....
    I am so sorry,but say thanks to you all the same.I will be better at next seconds. :)
  17. Replies
    4
    Views
    1,518

    question in CRC arithmetic

    hello,all.I am a fresh coder and have a question in CRC,so I have to post a thread to ask for help.
    In my programm,a CRC arithmetic has mentioned whick to check each command in commnication is right...
  18. thanks

    thanks
  19. the man who known a forum of Embedded Software Development ?

    Hello, all
    I will become a Embedded Software Engineer,so I want to know a forum which is a ......as the "title".
    thanks very much.
  20. Replies
    5
    Views
    1,672

    thanks Salem.

    thanks Salem.
  21. Replies
    5
    Views
    1,672

    please forgave i yet do not understand.is the...

    please forgave
    i yet do not understand.is the node "head" must have data?
    somebody could you tell me in details.thanks very much.
  22. Replies
    5
    Views
    1,672

    stack error occured in link list

    hello all.
    I don't know why it output twice in "Node-data[%d]",so irritancy!

    header file


    /* this a header file for list.c */
    /* file name: head-list.h */
    /* author:mycount */
    /*...
Results 1 to 22 of 23