Hello World и ошибка "This function or variable may be unsafe. Consider using strcpy_s instead" - C++ - Обсуждение 1246701 |
|
Обсуждение
Всего сообщений: 12
|
||||
Имя | Дата | Сообщение | ||
Читать обсуждение полностью: Hello World и ошибка "This function or variable may be unsafe. Consider using strcpy_s instead" |
||||
FIN7 | 24.08.2014 21:41 |
https://www.cyberforum.ru/post6546495.html
int str()
{
char str21;
char str1 = "Hello World";...
|
||
Jewbacabra | 24.08.2014 21:45 |
https://www.cyberforum.ru/post6546514.html
добавь в самое начало
#define _CRT_SECURE_NO_WARNINGS
|
||
Gygocopter | 24.08.2014 21:48 |
https://www.cyberforum.ru/post6546523.html
FIN7, это в VS просит использовать strcpy_s вместо strcpy....
|
||
FIN7 | 24.08.2014 21:49 |
https://www.cyberforum.ru/post6546529.html
Jewbacabra, у меня потом ошибку выдает при запуске
|
||
Gygocopter | 24.08.2014 21:50 |
Решение https://www.cyberforum.ru/post6546532.html
FIN7, char str21;
|
||
Galbator1x | 24.08.2014 21:51 |
https://www.cyberforum.ru/post6546535.html
У меня такая же ошибка
не помогло
|
||
_Ivana | 24.08.2014 22:00 |
https://www.cyberforum.ru/post6546565.html
Может поможет изучение чем в С строка отличается от массива...
|
||
Alex5 | 24.08.2014 22:22 |
https://www.cyberforum.ru/post6546646.html
char arr = "ab"; // Массив arr состоит из 3 элементов...
|
||
sourcerer | 24.08.2014 22:31 |
https://www.cyberforum.ru/post6546672.html
Galbator1x, там ещё одной "ячейки" в массиве не хватает в...
|
||
BlackIce | 24.08.2014 22:35 |
https://www.cyberforum.ru/post6546683.html
У меня все работает:
1) Вы забываете, что строка...
|
||
Hrollo | 24.08.2014 22:36 |
https://www.cyberforum.ru/post6546687.html
возможно вместо int str() надо написать int main()
|
||
КОП | 24.08.2014 23:57 |
https://www.cyberforum.ru/post6546884.html
Проект->свойства проекта->С/С++->Препроцессор->Определения...
|
||
|
||||
Similar |
Ошибка error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead Не получается пофиксить C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead Выдает ошибку: error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead Ошибка 'wcscat': This function or variable may be unsafe |
|||
Ads |
|
|||
MoreAnswers |
Ошибка программы: This function or variable may be unsafe Ошибка 'fopen': This function or variable may be unsafe Ошибка C4996: 'gets': This function or variable may be unsafe Ошибка: 'strcpy': This function or variable may be unsafe Ошибка C4996 'strcpy': This function or variable may be unsafe Ошибка 1 error C4996: 'scanf': This function or variable may be unsafe Ошибка 1 error C4996: 'fopen': This function or variable may be unsafe |
|||