Rose
User Jr has 1/2 warnings; be careful! Reason: not c# job posting group
klimi
Two of my messages were deleted. Not sure why!
Yeah, idk why it marked your message: It doesn't seemingly (https://godbolt.org/z/rGrd9vGbe) if you put enough flags. By the way, you seem to have treated student as an array while it is the name of your struct. Moreover, string literals are constant. You may use of relevant qualifier for your char *.
Never Spam Bot
Abbasi is now approved by the group admin and can send messages without any restrictions Thanks for bringing it back. @Anon0_x If there's any other question about that, let us know. See spam? Quote the spam message in the group and reply with /spam
(null)
I know , I've put a snippet code that I was wondering about it's weird behaviour
The reason you get 0, 48, and 96 from sizeof is related to the way sizeof operator works. sizeof(int[5]); This means "the size of an array that could hold 5 integers". It's the same as writing this: sizeof(int) * 5 In your case, the first output (0) comes from here: sizeof(student[0]) == (sizeof(student) * 0) An array that holds 0 instance of student. sizeof(student[1]) == (sizeof(student) * 1) sizeof(student[2]) == (sizeof(student) * 2) And so on. After fixing these issues https://t.me/programminginc/538083 Replace this part if (ye == 2014 || ye == 2013 || ye == 2012 || ye == 2011)             year = ye;         else             year = 2014; with this piece of code: private: int year{2014}; ... public: ... if (ye >= 2011 && ye < 2014) year = ye; Does the same thing.
Дмитрий
/mute
Rose
/mute
You need to be an admin to do this.
Geetha
undefined symbols for architecture arm 64: " main ", referenced from: <initial-undefines> ld : symbol(s) not found for architure arm64 Clang: error: linker command failed with exit code 1 (use -v to see innvocation) I just wrote : int main() { return 0; } Why am i not able to run this code??
ꪖꫝꪑꫀᦔ 𝕛ꪖꪑⅈꪶ
Hi
Rose
You need to be an admin to do this.
Geetha
You are using bad toolchain I guess.
Didn't understand!!?? Toolchain??
Ziky
Didn't understand!!?? Toolchain??
toolchain is compiler linker and then optionally debugger. I don't know it almost looks like you have configured something wrong. Search the internet
harmony5 🇺🇳 ⌤
Didn't understand!!?? Toolchain??
The programs you're using
lingling
Imean
Is this important If i want to learn data structure and algorithm before that i should learn a programming language
honored
Is this important If i want to learn data structure and algorithm before that i should learn a programming language
I think ofcourse because you should be clear about in which language you want to do dsa and should be able to [practice it in real time otherwise theory is taught everywhere
Imean
I want to do dsa in python
Imean
Which resources i should use
harmony5 🇺🇳 ⌤
Which resources i should use
Python official docs
harmony5 🇺🇳 ⌤
Check collections module
Chat Boss
ㅤLeovan sent a code, it has been re-uploaded as a file
Leovan
ㅤLeovan sent a code, it has been re-uploaded as a file
Hello guys, in the code below I'm listening for keyboard input (1 or 2) and I want to call func1() or func2() depending on it. For example If I called func1() and after that pressed key 2, then I want to stop func1() and call func2(). The problem is that functions take control and I can't listen input when they are called. What is the best way to do it? 1. Listen input in a separate thread 2. Call functions in a separate thread 3. Remove while (true) from functions and save the last input and depending on it call each iteration corresponding function?
Superdart
Does any one have Juego Studios question?
Unknown
Can anyone tell me which is best platform to solve DSA questions Topic wise??or is there any material available on tele. For that??
Leovan
Could you describe problem You are trying to solve from higher level nad on which platform?
There is some code above. I'm just interested in the "abstract" solution, there is no specific problem and platform (we can choose Windows)
Ziky
There is some code above. I'm just interested in the "abstract" solution, there is no specific problem and platform (we can choose Windows)
Your code will keep one core of your poor cpu busy as long as your app is running which is not good approach on anything with OS. Linux has select function which allows You to wait for multiple events. And yes having multiple threads or processes is one of solutions (search for pool of workers) especially if your threads are computational heavy. If they aren't (no while loops inside) you can do what you have.
Geek.op
how do you get project programming?
Dimix
How can i get the minimal and the maximal number of isolated nodes in a graph in c++?
Rose
User bb has 1/2 warnings; be careful! Reason: this is a English only chat. No Chinese allowed
Kaustubh
I have c programing notes
Kaustubh
Please
klimi
Please
#meta
Rose
Please
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is. These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot? If you have a question ask it directly. You are more likely to get a response that way.
klimi
What have you found so far?
Rose
User OMID has 1/2 warnings; be careful! Reason: advert
harmony5 🇺🇳 ⌤
What have you found so far?
A recently joined member just sent spam that was deleted (I suppose by the bot)
harmony5 🇺🇳 ⌤
Check wikipedia
Lamu sherpa
Hii anyone can help me?
Rose
Hii anyone can help me?
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is. These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot? If you have a question ask it directly. You are more likely to get a response that way.
Rose
User Lamu sherpa has 1/2 warnings; be careful! Reason: offtopic/spam
Aryan
I want a programming questions related to loops
Md. Tanzim
Lamu sherpa
Hii
Pr750
I hv problem in vs code any one can help
Rose
I hv problem in vs code any one can help
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is. These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot? If you have a question ask it directly. You are more likely to get a response that way.
Pr750
I can't upload image in vs code. Show me error
Mayur
insmod: ERROR: could not insert module module.ko: Invalid parameters Show me error
Stark
Guys why no one use high cpp featurrss
klimi
Guys why no one use high cpp featurrss
What do you mean by high cpp?
Stark
What do you mean by high cpp?
I meant latest cpp standards
Stark
People seems afraid of change 😿
klimi
People seems afraid of change 😿
Well legacy... You can't break compatibility
ꪖꫝꪑꫀᦔ 𝕛ꪖꪑⅈꪶ
What
ꪖꫝꪑꫀᦔ 𝕛ꪖꪑⅈꪶ
2129
Stark
So how bout it then? People will live in cpp 11 forever ?
klimi
What
Check pinned message
Edgar
For latest language you need a latest version of compiler. But you have build server, which is updated 5 years ago, and no time to do it now. Also users want to launch your code on kubuntu 17, NES, and at 8051 core. In fact you can't do it all with modern cpp. Some projects can, but it needs right enviroment. What if tomorrow this enviroment will change?
Stark
Well in my place we use C++23
Sounds good but how bout if you need to make a lib? People across the world won’t be able to use it
Stark
Or what bout if u need to code into a project that uses oldest stadard?
klimi
Rose
User Akshansh has 1/2 warnings; be careful! Reason: ad
Ray【レイトレーサル】Tracer
Stark
Lucky, I guess 😅
He is on a paradise of features 😹
Stark
std::expected looking at him jaja
Augmented
Hello everybody
Augmented
I have a problem with the creational order of two or more classes
Augmented
One's constructor is taking a functional pointer to a static method from another class in ita constructor...
Augmented
Some times it is valid, others nullptr... is there a way to instruct the compiler, which classes must be created before others