Search:

Type: Posts; User: hkuser2001

Search: Search took 0.01 seconds.

  1. How do I know which function requires a '-lsomething'?

    Dear all,


    If I use the math functions like 'sqrt', I need to compile with '-lm'.
    However, for example, using the function 'socket', does not require '-lanything'.

    So, how do I know which...
  2. Replies
    2
    Views
    1,106

    Hi major_small, No doubt my contribution to...

    Hi major_small,

    No doubt my contribution to this board is still "zero", as I only started C a few weeks ago. But I have no access to systems other than Linux, so I hope someone could help. My...
  3. Replies
    2
    Views
    1,106

    Please help compile this program

    Dear all,


    I finished a open source program on Linux. Many thanks to the community using this board. You are of great help!

    Now I want to test its portability to other systems, but I only have...
  4. Replies
    7
    Views
    4,382

    Thank God (of the C) and everybody! Now I know...

    Thank God (of the C) and everybody! Now I know what to do.
  5. Replies
    7
    Views
    4,382

    Thanks for the quick responses! I am talking...

    Thanks for the quick responses! I am talking about the program exited, no other instance running.

    I asked this question as I am new to C, and I cannot find document/guides that tell me on exit the...
  6. Replies
    7
    Views
    4,382

    OS out of memory if malloc without free?

    Dear all,

    If a C program malloc'ed some memory, but somehow exited without calling free(), will the malloc'ed memory be freed by the OS automatically?

    If the answer is no, then does it means...
  7. HELP: which lang to learn for embedded device?

    Dear all,


    I want to port a perl script(written by me) to C or C++ for embedded device like ADSL router, IP Camera...etc. What the script does is login a server and update the IP address of a DNS...
Results 1 to 7 of 7