News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compile with curses.h

Started by luckymancvp, February 22, 2009, 07:08:54 AM

Previous topic - Next topic

luckymancvp

 How to me compile code with curses.h. Console command: gcc -g <file.c>  -lcurse.  How to add extend "-lcurse"
Please help me.

ollydbg

Quote from: luckymancvp on February 22, 2009, 07:08:54 AM
How to me compile code with curses.h. Console command: gcc -g <file.c>  -lcurse.  How to add extend "-lcurse"
Please help me.
Menu->Project->build options.

Then in the "Linker setting"

You can add it to "Other linker options".
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

luckymancvp

Oh, thanks you very muck. Thanks , thanks, thanks.
You don't know I have done this project  for 3 days, but I have nothing.

Thanks, thanks

ollydbg

Quote from: luckymancvp on February 22, 2009, 09:31:24 AM
Oh, thanks you very muck. Thanks , thanks, thanks.
You don't know I have done this project  for 3 days, but I have nothing.

Thanks, thanks
Welcome to this forum!
You are welcome!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.