| ²é¿´: 331 | »Ø¸´: 0 | ||
1312758691гæ (СÓÐÃûÆø)
|
[ÇóÖú]
×Ö·û´®¸´ÖƳö´í
|
|
C++´úÂëÈçÏ£º #include <iostream> #include <string.h> using namespace std; int main() { char a[8] = "ahusyes"; char b[4] = "ABC"; strcpy(a, b); cout << a << endl; return 0; }; ÔËÐÐÌáʾһϳö´íÐÅÏ¢£º 1>d:\program_files\microsoft visual studio 13.2\projects\study\study\study.cpp(9): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program_files\microsoft visual studio 13.2\vc\include\string.h(112) : ²Î¼û¡°strcpy¡±µÄÉùÃ÷ ÇëÎÊÕâ³ÌÐòÔõôÐ޸IJÅÄÜÕýÈ·ÔËÐУ¿±¾ÈËС°×£¬×îºÃ½âÊÍÒ»ÏÂstrcpyÕâ¸öº¯ÊýµÄÏêϸÓ÷¨¡£Ð»Ð»£¡ |
» ²ÂÄãϲ»¶
085600£¬²ÄÁÏÓ뻯¹¤321·Ö£¬Çóµ÷¼Á
ÒѾÓÐ13È˻ظ´
311Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
348Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
0805Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
266·Ö£¬Ò»Ö¾Ô¸µçÆø¹¤³Ì£¬±¾¿Æ²ÄÁÏ£¬Çó²ÄÁÏרҵµ÷¼Á
ÒѾÓÐ3È˻ظ´
385·Ö ÉúÎïѧ£¨071000£©Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
²ÄÁϵ÷¼Á
ÒѾÓÐ3È˻ظ´
Ò»Ö¾Ô¸±±½»´ó²ÄÁϹ¤³Ì×Ü·Ö358
ÒѾÓÐ9È˻ظ´
311Çóµ÷¼Á
ÒѾÓÐ12È˻ظ´
319Çóµ÷¼Á
ÒѾÓÐ11È˻ظ´














»Ø¸´´ËÂ¥
120