Anonymous
Can anyone will tell me difference between fgets and gets..
olli
Can anyone will tell me difference between fgets and gets..
you can specify where to read from usingfgets, addiotionally an upper bound size can be provided to prevent memory access errors See also: https://en.cppreference.com/w/cpp/io/c/fgets https://en.cppreference.com/w/cpp/io/c/gets
Anonymous
Can someone can give some links from where I can get to know about from basic to advance level in files in C...
Anonymous
struct in_addr * addr; inet_aton("192.168.0.1", addr); /*how to print addr*/
olli
Can someone can give some links from where I can get to know about from basic to advance level in files in C...
If you want to do IO operations in C you can have a look at cppreference [1]. All functions, headers and types defined by the C programming language are described there. In many cases examples are present as well. [1] https://en.cppreference.com/w/c/io
olli
struct in_addr * addr; inet_aton("192.168.0.1", addr); /*how to print addr*/
What do you expect to be printed? in_addr stores the value most likely as 32bit integer. You can convert the address back to text representation by using inet_ntop or inet_ntoa.
Errol
There is barely a reason to use global variables.
Found the solution. Gotta use C structures.
Anonymous
A character enter to the keyboard write a program determine whether is a capital letters, a small case letter a digit or a special symbol
Anonymous
Stefan
https://www.youtube.com/watch?v=25f2IgIrkD4
Prometheus
Drivers allow the kernel and hardware to talk to each other.
Anonymous
sasghjk7
Sai Kumar
Can you please send me basic programs of c
Sai Kumar
I am a beginner
BinaryByter
BinaryByter
Can you please send me basic programs of c
/warn read the rules for a second time
Dima
> first warn
Dima
> for a second time
bhai
bhai
Plz solve this problem
Ибраги́м
https://www.youtube.com/watch?v=L8Egig4qH0I
Ибраги́м
Plz solve this problem
Please how much will you pay me
Ибраги́м
Sir,
Ah,
bhai
Nhi ban sakta hai jee
bhai
Aap se
bhai
Important question hai bhai
bhai
Mid semester me aane wala hai jee
Ибраги́м
Nhi ban sakta hai jee
English English
BinaryByter
Nhi ban sakta hai jee
/warn read the rules a blittle bit more
BinaryByter
Important question hai bhai
/warn help him read the rules
BinaryByter
Plz solve this problem
/warn listen to them reading please
Ανδρέας 🇮🇹
indians
Ανδρέας 🇮🇹
intelligent
Ανδρέας 🇮🇹
choose one
Shivam
indians
He isn't Indian, he's from Pakistan
Ανδρέας 🇮🇹
Pakistan = Indians that are muslim
Ανδρέας 🇮🇹
India = Indians that are hindu
Shivam
Rip your logic bruh. Nvm no ot
Shivam
#ot
Anonymous
Umm
Dima
/warn Adv
Shivam
Lol
Dima
my second one!1!
Shivam
Kids these days tryna be hacker 😂😂
Dima
Kids these days tryna be hacker 😂😂
So naive.. not only kids lol
Anonymous
struct a * mya; void my(struct a); /*can i pass mya into my ?*/
Ariana
yes
Anonymous
Shivang
Is it okay to say a class is like struct with a extra feature of struct can now store function aka method
Ariana
EWWWWWW
Ariana
thoiwantone
BinaryByter
stop being so cringeworthy
BinaryByter
your OS?
BinaryByter
the one that comes with mac?
BinaryByter
brew tap gcc_g++
BinaryByter
i think
Ariana
what does inet_aton require as param i kinda forgot mdr but usually its like void foo(struct thingy *f00){return;}
Ariana
lul what
Ariana
screw mac come use kali
BinaryByter
screw mac come use kali
don't make me teach him how to use that ;_,
BinaryByter
PLEASE
BinaryByter
FIX YOUR CODE
BinaryByter
how about
BinaryByter
you show us your error?
Ariana
i get seg fault
Ariana
it says core dumped
Ariana
i think its line 42697325
Ariana
pls debug
Ανδρέας 🇮🇹
BinaryByter
lmao
Ariana
dude then just download from online or smt also tf wchar?
Ariana
wait are you including ios.h
William
go to termail and do a grep search for the file
Ariana
why not switch to linux or never use ios.h