Ajay
i thought and even now too that =default is just same as a ctr not declared.
Ajay
but that's compiler generated, why does it say that?
Ajay
just now you agreed on a default ctr() =default is same as a ctr not declared( and hence compiler generated).
Ajay
so you agree on this?
Ajay
i know that it's an error and that why i'm asking you that why isn't the compiler able to generate destructor?
Ajay
Ajay
ok, so the compiler figures this out(compiler is so intelligent unlike me) that a private destructor will be called.
Ajay
and that' why that example. that's one case?
Ajay
but then there the compiler isn't able to generate the destructor which is converse of the fact that destructor()=default will let the compiler generate one.
Ajay
Ajay
and the second case is where it can't generate one(destructor bcz. a_ has private dtr) but even then this compiles.
Ajay
sure. anyway, thnx for replying them.
Ajay
but then i said, that i overlooked you code.
Hermann
I wrote a macro that converts unsigned long to char and I store the result on a char array. can i return this char array?
Hermann
i get only value of array char...but i get this 71880549�4@...
Asad
Hello everyone. I have to read from .dat file. But, lines 131 and 133 is not inputting anything to the dbl variable... Any ideas, please?
Asad
Can I actually input different data types from one file?
Mar!o
Mar!o
Of course... :)
Newly
I want to build a subscriber and publisher application using the opendds. I want to know how to subscribe two or more topics.
Universal
Hi guys I have to solve 3exercises with C and C++.Can anyone help me,I am ready to pay.I should to send today to my teacher in 12:00
Abhay 👽
Is anyone russian here, who can explain me my lab because it is in Russian language and i am not able to understand very properly?
Abdul
Hi
Any one here jst started c coding..?
Artöm
András
Artöm
No. Eg this is copy init
std::string s = "123";
Anonymous
C program to perform input output of all basic data types
Anonymous
help me to do this?
Artöm
I am not talking about explicit but about copy ans direct init
Artöm
Copy init has nothing to do with copy constructor
Artöm
Sorry, I should have mentioned what I disagree with
Artöm
string(const char*)
Asad
Check state of inData
inData is open... I am being able to input string but not double and int values
Asad
Here is how my file looks like.
Artöm
Artöm
Artöm
No
Artöm
To input line use std::getline
Asad
No
Now it worked bro. Thank you so much!
Anonymous
Surya
Anyone here with embedded skills please help me
klimi
Surya
I am trying to do USB registers configuration for my stm32 bluepill using keil tool
Surya
The keil provided header file for the stm...but they didn't do memory mapping for USB
Surya
I could not do memory mapping for storage locations of usb buffer... because the datasheet is too much for me to understand right now
Surya
Help me with understanding the usb a little more
Surya
And also difference between basic USB and USB_OTG_FS.
Surya
Any embedded guys here?
Mar!o
Mar!o
Like from a string stream. Its better than std::atoi etc...
klimi
thanks
Mar!o
So many bans...
Dima
Surya
Anonymous
No, do not PM him
Francisco
Don't worry
yue
stl
Anonymous
yue
i am looking for stl tutorial
Anonymous
Anonymous
This is not a search engine
Artöm
Anonymous
What about c++ any suggestions
Anonymous
Anonymous
whats the reason behind the modulo operator (%) not being able to work with floats in C, old ones, is it only because no one wanted to work with floats or CPUs didn't support back then?
Dima
lmao
Dima
MᏫᎻᎯᎷᎷᎬᎠ
klimi
klimi
MᏫᎻᎯᎷᎷᎬᎠ
:D
Ashish Bhushan
MᏫᎻᎯᎷᎷᎬᎠ
Now he is gonna say fuck all you