BinaryByter
Ugh it's 11
no, its 10(2)
🐰🐾 سمیه
I don't know why my tab key doesn't work properly, once it works like an space , once like a tab (multiple spaces). Any idea?
Ainu_r
Sry
Anonymous
I know c++. What should I learn next and what future options can I have?
Anonymous
am 16 year old
BinaryByter
'i know cpp' you don't
BinaryByter
am 16 year old
I am too :D
Anonymous
wdym?😅
BinaryByter
knowing cpp fully is VERY VERY difficult
BinaryByter
nobody here knows it fully
BinaryByter
even its creator says that he doesnt know it fully
Anonymous
knowing cpp fully is VERY VERY difficult
yeah ik I mean the basics. What should I learn next? data structures and algorithms?
Anonymous
No, learn templates
ok. Can you share your journey?😅 Am kinda confused
Anonymous
and thanks 😁
BinaryByter
and i have nice geniuses teaching me
Anonymous
and i have nice geniuses teaching me
Well I don't have any 😐
Anonymous
No one to guide actually😅
BinaryByter
Find youself someone and ask him to review your code
BinaryByter
And be open to criticism
BinaryByter
be open to understand that you suck and that you can do so much better
BinaryByter
because you will eventually 🤗
BinaryByter
everybody sucks too, to some extent
Anonymous
So what person can I approach? A programmer, A teacher or.. ?
BinaryByter
most teachers are not good at programming
BinaryByter
find yourself a programmer to help you
Anonymous
but how can I find a programmer?
Anonymous
Who will review my code
H̲i̲L̲e̲v̲e̲l̲
I am too :D
Is this chat contains only 16yo teenagers?)
Anonymous
sorry for too many questions 😕
H̲i̲L̲e̲v̲e̲l̲
but how can I find a programmer?
We can create anything together
Anonymous
Is this chat contains only 16yo teenagers?)
i don't think there are 7300 16yo teenagers here 😅
Anonymous
😳
BinaryByter
BinaryByter
age is just a number
H̲i̲L̲e̲v̲e̲l̲
What is pm?
Anonymous
ok I Will 😁
Anonymous
What is pm?
private message ig
H̲i̲L̲e̲v̲e̲l̲
Ok
H̲i̲L̲e̲v̲e̲l̲
.
Do you play csgo?
Medreano
Hello guys I am a c++ beginner but I have a problem with the concept of classes in c++ . can you pls help or suggest any way that could help me get the concept
Anonymous
is there a chance if I have an int a = 0;
Anonymous
I have multiple threads doing a = 1;
Anonymous
whats the wost outcome
Anonymous
is there any possibility a could = anything other than 1
Anonymous
I dont want to dirty the raw question
Mihail
But taking such assumption isn't really a good idea
Akorede
Hi cplusers
•Msu•
😂
Andy
It's gonna be a 1
You don't know that, it's undefined behavior
Anonymous
Plz help
Francisco
Plz help
There're hundreds of them on the Internet, just do a quick search
Anonymous
Stackoverflow? 😉
klimi
what a stupid question
Anonymous
I'm wondering how "best" is defined 🤔
professor
is there a function similiar to secrets.choice for c++?
Anonymous
Who’s good in sorting arrays?
I don't say I'm good, but I know to sort
professor
I know rand is not great for crypt keys
Francisco
You want a random element from a sequence, don't you?
professor
sure, but I heard rand() is not great for random passwords gen
Francisco
sure, but I heard rand() is not great for random passwords gen
Just use C++17's std::sample: std::vector<int> v{0,1,2,3,4,5,6,7,8,9}; int result; std::sample(v.begin(), v.end(), &result, 1, std::mt19937{std::random_device{}()});
Francisco
And never use rand(). You should prefer some other random number generator, as the mt19937, for example
Francisco
On Python?
I'm not talking about Python. In Python you should definitely use numpy for that purpose
Francisco
Why random.randit() isn't ok for ya?
It's okay, but for anything numeric related I'd use Numpy
Francisco
It's just way faster