albert
maybe a few years, maybe never
Ritik
Okay okay
Ritik
Thanks
Danya🔥
Anonymous
Anonymous
Jens Gustendt book is free and relatively decent, and also was not written in 1978
A hard read for a beginner to programming but. Beej's guide to C programming is updated for C23 and much easier for someone new to programming.
Anonymous
What about Stephen Prata?
For C programming yes. Don't read his books to learn C++ Check the resources section in the pinned post
COACH EXCELLENT
Hi
My Drive
hello sir
Danya🔥
Hi
What's this group about?
Danya🔥
hello sir
What's your favorite programming language?
Danya🔥
*Manual bot checking*
Ludovic 'Archivist'
A hard read for a beginner to programming but. Beej's guide to C programming is updated for C23 and much easier for someone new to programming.
I didn't like Beej's guide but I have not read the last version. There was some things that felt very red-flaggy when I read it last year
Anonymous
I didn't like Beej's guide but I have not read the last version. There was some things that felt very red-flaggy when I read it last year
I read a couple of sections in his latest book. Seemed ok to me. But if you have a specific topic that you would like me to check, I will definitely do it
Danya🔥
That was quick
Ludovic 'Archivist'
Anonymous
I loved the book. And I think you are referring to his treatment on type system and signed/unsigned representation. That section would be a hard read for someone who has not done much systems programming. But otherwise it has a treasure trove of information.
Anonymous
does a print version exist?
No. Only available online for free. You can print the pdf file if you want
Alex
I very like book "effective c++"
M
No. Only available online for free. You can print the pdf file if you want
thank you, I was reading the resources list: For the different categories (beginner etc.) are the resources in a random order or it’s better to start from the first listed?
Anonymous
thank you, I was reading the resources list: For the different categories (beginner etc.) are the resources in a random order or it’s better to start from the first listed?
No they are in random order and any one of those books would be a good start. You don't have to read all of them. Those in intermediate and advanced section however are all independent and can be all read in any order depending on your interests. For C++ intermediate section, stick to the order mentioned.
Dero
hi guys, i'm stuck on a problem that probably has a very obvious solution but i just can't get my head around it i have implemented in C using the pthread library what should be the solution to the philosophers-dinner-problem it just so happen that for some reason the only thread that runs is the first one (identified with 0) if it's ok i'll send the whole .zip (.tar.gz?) archive with 3 files (one header and two c files)
Dero
otherwise tell me the preferred way to share code on this group and i'll do it that way
Dero
https://onlinegdb.com/Oh86KMKR_
Dero
this website allows in-browser execution
Dero
just to be clear, the philosopher-dinner-problem is a problem where multiple threads (philosophers) attempt to access resources while they are not thinking. every thread has a thinking time and an "eating time" for wich they wait the resource to be acquired
Dero
i have a for loop in wich i create 5 threads but only the first (index 0) is actually alive for some reason
Dero
(i executed my code on local machine where i am sure that multithreading is active and the output is the same)
Dero
if you attempt to print something during the initialization of the philosopher (that means the first few lines of code in the procedure "philosopher") it actually just prints the first one, as if the others are not created at all
Dero
therefore it could be just syntax (i hope so)
Alex
Where is the code? It is a standard problem for the semaphore ipc
Ziky
In that link
Alex
I will look at the task tomorrow morning...😁
No one
I have a question, I am going to learn C++ and I'm thinking about paying to get the certificate, is the certificate helpful, will it help/matter in placement (btech with specialization in Cyber Security) ? If yes then from where should I get it. PS: i am from India so some certificates will matter more here while some others will matter less, i think. Thanks :)
No one
So the certificates don't matter at all ?
Danya🔥
The only possibly useful certificate is Microsoft Valuable Professional But you won't get it in a long time probably;)
No one
Oh ok
Med
Hello guys if someone interested in programing i wann practice some problem solving(discuss the solution) this summer with cpp and python if any one wanna join me DM is open 🙂
Dima
the best practice is to write own pet projects even if you don’t know how to
Med
Yeah of course , im a student and i just wann practice with someone to share our idea together ..
Dima
Well, I don’t want to because I am busy enough, but I can give you good advices: do not rush. Even if things are too complicated and you don’t know it at all, just try to google, search for it. But do not rush, let that all knowledge fill your mind even if you don’t understand it at first, you will eventually
Med
Thank you 🙏
Maxter
can anyone help in finding problem with this code(boolean parenthesization) ? https://hastebin.com/share/bivozebora.cpp {Here I have pasted the code}
Azadi
What are you going to do with that code?
𝔖𝔞𝔯𝔬
Guys I would like to understand a thing As I know the standard Boolean is not a 1 bit data type cause a single memory cell is 8 bits (1 byte), so to contain the information of one bit u basically using an unsigned char (a number) is that why in windows API TRUE and FALSE are defined as 1 and 0?
klimi
even with 1 bit you get 2 values "0" and "1"
Maxter
大豫竹爱好者
that's a DP question
If dp is difficult to understand, you can try a memorized dfs
Ziky
what do you mean by boolean parenthesization?
Could you add example of input and desired output?
Azadi
that's a DP question
Do you mean Dynamic Programming by 'DP'?
mito
Do you mean Dynamic Programming by 'DP'?
What else can it mean in a programming group 🌚 ?
Anonymous
density independent pixel =)
Azadi
What else can it mean in a programming group 🌚 ?
Anyway. I don't get the problem the OP is dealing with so not wasting my time for helping.
Lodovico
Hi guys , I want to connect to signalR through c++ client ! I've came around with a solution below : https://github.com/aspnet/SignalR-Client-Cpp but this solution got issues ! any thoughts ?
Shri
include <iostream> using namespace std; int main() { int age ; cin >> age ; char gender cin >> gender ; if (gender==F) { cout << "You can work in school" ; } else if (gender==M && age>=20 && age<40){ cout << "You can work in Urban area" ; } else if (gender==M && age>=40 && age<60) { cout << "You cannot work" ; } else { cout << "Error 404" ; } return 0; }
Shri
My code is not running in my laptop
Shri
Not this code , Every code which needs input is not running
Shri
Please somebody help
Sa
Error ?
M
does anyone has Misra C 2023 pdf?
Mitsuha
Hi everyone, I am using vcpkg with protobuf, but I found the protobuf on vcpkg is VERY OLD and contain a bug that makes my program works incorrectly. I am asking for help how can solve this problem. Thanks sincerely.
Alex
gender == 'F'
What about gender =='M'
Dima
bool isMale
M
.-.