Likai
Thanks for the paste
Likai
Can you explain why there's the : Name(name) after the studentname constructor?
Likai
Doesn't it all already inherit from the parent, because it's in the class declaration?
Igor🇺🇦
@Likai SudentName class needs to call parent "Name" class with something . Otherwise only default constructor of Name will be called with default name given to m_name
Likai
Aha, that was my issue
Likai
so, I didn't know that the child class needed the : Parent(args) call
Likai
for its constructors
Likai
so in my child class, i was just writing the constructors without it
Likai
and wondering why it was just making the parent class objects with no args given
Ato
Please how can i write program that can execute a query?
Igor🇺🇦
@Ato_Friedrice You question is not defined properly . What query are you talking about ? What are you using ?
Igor🇺🇦
@Ato_Friedrice ahtever SQL you're using needs to have some c++ binding and API. Something like this: http://libpqxx.readthedocs.io/en/latest/ for PostgreSQL .
Ato
Thanks
All
/vb@rextester_bot
GM
http://gminformatics.com/c-language/ C Language
GM
Anyone can suggest improvement on these topics
N A T N A E L
https://m.youtube.com/watch?v=mJv1JoX-5zk https://m.youtube.com/watch?v=mJv1JoX-5zk
Roxifλsz 🇱🇹
https://m.youtube.com/watch?v=mJv1JoX-5zk https://m.youtube.com/watch?v=mJv1JoX-5zk
This is a programming group, why would you post this here?
Roxifλsz 🇱🇹
/ban advertising immediately after joining
Sito
The idea of doing this sort of thing is maintainability. If one day they decide that double just isn't ok, but what's really needed is super_extra_accurate_double which may or may not be a class, it's trivial to change and if people have avoided making the assumption that it's a double (for example by doing memcpy(sizeof(double)) rather than memcpy(sizeof(Point::_x_type)) (sure, memcpy is a bad example, but it'll do for this answer); then they can change the type and no code will need to be re-written to handle the new size.
Sorry for answering that late. Thank you very much. It is really interesting. I haven't thought about that. I was thinking about something for avoiding mixing up units. I.e., if you try to add Point::_x_type and Quaternion::_y_type, it is because you really want to do it and it was not unintentionally. But I don't think this is much consistent because it is possible to do it easily. So your answer seems legit.
Anonymous
How to speed my build on VS2010? Incredibuild Tool is costly for me .
Igor🇺🇦
@annly how long does it take? What kind of project are you working (how big it is and how many people work on it) ?
Anonymous
I have, thanks
Anonymous
Hi
Anonymous
http://preshing.com/20170511/how-to-build-a-cmake-based-project/ Tags: #programming #cmake
Anonymous
What are classes in c++
Igor🇺🇦
Zabiullah Zahid http://bfy.tw/HlZz
Anonymous
👍👍👍 we are good.
Igor🇺🇦
I build some open source project a half an hour, even more sometimes.
I think you need as much cores as possible, more ram as possible and most importantly fast ssd, have precompiled headers in rarely changed parts . I suspect that you've read this already https://blogs.msdn.microsoft.com/vcblog/2016/10/26/recommendations-to-speed-c-builds-in-visual-studio/
Anonymous
Generic pointer is pointer which is declared as void pointer. Ex: void *void_ptr It is a generic pointer. The generic pointer has to be converted to the type which you want. Since you can't write variable with void as their data type. Hence dereferencing is not possible. But remember that it is still a pointer to use it we have to convert/type cast it to other pointer.
Anonymous
Thnx
Pete
non-standard syntax; use '&' to create a pointer to member
Pete
If I'm getting this error, what does it mean usually
Pancakem
Who has a small project that they'd like help with? I figure it's a good way to practice
Anonymous
Prog for finding standard deviation
Anonymous
Try ninja build
OK, thanks. I'm willing to try it.
Anonymous
http://www.agner.org/optimize/
Anonymous
Hi all - a quick question, does it make more sense to focus on learning c++11 or c++17?
Anonymous
Have some doubts on boost asio (ssl), can any one help?
Anonymous
hey all
Anonymous
i need help for my c programming exam, can anyone help me?
Anonymous
3 days later
Anonymous
I will take 10-15 min. I need to solve 3 question but ı couldn't properly. I need help for them
Anonymous
thx :D
Anonymous
Anonymous
codeblocks🤔🤔🤔
Anonymous
some one help me. Php artisan serve doesnot work.
Anonymous
ok.
Anonymous
have any
theFlash
Bro this can be solved by thinking abit
theFlash
Did you clear all basic concepts in c
theFlash
Once try yourself and when you stuck anywhere pm Don't ask anyone without trying yourself Because you don't get ideas if anyone tell the answer
theFlash
Not much 😔
Basic syntax like while , do while, for loop If else
Anonymous
You are right, i am trying but I confused a lit
Anonymous
Any one help for making a web browser
Anonymous
Simple
Ato
You are right, i am trying but I confused a lit
Solve and post it here. We will help you debug
Anonymous
I solved 2nd question but there is a mistake, when I write less than 5 for n, program doesnt work. How can I fix it ? http://prntscr.com/j8ih98
Anonymous
No problem
Anonymous
I think it's easy if you understand the problem correctly!
Anonymous
Also I dont know properly how we use the syntaxes
Anonymous
Thanks
Anonymous
Also I dont know properly how we use the syntaxes
Why don't you take online courses which are free. From that you will learn a lot.
Anonymous
Do I have to use other things? If I dont use them is it ok?
Anonymous
You are right knk, I can try one of them
I am a Noobie too but I try to be better everyday
Anonymous
I hope we will be better
wende
What is this