fearless
there is no + after the select statement and before concat of the combobox1
Berkus
it depends on the operator _associativity_
Berkus
some operators associate left-to-righ, others right-to-left
Berkus
@themester spam in channel
AndrEEa
hi, is there a way in C++ to make a function automatically called when a virtual function return? I have a pure virtual method that will be reimplemented and I would like that at the end of the method a function will called without who reimplement the method has to call the other function at end
Isc
class A { virtual bool x() { ... } } class B : public A { bool x() override { ... + return A::x(); } }
AndrEEa
but who reimplements the class has to call A::x() manually
AndrEEa
I already do it
AndrEEa
I would like automatize the call
Isc
well, you can create a proxy class but i wouldnt recommend it
Isc
you know, base should always be called, everyone knows that
Isc
if im overriding your method, ill call base by instinct
Berkus
I would like automatize the call
you can take the approach FakeIt uses and patch vtbl :)
Berkus
although it's a LOT of boilerplate just to "automatize" the call that should have been explicit always (remember, in C++ explicit is better than implicit)
Isc
struct MyClass { bool x(); } struct ImplicitBase { virtual bool x(); } template<typename TProxied> struct MySuperProxy : public TProxied , public ImplicitBase { bool x() override { ImplicitBase::x(); TProxied::x(); // return what? } }
AndrEEa
btw what "override" means exactly? what if I omit the string?
Isc
MySuperProxy<MyClass> lol; lol.x();
Berkus
btw what "override" means exactly? what if I omit the string?
it means this concrete function is an override of virtual function; not a separate function with the same name
AndrEEa
yes but it's optional I see
AndrEEa
I never used it but I will
Isc
yes but it's optional I see
yes it is, but is a good practice to use it, same as noexcept, const or final
Anonymous
AbhiJah Abusuani: I want to host online radio station, any help please
Berkus
yes but it's optional I see
it's recommended to use it on c++11 and later projects; it's optional only for compatibility with old code (and because it could be a non-override function overload with the same name)
Anonymous
online radio station???
Anonymous
i done such project in php
Anonymous
but how you get live stream?
Anonymous
Sending decoded file frames
Anonymous
its not working
EL Màhjoub
i want your help please ⚠️ Write a program that reads a file named notes.txt that contains on each line a note (float) followed by a semicolon and a student's name and writes a file named birthday.txt that contains the same information with each note increased by 2 points (but not more than 20). Here is an example of a notes.txt file. Note that the file ends with an end of line as the last character. 12;albert 8;martine 11;marguerite 19;sofia Programm in C
EL Màhjoub
someone can help me
Liam
https://gist.github.com/94f168dae95b61f101a285e7f4299dfa Today's toy.
Berkus
just use boost::algorithm::starts_with
Berkus
http://www.boost.org/doc/libs/1_65_1/doc/html/boost/algorithm/starts_with.html
Berkus
http://www.boost.org/doc/libs/1_65_1/doc/html/boost/algorithm/ends_with.html
Berkus
case-insensitive versions, too http://www.boost.org/doc/libs/1_65_1/doc/html/boost/algorithm/istarts_with.html
Berkus
http://www.boost.org/doc/libs/1_65_1/doc/html/boost/algorithm/iends_with.html
Yang
Programming language https://drive.google.com/drive/folders/0ByWO0aO1eI_MN1BEd3VNRUZENkU Books https://drive.google.com/drive/folders/0B0hgUX3me1_RNi1KTXBzXzdXSzA hacking ebook collection https://drive.google.com/drive/folders/0B-JzQsKoJaANbTFGN0RWLWhONms Books https://drive.google.com/drive/folders/0B09qtt10aqV1SGxRVXBWYmNIS2M Books https://drive.google.com/drive/folders/0B1v9Iy1jH3FXdlNDeUNHNEVsZlE Books https://drive.google.com/drive/folders/0B1Ef5shqGHDNRGEwd3BYb0N3Um8 C programming tutorial https://drive.google.com/drive/folders/0B1qoi1IlEKwaM2tSMFBmOGUyNzg Udemy course https://drive.google.com/drive/folders/0B1HQDi7EkA9XNlR3STF5SVJIVUk Programming books https://drive.google.com/drive/folders/0B2iEK7PB5AR-b01obXBHWHVHQzg Linux books https://drive.google.com/drive/folders/0B1Wzf8eTK3LTYWtqOGlnQldTV2c Books https://drive.google.com/drive/folders/0B_qpgvDTe8kraTQ2QkM2S19tQWs Books https://drive.google.com/drive/folders/0B4PtWlBoZ1rVSncxbi1JVFY4anM https://drive.google.com/drive/folders/0B3Qd1rlyIyR5bHo0dENpM1lSclk Banking exam preparation papers https://drive.google.com/drive/folders/0B079Cm0MfQeyS3R5cHVnb2RVUU0 Learning awareness banking https://drive.google.com/drive/folders/0B8CnCCd60bnzM3VSWFhKZ2Rzc2s Head first programming book collection https://drive.google.com/drive/folders/0B1W3DeV5S5BELXZRajkteW83WHM IBPS book collection for banking https://drive.google.com/drive/folders/0B4xFnW1qvXXgZnVkaUVEX2w4Zzg Reading material https://drive.google.com/drive/folders/0Bx_3I5qjqu3rSVBWMHpjLVRoREE 300 medical books https://drive.google.com/drive/folders/0BzQUrkcZOjAiYmQ0NTBjZmMtMDJjMS00OWViLTk0NWEtYTFhYzE2ZTZmYzdk Udemy the complete digital marketing course https://drive.google.com/drive/folders/0B-M90IqpPfRHNXZ6SkdMQlZOUkk Arduino https://drive.google.com/drive/folders/0B0TIoKgqQ9p5WC1pV2I0aHlKamc All type books https://drive.google.com/drive/folders/0B1dv5sqSPsPbfk1ZSXNud1pvWl9BV2Franh2ZFl0S0hweTBhT3QyNFUxWGgzQkFpOGUtd0k Mechanical engineering books https://drive.google.com/drive/folders/0B1k2RCDnejGvNFZWTWhJeDctWDQ Study books https://drive.google.com/drive/folders/0B6hG9OOiP0g2Zkh4M2x3WnVJNWs @udemyfree4u English https://drive.google.com/drive/folders/0B5xOSW6DBC5LfkVZWTJqYUZOblgyQnlhSlc2U1RJWUFyWjBnUXc0dHlrTHR5dEUySXNYc0E English grammer https://drive.google.com/drive/folders/0B1_NUA4_UggJYUIwc09LX1dfcDA GMAT, GRE, TOEFL, IELTS & LSAT - https://drive.google.com/drive/folders/0B2jZERjUXCHhZnB5T0tpY2ZyRmc Html essential training https://drive.google.com/drive/folders/0B3LfaGUUk6tiT18xZDRBY1FCVXc Lynda courses https://drive.google.com/drive/folders/0B5eJ2fw2iba1UlZna0FUWXF4UFU Mathematics https://drive.google.com/drive/folders/0BzeyVSBfx9yaWUMtUXZNLU9kM0k Php https://drive.google.com/drive/folders/0ByWO0aO1eI_MV0lhX1dkUlQ3YUk Programming books https://drive.google.com/drive/folders/0B2iEK7PB5AR-b01obXBHWHVHQzg Share if u care 😘 @udemyfree4u
Thanks
Anonymous
anyone here know shell scripting
Berkus
anyone here know shell scripting
yes, which shell you need
Anonymous
bash
Anonymous
i m not sure if it is sh or bash
Anonymous
echo 'enter the time in seconds' read seconds $hr=$seconds/3600 $a=$seconds%3600 $min=$a/60 $sec=$a%60 echo "the converted time is $hr:$min:$sec" how to correct this script for converting the given seconds into hr:min:sec format anyone know shell scripting
Berkus
http://faculty.salina.k-state.edu/tim/unix_sg/bash/math.html you can use expr or (( ))
Anonymous
👍 😊
Francesco
Every 10 person gets 1723 USD? U wot m8?
Liam
@themester spam report.
Anonymous
I have to delete any message every day
Anonymous
I'm tired off
Liam
I'm tired off
You can add some adminstrators to help you.
Anonymous
It's a problem to add an administrator that I can not know if I can trust him 😆
Liam
Well, that's the logical dead loop.
Francesco
It's a problem to add an administrator that I can not know if I can trust him 😆
you can trust arch linux user ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)
Anonymous
I do not undestand any user that whats to be free but with systemd
Liam
If the worst situation, which is brought by an attempt, is acceptable and repairable, then you could give a try.
Anonymous
Anonymous
Probably you can try voidlinux
Francesco
Probably you can try voidlinux
there are some project of arch linux systemd free but are extreme instable. I switch to gentoo because it was more easy than erase systemd from arch. Btw systemd isn't the that bad
Anonymous
Gentoo is for anarchist people who don't want any stability in his life
Anonymous
ANY
Anonymous
😆
Anonymous
If you use Gentoo I give you my congratulations
Francesco
the perfect person for administrator
Francesco
If you use Gentoo I give you my congratulations
both arch (on laptop) and gentoo (on desktop)
Anonymous
I only use voidlinux at both
Francesco
great distro void if you want a systemd free system
Anonymous
Yeah 😆
Anonymous
the thing that spend more resources of my thinkpad is the touchpad
Francesco
btw @themester can't you just block all link to other channel with some kind of groupmanager?