Anonymous
I saw that, xD
Ammar
Mar!o
Power Serves Reason
Is template necessary to learn? I mean it is too difficult.
Anonymous
RIP :\
Mar!o
RIP :\
yeah :(
Юрій
2:49
Bumpy
hey everyone , i want to ask a question about the value that return from a method of the class : if i have a class , i can return a reference to the object that made? for example: » class A { int x; int y; default constructor()... method for example : *A &* foo(bla bla bla){}
Andrew
Hi, are there any C for embedded groups?
Amrith
@ EMBCpp
Andrew
@ EMBCpp
Thank you
Amrith
Thank you
Stupid bot keeps removing my links. I had to add space
Andrew
Yes i know, no links allowed
Amrith
This is spam though
Anonymous
/report
M
Can someone give me few apps source code plzz
Blue
Can anyone make a software to decompile a complied file
Blue
I’ll pay them
Talula
Can anyone make a software to decompile a complied file
You said same thing last time and you're trying to decode a coded file... that is not decompile.
Blue
It’s just encrypted file
Talula
It’s just encrypted file
That is not "decompile"... don't confuse things.
Blue
It’s decompile, when I have a software that can make that file that is Known as complie
Blue
So reversed is decompile
Talula
Forms are not "compiled" specially written by 3rd Party which doesn't make a compiler.
Blue
It’s not what u thinking
Talula
We talked and I know what you are talking about...
Blue
Nooo u are not understanding that
Blue
As u don’t know about the software which I am talking about ,
Talula
Your are talking about that accounting software Tel (something).
Bumpy
+= operator needs to be friend function?
Ehsan
+= operator needs to be friend function?
No, it needs to be enemy function
Bumpy
why?
Ehsan
Lol
Pavel
+= operator needs to be friend function?
There are two types of such operator, you can make it member function or free function. If it's a free function and your data is private, you need to declare is as a friend
hiddenpiggy
friend T operator+(T& a, T& b);
hiddenpiggy
T operator+(T &other);
hiddenpiggy
they are all the same
Amrith
Forms are not "compiled" specially written by 3rd Party which doesn't make a compiler.
Hi, we have an embedded cpp group would you like to join? (saw your profile looks like you might be interested)
Amrith
Is your group in @en_it_chats?
Not my group. Its @ EMBCpp
Bumpy
Boolean operators needs to be friends?
hiddenpiggy
not exactly
Bumpy
its depends of?
Anonymous
its depends of?
If you need to access private members outside the class, you need a friend function. If you are inside the class, you don't need a friend method. It depends on the structure of the code
Bumpy
If you need to access private members outside the class, you need a friend function. If you are inside the class, you don't need a friend method. It depends on the structure of the code
ok , so if i have a example.hpp file that's contains the declaration of the methods and functions , and also have a example.cpp file that's contains the implementation of this functions , i need to use friend keyword ?
Anonymous
Bumpy
thanks! . Does this also include the functions that are not necessarily Booleans? for example + , - and more
Anonymous
Bumpy
thank u very much!
chenyu
Does anyone understand QTservice?
Talula
The Curious Cat
/get cppbookguide
Talula
What?
The question about QT...
Talula
So?
No one knows about QT more than you do.
Anonymous
No one knows about QT more than you do.
That's not true Thankfully I'm not a Qt programmer at all
Ed
Hey guys. I have a question. Can you use static vector variables in a class to store values every time the program is ran?
Damo
While compiling make file..I'm getting some errors
Pavel
Hey guys. I have a question. Can you use static vector variables in a class to store values every time the program is ran?
The question is not very clear, what do you mean by "store values every time the program is ran"? You mean initialize them once?
Anonymous
Hey guys. I have a question. Can you use static vector variables in a class to store values every time the program is ran?
For serialization you need to save values in a file of some sort. Depending on the circumstances, you might use anything between a text file(light ones such JSON, yaml, toml, csv) and a full fledged database(mariadb, mongodb).
Oleg
Hi guys! Can you help me please?! I want shift one column in array, but my experience and Google don't help me ( Example Source array 1 2 3 4 5 6 7 8 9 Results array 1 _ 3 4 2 6 7 5 9 Where 8 will be deleted and _ is empty. if you shared C example, i will be pleasure! thanks!
Epem
Hey , I want to calculate the CPU cycle per iteration . So it should be (Runtime of iterations*Clock_Freq_of_CPU)/( no of iterations * Total elements transfered in total loop )
Epem
But I am not able to calculate the no of elements transferred in the loop
Epem
For (I=0; i<slices;I++) { X=(I+0.5) *0.0006 Cout<<X; Sum+=///// }
Epem
How to calculate the total no of elements transit in the loop.
Diego
I'm pretty sure each asm instruction is a single cycle if you don't account for threading
Diego
That is, if you don't use any system calls like cout
Epem
I'm pretty sure each asm instruction is a single cycle if you don't account for threading
But why would that be? It will take around 3-4 cycle / Instructions. I know the answer but how to approach It 😉