Anonymous
its not
Give the link
Jussi
"* C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED."
Jussi
This is the only point regarding other languages
Anonymous
No
Jussi
I did not ask, and it says PREFERRED
Anonymous
So shut up and let me answer to the person
Anonymous
So look to this
Dima
lol
Martin
+++
I know many people point beginners like me to Python but I'm in it for the long run hopefully. Particularly interested in infosec as well.
Jussi
I was thinking whether I shall first get programming concepts right or learning a language.
concepts, absolutely, that's why I suggesteds python for you, which is a nice language to learn the basic things about variables, functions and modern stuff like classes. Then you can jump into more specific and lower stuff like C & C++...
Martin
concepts, absolutely, that's why I suggesteds python for you, which is a nice language to learn the basic things about variables, functions and modern stuff like classes. Then you can jump into more specific and lower stuff like C & C++...
I think what interests me is Linux kernel development. I wish it were written in Rust or V though. But if C stays forever (or the next 20 years or so), then I think it seems unavoidable. I just don't like the security nightmare that comes with it.
Jussi
I think what interests me is Linux kernel development. I wish it were written in Rust or V though. But if C stays forever (or the next 20 years or so), then I think it seems unavoidable. I just don't like the security nightmare that comes with it.
Well, not many people are proficient enough to code stuff like OS kernels :-) You are aiming high, but try to cope with it and start low enough. If you know how the basic programming stuff works, of course you can jump straight to these more complex languages too. Then I would start with C, as it is really simple in the end, and the assembly output is way more predictable than in C++.
Jussi
Arhhh
And as you can see, these all are just personal opinions of people over here :) If you try both of them (C and C++), you will know their pros and cons yourself
Jussi
I'm not really proficient enough to compare them to D or Rust, as I've never used them myself
Anonymous
Concerning point 2) I thought it is the opposite?
You cannot build apps with Rust, you can with C++ For example Qt GUI apps or games with unreal engine But I can be wrong
Jussi
And I must admit that I write very C-like C++, because I started with C. But I'm trying to learn to be a "more modern" C++ coder :-)
Martin
And as you can see, these all are just personal opinions of people over here :) If you try both of them (C and C++), you will know their pros and cons yourself
I know conceptually I'm mostly drawn towards Rust (or V, not sure how that one plays out in the future) but relevance-wise I think C/C++ are hard to avoid.
Anonymous
No, but I should download it
You should buy it :D
Jussi
I know conceptually I'm mostly drawn towards Rust (or V, not sure how that one plays out in the future) but relevance-wise I think C/C++ are hard to avoid.
On paper rust can be seen as a holy grail or something, but I don't know anyone in real life writing Rust as their daily job for example
Jussi
Apple are looking into using it
Well that's interesting. Which systems are they gonna build on it? XNU? :D
Anonymous
But C++ job market is much larger
Jussi
I guess the number is super low when compared to C++ for example
Anonymous
Yep
Anonymous
Hi All!
Anonymous
Can I ask something about shell script in this channel?
🇮🇳
/notes
Kshitiz Pathak
#ide
Anonymous
what is the poll about?
Anonymous
IDE i assume?
uncle
hello guys. I'm having trouble with my code i want to convert a range of numbers from decimal to binary.but have some errors here is my code int main(){ int number, joinner=0; for(int i=0; i<=10; i++){ number = i; while(number != 0){ joinner = (joinner*10) + number%2; number = number/2; } printf("\n%d | %d",i, joinner); } return 0; }
uncle
🙏 help
Timon
hi guys
Timon
anyone can help me in linux
ROMEO
Hi
Anonymous
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk. * Personal messages without asking beforehand are not allowed. ## Resources About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
kenny3fcb
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk. * Personal messages without asking beforehand are not allowed. ## Resources About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
oh you up
Anonymous
Still half asleep 😂
Anonymous
Slept at 7am
professor
does anyone here has worked with bit / byte flip ?
Francisco
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk. * Personal messages without asking beforehand are not allowed. ## Resources About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
Another website for long code snippets worth mentioning is Compiler Explorer (https://godbolt.org/). It should be added
Anonymous
I can't edit the message 😅
Anonymous
Saved the suggestion, we are going to rewrite the rules
Anonymous
Will add for sure
Francisco
Will add for sure
In fact, I would recommend just dropping every other website for code snippets, as Compiler Explorer has proven to be the best one out there. It also encourages people asking to get their code to compile or show the exact compiler error, so we can help better. It also lets people choose the exact compiler they're using
Nils
How do I catch any exception with?
Jussi
can you do catch(auto ex)? Not sure
Anonymous
minesweeper::minesweeper(QWidget *parent) :QMainWindow(parent) { QVBoxLayout *vbox = new QVBoxLayout(this); QHBoxLayout *hbox1 = new QHBoxLayout(); QHBoxLayout *hbox2 = new QHBoxLayout(); vbox->addLayout(hbox1); vbox->setSpacing(10); vbox->addLayout(hbox2); QLCDNumber *lcd1 = new QLCDNumber(3,this); QLCDNumber *lcd2 = new QLCDNumber(); QPushButton *button = new QPushButton("",this); hbox1->addWidget(lcd1); hbox1->addWidget(button); hbox1->addWidget(lcd2); setLayout(vbox); //vbox->show() } Someone know, why is the object QLCDNumber not visible? the button is vible but neither lcd1 nor lcd2
Anonymous
Question:- write a program to generate all combination of 1,2 and 3 using for loop
Anonymous
all the elements are overlap
Anonymous
forget it solved
Nils
Hi, can I store a class inside a list?
Nameful
Hi, can I store a class inside a list?
as in, you want to store the type in a list?
Anonymous
can you do catch(auto ex)? Not sure
I don't think so And it doesn't seem good
Nameful
Yes
I don't think you can do this in C++. What are you trying to do exactly?
Nils
nvm…
Anonymous
Hi, can I store a class inside a list?
You have no types in runtime. It's compile-time abstractions.
Anonymous
There's RTTI, but it's bad practice in most cases
Nils
Okay... Can you recommend me a more stable alternative to code::blocks?
Anonymous
Nils
It crashes again and again…
Nils
is clion open source?
Anonymous
No