Pavel
Where the js guys
that was a limited offer
Pavel
have you read the rules under '*' section?
Otumian
@roxifas would you change the horny thing?
Vitalii
Point Point::operator+(const Point& other) { Point temp; temp.x = this->x + other.x; temp.y = this->y + other.y; return temp; } why does it give me warning: using copy-ctor but class Point has a trivial copy-ctor but non trivial assign operator how to fix that? -_-
Vitalii
in Visual Studio it works succesfully (
Vlad
It should return lvalue reference
Vitalii
thanks
Vlad
Hope you didn't return reference to a local tho
Vitalii
I did it like that: Point Point::operator+(const Point& other) { return Point(this->x + other.x, this->y + other.y); }
Anonymous
Mar!o
xorps %xmm0, %xmm0
Anonymous
why?
If less is enough, there is no need to do more
Bon Jovi
/get ide
Bon Jovi
/get cppbookguide
Anonymous
C questions not allowed?
Diego
Maybe if you ask it twice so its incremented
Anonymous
Also why Horny Indians edition?
Ammar
Gk
Sandro
@roxifas April 1st it's over... Can we back at original group name and topic? C/C++ plz?
Roxifλsz 🇱🇹
Fine, I will add a "C/" to be more explicit
Gulshan
Roxifλsz 🇱🇹
Because if you have a profile that looks like a girl, you always get horny Indians in PM
Gulshan
Because if you have a profile that looks like a girl, you always get horny Indians in PM
Umm, I haven't PMed a girl...like a jerk or something... And I am an indian
Roxifλsz 🇱🇹
Yep, then you're not a horny Indian, just Indian
Roxifλsz 🇱🇹
Carry on
Gulshan
Man, just change that
Gulshan
Btw you are oli right ??
Roxifλsz 🇱🇹
Man, just change that
No, I want to be edgy and see sensitive people leave
Roxifλsz 🇱🇹
Gulshan
No
Ohh, she deleted her acc 😥... She helped a lot
Roxifλsz 🇱🇹
Ohh, she deleted her acc 😥... She helped a lot
If you're talking about the admin "olli" he's still here
p
India se koi programmer h ?
Anonymous
C++ Tutorial for Complete Beginners for free An awesome course to learn C++ for free Signup today - https://bit.ly/3whHbwC
labyrinth
is this group previously named c/c++ ??
labyrinth
the new name is misleading lol
Talula
Cool, new Logo
Sandro
Ammar
Great
Anonymous
Hi Do you want to recommend from c++? Thank you
Gulshan
Alex
Does any one program bots here?
Anonymous
Roxifλsz 🇱🇹
/warn cuckbook link
Anonymous
Just saw the new logo. Hoping for a more relaxed rules too😁
Roxifλsz 🇱🇹
Well the rules are a wall of text rn, could be simplified perhaps.
Roxifλsz 🇱🇹
I'll look into it later today
Chellphick
Am new to Cc+ help
Chellphick
🙏🔥🙏
Hamid
Am new to Cc+ help
explain your problem
H
Write a program to find the maximum difference between two adjacent numbers in an array of positive integers
H
Can anyone help with this code
H
In c language
Hamid
In c language
ok, send your code, explain what is your problem with your code exaclty, and people here will help you
Distac_221
can i ask a question?? how memory management works on C??
MᏫᎻᎯᎷᎷᎬᎠ
can i ask a question?? how memory management works on C??
You allocate something, you free/deallocate it when you're done using it
Distac_221
You allocate something, you free/deallocate it when you're done using it
so when i need it i will allocate some memory and free up them when im done??
MᏫᎻᎯᎷᎷᎬᎠ
so when i need it i will allocate some memory and free up them when im done??
Yeah, that's the whole point of memory management There are some extra routine you do when working with mult-threading environment
Shinchan_OP
cant we create a malware in c++?
Shinchan_OP
i want to go more deeper into malware development
𝙑𝙞𝙨𝙝𝙖𝙡
/notes
𝙑𝙞𝙨𝙝𝙖𝙡
#cppbookguide
Anonymous
#imhacker
Anonymous
So I have a while loop which takes a ball from an array of 50 balls and draws it upon each iteration I want that it should pause a few seconds after drawing each ball i.e. after each iteration the program waits a few secs and then continues Is this achievable ? Tried using usleep and sleep but no luck
Anonymous
Um will it be std::chrono_literals::this_thread::sleep_for(1s) If I use it without the namespace statement ?