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
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
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
Can I actually input different data types from one file?
NO THIS IS NOT POSSIBLE AND WILL NEVER BE!
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
Didn't get the difference.
Object of pod type can be used without construvtor call
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
NO THIS IS NOT POSSIBLE AND WILL NEVER BE!
In this case, should I input string and then cast it to double ?
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
Asad
You have 3 strings
Hmm. Doesn't inData » str input the whole line ?
Artöm
No
Artöm
To input line use std::getline
Asad
No
Now it worked bro. Thank you so much!
Surya
Anyone here with embedded skills please help me
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
In this case, should I input string and then cast it to double ?
If you use std::ifstream you can directly read them
Mar!o
Like from a string stream. Its better than std::atoi etc...
klimi
thanks
Mar!o
So many bans...
Dima
So many bans...
Silly people
Anonymous
Any embedded guys here?
Well, maybe @fgallego96 can help you
Surya
Well, maybe @fgallego96 can help you
Ok thanks. I will contact him
Anonymous
No, do not PM him
Francisco
No, do not PM him
Too late, and I don't do embedded stuff
Anonymous
Too late, and I don't do embedded stuff
Sorry I thought you were embedded software engineer
Francisco
Don't worry
yue
stl
Anonymous
stl
c++
yue
i am looking for stl tutorial
Anonymous
This is not a search engine
Artöm
i am looking for stl tutorial
Go through std headers
Anonymous
What about c++ any suggestions
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?
Anonymous
C program to perform input output of all basic data types
what the fuck dude, why are you not replying my question, i too have doubt don't you have guts to ckear mu doubt?
Dima
lmao
klimi
/report
Ah lunatic :<
MᏫᎻᎯᎷᎷᎬᎠ
:D
Ashish Bhushan
C program to perform input output of all basic data types
What so difficult in this question dude
MᏫᎻᎯᎷᎷᎬᎠ
Now he is gonna say fuck all you