Anonymous
#Cppbook
Anonymous
/saved
Hatim
#best-book
Hatim
#findprojects
Anonymous
:D
Anonymous
i wanna ask some identifier naming questions 😕
Anonymous
is the name "ExecutionOrder" ok as an integer that specifies a module's execution times? it is used to sort the modules in a queue, the int is a member of the modules. I previously named it "Priority" but: 1. Priority seems to be bigger for the first ordered objects, but it isn't in my code 2. Priority, like the priority of the threads! but my impl is not like that, it's about the order. It's not about being executed more, it's about being executed first
Dima
i think dis is bot
Mihail
i think dis is bot
has bio so looks legit
Mihail
and profile picture isn't bot-like
Dima
do you understand persian?
Mihail
no
Dima
well lol there was one bot who was spamming with food pictures.. I am not against that one lol
Mihail
but bots usually don't have bios
Dima
this is some advanced bot
Dima
Dima
ok don’t go #ot
Anonymous
amninder
#learn
Anonymous
LMAO
Badugar
😆👍
Badugar
There's a program i wrote in Java, now i want to rewrite it in C++. For an array of a fixed size, should i use std::array or std::vector ?
Anonymous
👍👍👍
Parmi
👍
Sunshine
Hello
klimi
Hi
Sunshine
How r u
klimi
Good
klimi
Hungry
Sunshine
Oh
Samair
Write after #include <iostream> Using namespace std;
That way u don't need to write std::
BinaryByter
for fixed sizes, ALWAYS use std::array because it doesnt have the need to reallocate -> it doesnt have to check wether its full -> it is faster
Anonymous
Hi
Shivam
High
Mihail
That way u don't need to write std::
But that's a somewhat bad practice and it just makes your code less readable
Akshit
Hello @MissRose_bot, I have read the pinned message and all the instructions are duly noted.
Mat
If you need, use using std::cout; And so on for every element
Mihail
Mat
You'll avoid namespace's conflicts
Samair
Wow so colloge has been teaching us wrong😂
Mat
Wow so colloge has been teaching us wrong😂
Yeah. You can use it for smaller projects, though
Mat
It's unlikely you'll end up with problems, but it's better to avoid every possible situation
Samair
Has anyone worked on xcode
BinaryByter
don't
BinaryByter
use vscode
BinaryByter
xcode is a bad joke by apple
Mat
use vscode
Let's suggest vscodium
BinaryByter
oh yea
BinaryByter
sorry
Anonymous
use vscode
Does vscode support GCC compiler or any other compiler ?
olli
What's the advantage of VSCodium?
BinaryByter
its foss and doesnt have telemetry
olli
its foss and doesnt have telemetry
are you using the C/C++ Plugin?
BinaryByter
yes
olli
you know it has a closed-source binary, right?
BinaryByter
OH NOoooOOOO
olli
so I don't see the point of it ¯\_(ツ)_/¯
olli
"telemetry.enableTelemetry": false, "telemetry.enableCrashReporter": false, is fine for me
BinaryByter
wo reinkopieren?
BinaryByter
what do I copy this into? *
olli
settings.json File => Preferences => Settings Three dots => Open User settings
BinaryByter
oh wait with vsccodium its already disabled
BinaryByter
noice
olli
afaik this does not affect the plugins though
BinaryByter
oh ;_;
klimi
I love being scammed
Mihail
oh wait with vsccodium its already disabled
That's literally the only thing it does
Mihail
Oh and removes the MS branding
BinaryByter
+ its a foss distribution