Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Not using strncpy

I translated a procedural environment scounix+gcc
Cc compiler with no problem.

I now embedded in a kind of procedure, I used gcc compiler, has reported :
`strncpy 'Can not be used as a function
For unknown reasons, expert help

Not using strncpy

";>; Embedded in a category
C + + Compiler is your code? Why not try Linux?

If c is the C + + embedded inside, try adding
#ifdef __CPLUSPLUS
Extern "C" (
#endif

Is not enough, I do not know :) downstairs in the answer.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com