Anonymous
Whyy
Anonymous
Software arch is all theory
Anonymous
I mean shall i choose advance algorithm or software architecture
John
What is that
Anonymous
🧐
Anonymous
Its hard
Anonymous
I want to know pros
klimi
wtf is going on here
Anonymous
If i see there's is more scope in algorithm but its difficult
Abenezer
White hat hacker
Anonymous
Will it take time
Aman
Will it take time
Go for algorithm
вадим
Hello ... I need to know something. Take a look at this piece of code below: int main (int argc, char** argv){ int user_age = 0; printf ("Your age please:\n"); scanf ("%d",&user_age); printf ("You're %d\n"); return 0; } So, my question is. It's possible to use any other function instead of "scanf" in this case to get an integer from user?🧐 I'm asking this because I have read somewhere that "scanf" isn't safe ...
Dima
scanf is much more safe than getc
John
Learning C, found stuff unsafe. Forget C
вадим
getc is for taking only one digit or character 🤔
I said this case getting an integer...
вадим
Learning C, found stuff unsafe. Forget C
That's not the topic buddy. ..
Dima
wtf is happening these days, devs are hating C because they failed much in it or what
Dima
c is cute
John
C is cancer
klimi
im bad
вадим
That's not the topic buddy. ..
Just enlight me if you have the answer
John
C++ is the fix of C language
Dima
or kinda not
вадим
C++ std::cin
That's C++, my question is focused on C
BinaryByter
just don't use C
John
This
John
Use assembly
BinaryByter
Use assembly
C++°
John
Well learning good habits is good
Dima
whoever hates c just can’t overpower it lol
John
But scanf on ints? Don't think it's bad
вадим
just don't use C
Okay, but for now enlight me..
John
Enlight?
John
Why does he tell us what to do. Don't this. Do this
вадим
Use assembly
Later, after C
John
Hate those people
Petersen
my brother just gave me a iphone 4 that he forget his passcode and there is no way i can log into it do you have any idea?
Dima
you can use tor “services” to find someone who will unlock it for around ~15$
Dima
that bro though, sounds like a naive stuff
Ludovic 'Archivist'
scanf is much more safe than getc
UNIX write is even safer
Dima
Dima
I agree
Ludovic 'Archivist'
I generally prefer using system calls and avoid ANY FRIGGING FORMAT FUNCTIONS FROM C BECAUSE THEY ARE HELL
Dima
wise words
Shakhzod
Is there anyone from tashkent?
Anonymous
UNIX write is even safer
How is write an alternative to scanf?
Dima
> read from stdin
Anonymous
> read from stdin
Well yeah read can do it
Anonymous
I pretty much always use read and write, but then I need to print an integer, and itoa isnt a thing for some reason
Ludovic 'Archivist'
How is write an alternative to scanf?
Sorry, here it would be read
Anonymous
Sorry, here it would be read
Do.you use read and write on sockets aswell?
Ludovic 'Archivist'
That is the point of them
Anonymous
Yeah
Seriously?
Anonymous
But then you cant use flags
Anonymous
So you write to a socket as it gets closed by the peer and wham your program gets killed with a signal 13
Ludovic 'Archivist'
I generally use raw sockets mostly for toy projects so that is never an issue
Ludovic 'Archivist'
For real world, I generally use the likes of libevent
klimi
Hi
Mat
Hi
Hey!
klimi
Hey pal Mat
Petersen
hello mates my brother just gave me a iphone 4 that he forget his passcode and there is no way i can log into it do you have any idea?
klimi
Hmmm
klimi
https://www.google.cz/search?q=iphone+4+unlock&oq=iphone+4+unlock&aqs=chrome..69i57j0l3.4965j0j4&client=ms-android-xiaomi-rev2&sourceid=chrome-mobile&ie=UTF-8
Mat
Welcome :)
Anonymous
wtf is happening these days, devs are hating C because they failed much in it or what
well , C have some security concerns .. and some kind of over use of DIY principle and it doesn't have generics / templates or smth like'em I like C , but C has its scope which can't get outta it can't rely on it in the high level developement , like yk .. GUI applications and stuff like that C developement afaik requires a lot of efforts to get the things done on both sides ( quality and security ) not so sure about anyway ( I'd appreciate to correct me if I am wrong )
BinaryByter
C isnt as modern, isnt as safe, isnt as clean, isnt as fast, isnt as clear of intent
Anonymous
c is cute
sometimes the things get odd .. the unexpected behavoir could be a little tricky at somepoint ig