+ 4
In C language ,what happens if we dont use #include<stdio.h>
if we dont use <stdio.h>,wt happens
18 odpowiedzi
+ 13
There's a slight chance that Windows will uninstall itself.
+ 10
I think gets() became obsolete.
+ 9
Try doing it.
And see what happens
+ 6
@Hatsy
@Martin
Thank you for explaining!
Also this is a strange thread I looked into embeding C in C# before and found nothing in the past.
The all classes thing in C# does not help either.
+ 3
In C language if we don't include stio.h the compiler will automatically include it...
but in c++ it's an error
+ 2
you can't use stdio functions :p
+ 2
i saw your code
1. you are in the C Sharp section, you should code in C++
2. you forgot two semicolons
3. gets and printf are stdio functions and you don't include stdio.h
4. strlen is a function of string.h
+ 2
@Hatsy
lol😹
+ 2
C gets(); does not prompt an input on sololearn.
+ 2
you can't do anything related to input output..
+ 2
gets () was deprecated, but there is the fgets () function where you can specify the max lenght of the array, you should write stdin to get the input from keyboard, also work with files
+ 1
really no
stdio is just a header file with the standard input/output functions and many other things
you can code without stdio, but you can't use its functions
+ 1
@Sumita
printf(); and puts();
compiles, it seems like it is just gets().
gets() does not open the prompt
+ 1
yes @Manual ... you are right
+ 1
u cannot be able to use it's functions
0
compilation will not be successful and we get errors....is it correct