Anonymous
I have graduated from school for 1 year and work for a Internet company as a backend engineer
Anonymous
Whoa! Glad to hear that
Anonymous
Hope you share some of ur knowledge with me
Anonymous
😄
Anonymous
Well, indeed, I'm confused now....
Anonymous
I'd like to help if I can
Anonymous
Its ok u dont need too if it does confuse u
Anonymous
😂
Anonymous
Thanks man
Anonymous
No, I don't mean what you say confuse me
Anonymous
😂
Anonymous
It's about work
Anonymous
🙈 my bad
Anonymous
My work consume me
Anonymous
I know ..its exhausting right
Anonymous
I honestly want to work as a freelancer
Anonymous
Me too!
Anonymous
I dont want to follow others orders
Anonymous
Except its hard to be a coder and freelancer at the same time its nearly impossible
Anonymous
Have you read the book Hackers&Painters?
Anonymous
Tbh never heard of it
Anonymous
Im actually focusing on algorithms
Anonymous
you will love it
Anonymous
Thank u i will add it to my list
Anonymous
wow, is't awesome
Anonymous
Thats why ur nickname is little artist
Anonymous
U got inspired by the book
Anonymous
😉
Anonymous
hahaha
Anonymous
Have u read the art of intrusion by mitnick
Anonymous
Actually, it's inspired by a team of Dota2 named Cloud9
Anonymous
Woooow
Anonymous
So u are a gamer
Anonymous
And a coding engineer ..nespresso what else?
Anonymous
Anonymous
ko is really positive
Anonymous
Tbh never heard of it😁
Anonymous
I play dota every week
Anonymous
Hey joe thnks buddy..we all need positivity nowdays
Anonymous
one of my hobby
Anonymous
ko how old r u
Anonymous
I actually cant play for a while i fried my laptop charger so im using an old rig ..
Anonymous
Im 20
Anonymous
what fields interest you?
Anonymous
except computer ones
Anonymous
Oh! Gaming for sure and sci fiction movies
Anonymous
Learning languages too
Anonymous
I see
Anonymous
What about u
Anonymous
I forgot to mention food
Anonymous
same
Anonymous
Lmao
Abhi
Anyone know telegram groups for image processing or similar?
ㅤ
Will it be possible that matrix features would be supported in C/C++ without using externel libs in the future?
AndrEEa
hi
Is there a way to overload a pure virtual functions in C++?
I want in the base class 2 virtual function with same name but different arguments
who inerhit the class should be choose which of two functions override
Isc
Isc
Like glm::matrix?
Max
Max
can you demonstrate what you are trying to achieve?
Max
and how client will be sure that derived class implements right function?
Max
suppose that derived class does not implement fun(int &errorcode), and user calls p->foo(err) what should happen?
AndrEEa
because he derives the class
AndrEEa
so if he wants use errcode else not
Max
I mean, you will lilkely use pointer to base class, right? What you expect when somebody or somewhere will call non-existing function?
AndrEEa
compile error
Max
That's impossible to achieve in compile time. Inheritanse is run-time stuff.
Max
You can throw exception instead
Max
You only can get compile error if derived class does not implement *all* pure virtual functions
AndrEEa
so what can I do to allow user to choose if use a function argument or not?
Max
virtual int fun()
{
throw std::exception("Not implemented!");
}
virtual int fun(int &errorecode)
{
throw std::exception("Not implemented!");
}
Max
in base class
Max
if you don't want for object of base class to be created
Max
add
Max
base() = delete;
Anonymous
#include <iostream>
using namespace std;
int main()
{
cout << "Enter a year: ";
int year;
cin >> year;
switch (year % 12)
{
case 0: cout << "monkey" << endl; break;
case 1: cout << "rooster" << endl; break;
case 2: cout << "dog" << endl; break;
case 3: cout << "pig" << endl; break;
case 4: cout << "rat" << endl; break;
case 5: cout << "ox" << endl; break;
case 6: cout << "tiger" << endl; break;
case 7: cout << "rabbit" << endl; break;
case 8: cout << "dragon" << endl; break;
case 9: cout << "snake" << endl; break;
case 10: cout << "horse" << endl; break;
case 11: cout << "sheep" << endl; break;
}
// after 12 years zodiac's color green
And then yellow, black, white
How can i do that please help
return 0;
}
Anonymous
Like that
Dog = green
Max
what?