Anonymous
What is int main () Please explain
Yusuf
no
then what you mean?
Anonymous
then what you mean?
you don't need a full fledged ide, vim is good enough
Prince Of Persia
you don't need a full fledged ide, vim is good enough
trust me vim will be awful for beginners
Prince Of Persia
if you are beginner use CLion or VSCode
Yusuf
you don't need a full fledged ide, vim is good enough
vim is great, but currently I only use vim like I use notepad :3
Anonymous
trust me vim will be awful for beginners
I won't trust you, but idc, honestly
Pavel
What is int main () Please explain
https://www.quora.com/What-is-the-int-main
Yusuf
if you are beginner use CLion or VSCode
yeah I just want to write the code and run it without too much learning curve at the moment.
сумбула
that's why I use Jetbrains IDEs
But Jetbrains is not free so it may be problem for some people
Yusuf
I won't trust you, but idc, honestly
no offense, but every time I see someone with good programming skill he always use cartoon as profile picture. I want to know the secret, tell me.
Yusuf
😂that's correct @gameraccoon like this guy
I think I will do a research on this fact :3
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
What is int main () Please explain
The execution of your program start from there
MᏫᎻᎯᎷᎷᎬᎠ
CLion
It is developed with java which means it's soo performance costy but it has nice features I would suggest using Qt Creator
Yusuf
What is int main () Please explain
a function that returns int
Akshay
How do we read and display space seperated integers?
Anonymous
anime?
no, vtuber. but it's off topic, lets not talk about it here
Prince Of Persia
like what?
@unterumarmung like this guy
OnePunchMan
сумбула
If you are student then you can get free.
Yes that's what I actually did. I got free access with my student's ID
Anonymous
Google it
I know that he did not ask a good question but there is no reason not answering him or guide him to a good book, site, etc. One day, we all did not know what "cout" mean.
Anonymous
Google is free
Anonymous
It's not the reason to ask this in a chat
I know but imagine yourself like him.
Anonymous
Anonymous
Google is free
Linus Torvalds said RTFM
Anonymous
Anonymous
So it is a good sentence to reply to any one.
Anonymous
I might say GTFQ: Google the funny question.
Anonymous
Use Bing
Anonymous
Use Bing
Aliens do not talk.
Anonymous
Sorry
But I personally used Bing for some days. It is not as bad as one thinks at the beginning.
Ryder
Aliens do not talk.
where did you meet one?
Diego
You haven't met an alien yet?
Anonymous
I'm not able to
Let me finish my point as the following: you might see it OK to say the f-word, the word you used before serious, in front of someone but in some countries, it means a lot of bad things, people could be killed because of saying it. Look! I mean why answering someone roughly while we could say 'Google it'. Thanks.
Apk
Aliens do not talk.
Yeah they just abduct
Diego
This sparked this whole thing huh
Anonymous
where did you meet one?
It is not when you meet some creatures from the outside of your planet.
Anonymous
Ok, you're right
I respect your opened mind.
Mar!o
Argh wtf guys this is a C++ group There are almost no nice conversations about C++ here anymore 😡
Diego
What is int main () Please explain
the int main() is a special function -- it needs to be declared as the entry point of the program You know, so that the compiler knows where to start running your code. That's int main() The int part, as you might know, is the return value -- which is standarized as an integer defining the error code '0' is that the program finished without errors, anything else than that is an error defined by you Something like "hey this program told me that it ended with 42 or something idk what it means but google it, that's an error"
Diego
https://www.tutorialspoint.com/cplusplus/index.htm
Diego
He could have just googled that. Why can't we discuss interesting stuff here like kernels or compilers or assembly optimizations or whatever
Hey man I know he could've googled it but I sympathize with him Everything is very confusing when you're just starting out
Mar!o
Yeah its' fine
Diego
And there's an overwhelming amount of information out there, specially for such a decentralized language
Anonymous
Actually, I think the best choice for a beginner is ignoring it, and it will be more obvious when studying functions. Remember when you someone told you that cout is an object before you knew what class means.
Anonymous
Is Linux a kernel or an operating system. Explain???
Roxifλsz 🇱🇹
Technically speaking it's just a kernel
Roxifλsz 🇱🇹
But that name is also used to refer to distributions of the linux kernel with an actual userland attached to it
Roxifλsz 🇱🇹
The correct answer ^
Nameful
Is Linux a kernel or an operating system. Explain???
Linux is a kernel but when people say Linux they commonly refer to the family of operating systems that use Linux as their kernel
Nameful
Something like that
Lion
An Operating “System” is a collection of different type of software. Both user mode (userspace) software and supervisor mode (kernelspace) software are needed.
Lion
Linux is the software of the kernel one, and it is the representative of the OS as a whole, too.
Lion
Windows, on the contrary, it IS the collection. It bundles both user (DLLs, service daemons, fonts, ...) and kernel space (Window NT, preinstalled drivers, ...) as a complete solution/product. You can barely rip any part of it off and let them work stand-alone.
Anonymous
Is the bootloader part of the os or is it just seen as a "starter"
Lion
Bootloader can be an OS. Believe or not.😂
Anonymous
😅 also there are oses that only have a kernel mode, like temple os for example. So one could argue linux is an os itself
Lion
The Three OSes: GRUB, Emcas, LaTeX (just a joke)