Elnee
I did. Is it meaning K&R classics, or I missing something?..
I didn't. Is it good or I should read something newer?
Anonymous
I got K&R
Anonymous
Anonymous
...outdated definitely
Anonymous
+ posix
Elnee
+ posix
I love Unix
Anonymous
+ Peter van der Linden,if I pronounce correct
Elnee
...outdated definitely
But it is good to understand the language better and deeply, yes?
BinaryByter
>"pronounce" >in a chat
Anonymous
0x13f2be4e4ea71d192e2b2268f7af3d055c80e602
Elnee
It is not so deep language
I always thought that it's very complicated
Elnee
+ Peter van der Linden,if I pronounce correct
Did you mean "Expert C programming" book?
Anonymous
Lmao
Try to develop your own lib with containers, algorithms and so on... Make it thread- safe ...
Anonymous
Wanna pain or have special conditions for your app?
Elnee
I know, programming in C is pain
Elnee
Try to develop your own lib with containers, algorithms and so on... Make it thread- safe ...
I have task in university to develop simple dynamic library. I'll do it in C++ for Linux.
Anonymous
I always thought that it's very complicated
You'd better study PC arch, OS... So. C has pitfalls and slippery spots, and it leads you to better understand of whole process. It is one of the most popular lang. currently. I liked to read GNU/Linux kernel. A lot of C )
Elnee
I recently did it for Windows. But Windows sucks. DLL functions should be C type due to portability between applications. As far as I know you can return C++ objects from Linux .so libs.
Elnee
You'd better study PC arch, OS... So. C has pitfalls and slippery spots, and it leads you to better understand of whole process. It is one of the most popular lang. currently. I liked to read GNU/Linux kernel. A lot of C )
Cool! I recently tried to fix one bug in gnome-disk-utility (written in C). Unfortunately I didn't solve the trouble, but it was very interesting to read. GTK has handy macros for endless pointers casting 😂
Anonymous
I know, programming in C is pain
if you were at my job position, ANSI C would be the only option. Time goes by, and you start to love C.
Elnee
If seriously I am understanding you. We get used to our tools.
Anonymous
It's Stockholm syndrome
It is GPU driver dev. for civil avionics. DO-178C. Read somehow.
Anonymous
I don't wanna do it.
...Can make a simple GDB clone. Useful.
Elnee
Yeah! Less chat more coding. Start right now.
Good motivation :D So I will take a nap and continue writing my poor transpiler. Thx you for conversation.
Anonymous
What am I tellin?.. Take Python or Java, and the knowledge of pain will come to you less likely
Dima
Lol.
Anonymous
Is there a "emo-gothic-programmer" group somewhere in the Telegram aimed for nagging and complaints? It could be used as a psychological first aid for exhausted ones.
Anonymous
My present mood, and a bit of opaque suggestion.
🐰🐾 سمیه
What's the difference between this and the other group? @programminginc What OT means?
Anonymous
It's really nasty code if I'm honest
Mandelbröt
Here is the question
Mandelbröt
🐰🐾 سمیه
Off topic
Sorry 🙏 🌷
Mandelbröt
Mat
Hey no one is here to solve it ....!!!
Stop spamming your problem
Mandelbröt
Why ???
Anonymous
Why ???
Because it's annoying
Mandelbröt
I may discuss it
Mandelbröt
If its beyond ur ability
Mandelbröt
Don't give a rrply on it
Mandelbröt
If anyone here for my help ... He will text ....
Anonymous
I have a question, https://pastebin.com/sWG9mg2k. This code gives floating point exception if you run it as it is. But if you comment out lines 55-57, it runs fine. My question is 1) why does commenting out lines 55-57 works out, 2) if these lines are actually the reason for the error then why didnt lines 36 and 54 print anything?
Anonymous
*ended up asking two questions*🙈
Mandelbröt
I have given the question statement as well
Anonymous
My guess, is that you are indexing outside of the array of your arrays
I was also thinking the same thing but in line 56 i is guaranteed to be within limits
Anonymous
Even if line 56 is the cause then before executing it shouldn't lines 36 and 54 get printed?
Raul
that suggests that your for loop is broken
Anonymous
broken in the sense?
Mihail
Hey no one is here to solve it ....!!!
We aren't here to do your assignments, you know?
Raul
yes: vector<ll> cipher(l+1, 0), dec(l, 0);
Mihail
Ask a question and we'll help you
Raul
try printing out i and see what happens
Anonymous
Raul
no, line 30 for loop
Anonymous
ok
Raul
if you aren't getting to the print statement in line 36, then your for loop must be broken.
Raul
also this: for(i=0; i<l; i++), instead of going from i to l, you should be doing i to dec.size();
Anonymous
did the changes heres the output
Raul
Notice how 2 didn't get printed?
Raul
Now right before you start the loop, do cout << l;
Anonymous
yeah, it obviously should have printed it
Anonymous
heres it is