Nyuke
did everything just vanished?
Anonymous
this is not working either
It does work. It just does exactly what you've commanded.
Anonymous
Please which should I learn C# or C++
Different programming languages for different purposes.
Nyuke
It does work. It just does exactly what you've commanded.
it works but only prints one line and then stops
Effiom II
Nyuke
i want the whole output screen to continuously print 01 in random order
Siddharth Sahoo
NOT A C++ QUESTION ——- Hey there everyone, I just got into a course of MySQL and in that course they are working on Cloud 9 platform but unfortunately now Cloud 9 discontined its services. Do anybody have any idea of substitute cloud platform which will be free like cloud 9. Thank you.
Anonymous
Please help I am trying to create a simple window in opengl using glfw but I have included all the necessary arguments like "-lgdi32" "-lopengl32" "-lglfw3" But it seems when I am compiling I get an error about undefined reference to createdw16@ or something like that Please is it a problem with gdi And how do I solve it I am using visual studio code as an editor
I_Interface
I mean the one I should learn first
U will understand basics better with C++
Effiom II
C++
Thanks but why please
I_Interface
up^
Anonymous
You need to use a loop then.
Anonymous
@Nyuke3
Nyuke
this is not working either
use a loop on this?
Anonymous
It's corresponding to what you need, as I can see at least.
Nyuke
actually i'm very confused about loops and there types rn will lyk if it worked out anyways :p
Anonymous
Is C++ your first programming language?
Nyuke
yep
Anonymous
If I was you I would try C
Nyuke
i started with python but left it on someone's advice (regrets everywhere)
Anonymous
If you're confused about loops it's not time to start learning C++.
Nyuke
should i learn c first?
Anonymous
Definitely.
I_Interface
Nah
I_Interface
Mate
I_Interface
U can learn C++ first
I_Interface
It's more modern than C
Nyuke
rip
Anonymous
What?
Nyuke
sudden change of thoughts.
I_Interface
What?
C and C++ are different languages for now
I_Interface
With more functions
Anonymous
There's no any advantage between these two for him.
Anonymous
U can learn C++ first
Is there any material with u
I_Interface
Is there any material with u
U can google it for ez
Anonymous
When someone says he knows C he's wrong 90%
Anonymous
C and C++ are different languages for now
And you cannot elaborate on that.
Anonymous
I mean, they are, but you cannot explain their difference.
Anonymous
Can you give notes
Anonymous
On
Anonymous
C is stable.
Anonymous
Structure and union
Anonymous
Concepts
Jussi
I could argue I know it
I_Interface
I mean, they are, but you cannot explain their difference.
why not ? STL lib - it's not enough for u ?
Anonymous
Why is linux kernel written in C?
I_Interface
I mean, they are, but you cannot explain their difference.
C++98 and C++14 - no difference ? Are u seriously ???
Anonymous
That's not explanation.
Anonymous
How would you implement C++ vectors in C?
I_Interface
That's not explanation.
Ofc it's not. It's a lot of info, not for this place
Jussi
Dynamic*
Anonymous
How would you implement C++ vectors in C?
Anonymous
lol
Anonymous
What's the difference between array with fixed size and vector?
Anonymous
You cannot answer this question, until you know the difference, you are unable to know how to implement C++ vectors in C.
Anonymous
You probably don't even know what is allocated storage duration because it's quite related to the question.
Anonymous
I'm out, just leave it at that.
Anonymous
blah
Nikolas
I'm out, just leave it at that.
Thank God, go out. Nobody cares
L0kzy
Why is linux kernel written in C?
Because C existed before C++ 🤔😁
Nameful
Why is linux kernel written in C?
Torvalds doesn't like C++
void
Why is linux kernel written in C?
Cause Linus really don't like C++, C is enough for him
Anonymous
Because C existed before C++ 🤔😁
If cpp would be that good they would have rewritten kernel.
Anonymous
I may be wrong though.
Nameful
If cpp would be that good they would have rewritten kernel.
There is virtually no reason to rewrite it
Nameful
You can mix C and C++ without issues anyway
professor
You cannot rewrite something there is in production. You will need extension or something like calling an api
Stephanos
There is actually quiet a strict policy regarding codingstyle in linux repos.
Stephanos
you could technically mix cpp in there, but the community doesn't like it
Anonymous
Well, personally, I'm not against cpp. But... I'd still recommend that guy who's confused about loops to learn C for the first place...