Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: sudama35 on May 06, 2011, 05:58:36 pm

Title: Need help with the copy string function in Codeblocks
Post by: sudama35 on May 06, 2011, 05:58:36 pm
Hi there. I have to find a way to use the strcpy function in the code blocks editor. I have already included the <string>. I am getting an error when I use the following:
strcpy(film,"Jim Lang");
The error window is telling me that the strcpy was not declared. Kindly help. Thank you.
Title: Re: Need help with the copy string function in Codeblocks
Post by: stahta01 on May 06, 2011, 06:48:29 pm
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F

For help using C/C++ use sites like http://cboard.cprogramming.com/cplusplus-programming/
For help using you compiler; figure out the name of your compiler and Google it for help.
Turn on Full Compiler logging: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F


Tim S.