Search:

Type: Posts; User: liyanhong

Search: Search took 0.00 seconds.

  1. How to convert float to string without using sprintf()

    EX:
    float a = 88.88888;
    char *s = "88.88888"

    ps: how to write float into binary file and how to read it?
  2. Thread: why is wrong

    by liyanhong
    Replies
    6
    Views
    1,126

    Thanks, I konw the question is extremely...

    Thanks,
    I konw the question is extremely silly, but that's a friend asking for me , but I coundn't answer.
  3. Thread: why is wrong

    by liyanhong
    Replies
    6
    Views
    1,126

    why is wrong

    int a , *p;
    double b=10.23;
    p=&(int)b;
  4. Replies
    10
    Views
    2,744

    Of corse, but I want a more detailed explanation....

    Of corse, but I want a more detailed explanation.

    I know !0 is equivalent True, 0 is False. !0 is what value in relational operators
    compared, which is confuse me indeed

    hehe,
  5. Replies
    10
    Views
    2,744

    Of corse, but I want a more detailed explanation....

    Of corse, but I want a more detailed explanation.

    I know 0 is equivalent True, !0 is False. !0 is what value in relational operators
    compared, which is confuse me indeed.
  6. Replies
    10
    Views
    2,744

    what' value relational operators returned

    See, following code

    if (a = 5 > 4)
    ;

    we know 5 > 4 is True, but True's value is What? Is that 1 ?
  7. Replies
    13
    Views
    11,296

    Thank you, I will always come to study here...

    Thank you, I will always come to study here later.
  8. Thread: Fibonacci

    by liyanhong
    Replies
    25
    Views
    5,584

    Actually, F(58) will beyond the 'int' can store.

    Actually, F(58) will beyond the 'int' can store.
  9. Replies
    4
    Views
    851

    Nomally, I like use following code to build...

    Nomally, I like use following code to build program frame
    //#define BLUEGUY_MARK

    #ifdef BLUEGUY_MARK

    #define chSTR2(x) #x

     #define chSTR(x) chSTR2(x)

     #define chMSG(desc) ...
  10. Replies
    4
    Views
    851

    Why I post a new message? I just post it in that...

    Why I post a new message? I just post it in that top theme
  11. Replies
    4
    Views
    851

    How to use color keys ?

    I want to ask a question: How to use color keys ? I never hear it before!!

    I used vs2005 , and the operating system is Windows XP
  12. Thread: Fibonacci

    by liyanhong
    Replies
    25
    Views
    5,584

    #include #define N 8 int...

    #include <stdio.h>
    #define N 8

    int main(void)

    {

    int F[46] = {0, 1};

    int i;
  13. Thread: Fibonacci

    by liyanhong
    Replies
    25
    Views
    5,584

    My English is poor, so I post code directly ...

    My English is poor, so I post code directly



    #include <stdio.h>

    int main(void)

    {
  14. Replies
    35
    Views
    7,222

    See DistributionCounting, But it not useful

    See DistributionCounting, But it not useful
  15. Replies
    13
    Views
    11,296

    Thanks

    Thanks
  16. Replies
    13
    Views
    11,296

    where the "String literals" store in ?

    EX:
    char string[50] = "liyanhong";

    I konw 'string' will store in where called the Stack, but the String literals "liyanhong" where does it store ?

    My English is bad, please don't mind
  17. Replies
    9
    Views
    1,414

    That's maybe two direction link list This is...

    That's maybe two direction link list

    This is my first post!

    I‘'m from China and my English is bad……

    Do you understand what I say??
Results 1 to 17 of 17