Author Topic: Need help with the copy string function in Codeblocks  (Read 7992 times)

sudama35

  • Guest
Need help with the copy string function in Codeblocks
« 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Need help with the copy string function in Codeblocks
« Reply #1 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.
« Last Edit: May 06, 2011, 06:52:14 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org