+ 1
Âż"gets" ya no se usa? "gets" isn't used?
He escrito un cĂłdigo en C con la instrucciĂłn "gets" y me sale error. Acabo de descubrir que esa instrucciĂłn era vĂĄlida antes del C89, pero ya en el C99 ya no era vĂĄlida. ÂżNo deberĂan actualizar el tutorial? I have written a C program and it shows mw an error. The "gets" instruction was depreciated in C99? Must the tutorial updates?
2 Answers
+ 2
Yeah gets is not standard function its removed from c / cpp may be in some older version compiler like turbo borland it will work but in moder Compiler i will give u warnings and error instead of this u can use fgets or getline in cpp