+ 1

Gets() and puts()... header file for these functions :/

stdio is not working ... so what's the right file to include

12th Aug 2017, 4:23 PM
syscall
syscall  - avatar
4 ответов
+ 4
Try using cstdlib or cstdio...
28th Aug 2017, 11:50 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
uhh but stdlib.h isn't working here ... damn it
13th Aug 2017, 3:51 AM
syscall
syscall  - avatar
0
Those functions are from C standard library. You have to include stdlib.h to use them but it's recommended to use getline() instead. Getline is C++ "native" function and it's just better to use it.
13th Aug 2017, 3:42 AM
Grzegorz Skryty
Grzegorz Skryty - avatar
0
can you post here all your code? What type of error is raised?
15th Aug 2017, 10:27 PM
Grzegorz Skryty
Grzegorz Skryty - avatar