albert
maybe a few years, maybe never
Ritik
Okay okay
Ritik
Thanks
Danya🔥
Alex
Anonymous
Προμηθεύς
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
Anonymous
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'
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.
M
Alex
I very like book "effective c++"
M
Tia
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
Anonymous
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 :)
Danya🔥
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
No one
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
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
Anonymous
density independent pixel =)
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 ?
Houdaifa
Mahdiy
Null
M
does anyone has Misra C 2023 pdf?
klimi
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.
Dima
bool isMale
Alex
M
.-.
Houdaifa