Helpcant compile sauce. help.

Posts 1–15 of 15 · Page 1 of 1
replace strcpy to strcpy_s
Quote Originally Posted by SP1K3CSGO View Post
replace strcpy to strcpy_s
http ://prntscr.com/bugv7q
idk
sry for being retarded
Quote Originally Posted by script kiddy View Post
http ://prntscr.com/bugv7q
idk
sry for being retarded
Just change it back to strcpy and add a #define _CRT_SECURE_NO_WARNINGS at the top.
Quote Originally Posted by WasserEsser View Post
Just change it back to strcpy and add a #define _CRT_SECURE_NO_WARNINGS at the top.
at the top of the void http ://prntscr.com/buhroe
or the entire cpp?
pls forgive me for not being able to compile simple things. i just installed vs 15 and tried to compile. idk if i need to download anything for vs 15 to make this work.
Quote Originally Posted by script kiddy View Post
at the top of the void http ://prntscr.com/buhroe
or the entire cpp?
pls forgive me for not being able to compile simple things. i just installed vs 15 and tried to compile. idk if i need to download anything for vs 15 to make this work.
You can either do it above the function where the function strcpy is referenced or at the top of the file.
Even better would be if you go to the project settings->C/C++->Preprocessor and add it to the Preprocessor definitions.
Quote Originally Posted by WasserEsser View Post
You can either do it above the function where the function strcpy is referenced or at the top of the file.
Even better would be if you go to the project settings->C/C++->Preprocessor and add it to the Preprocessor definitions.
ok i added it into the Preprocessor definitions. http://prnt.sc/buhy32
Then i cleaned it and rebuilt it and got this. it didnt show any errors, warnings, or messages. http://prnt.sc/buhxpm
Quote Originally Posted by script kiddy View Post
ok i added it into the Preprocessor definitions. http://prnt.sc/buhy32ⓘ
Then i cleaned it and rebuilt it and got this. it didnt show any errors, warnings, or messages. http://prnt.sc/buhxpmⓘ
If you add a definition to the preprocessor definitions, you must not use #define.
Any # is a preprocessor directive within your code. Since you're editing the preprocessor defines directly, ommit the #define
Quote Originally Posted by WasserEsser View Post
If you add a definition to the preprocessor definitions, you must not use #define.
Any # is a preprocessor directive within your code. Since you're editing the preprocessor defines directly, ommit the #define
http ://prntscr.com/bui2bk
Quote Originally Posted by script kiddy View Post
http ://prntscr.com/bui2bk
Click on the Keep Comments dropdown and select no. You have a space after it.
Quote Originally Posted by WasserEsser View Post
Click on the Keep Comments dropdown and select no. You have a space after it.
thanks my dude. is there a way i can rep u or something?
Quote Originally Posted by script kiddy View Post
thanks my dude. is there a way i can rep u or something?
There is no need to do so
Or define _CRT_SECURE_NO_WARNINGS.
syntax OMFG!
/Solved & closed.
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us