Anonymous
makeAny returns an Any type
Anonymous
https://api.libreoffice.org/docs/cpp/ref/a00268.html#a311548aee152a480edaf00cb004a0fc0
Anonymous
not a pointer to Any
mark
subscribe to pewdiepie
Dima
YES
Dima
subscribe to pewdiepie
/promote_to_admin good guy
Dima
make it return void*
Dima
truly “any” type
swarnim
/promote_to_admin good guy
That's a joke right.. Right....RIGHT...
mark
Anonymous
Write a program that receives N numbers from the input and the largest number among the numbers received Print😐🤦‍♂️
Anonymous
No
why😐
Dima
why😐
it’s easy, try to do it yourself
swarnim
it’s easy, try to do it yourself
It is too easy, while(cant_do) tryagain();
swarnim
im Newbie🙁
Pick up a programming book.
swarnim
I recommend Programming for Dummies
swarnim
Best book for programming newbs like you....
Anonymous
I recommend Programming for Dummies
Tnx, i will read it as soon as
Anonymous
but
Dima
It’s super easy!
Anonymous
cout<<"please enter two numbers:"; cout<<"\n\n"<<"a="; cin>>a; cout<<"\n\n"<<"b="; cin>>b; cout<<"\n\n"; if(a>b) cout<<"max="<<a<<"\t\t"<<"min="<<b; else cout<<"max="<<b<<"\t\t"<<"min="<<a; return 0;
swarnim
i need that, right now🙁
Open the book right now(on internet) it should not take more than 30 minutes to read the book and do that question...
Anonymous
i write this
Anonymous
but i must do that by while or for🤦‍♂️
Anonymous
Now learn loops
i try☹️
Anonymous
swarnim
i try☹️
It will be worth it in the long run...
Anonymous
Hey I,m using c++
swarnim
Anonymous
Thanks bro
swarnim
Cool!
You seem to have just as much free time as me...
Anonymous
Yes
swarnim
Thanks bro
You go on to saying whatever you want...
Anonymous
Ya ya
Anonymous
It will be worth it in the long run...
Thank you so much, I learned a lot more than the loop😍
swarnim
Anonymous
😬
swarnim
😬
That will just confuse you... Go study for now.
swarnim
Find your own way.
Anonymous
sure, i will find my way👿
Anonymous
wow, I try my best to learn everything tnx again tnx all❤️
Anonymous
Any help me know about operator overloading, especially these two operators << and >>
MᏫᎻᎯᎷᎷᎬᎠ
Any help me know about operator overloading, especially these two operators << and >>
Yeah The first one returns an ostream& And the second returns an istream&
Anonymous
hello again : (
MᏫᎻᎯᎷᎷᎬᎠ
Hi
Anonymous
what is it😰
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Don't worry It's not a C/C++ source code
Anonymous
Makefile
I do not know what to do This is the first problem I encounter🙄
Seth
Thank you
MᏫᎻᎯᎷᎷᎬᎠ
It just a file that directs your compiler for your project
MᏫᎻᎯᎷᎷᎬᎠ
so?
So what?!
Anonymous
what can i do
MᏫᎻᎯᎷᎷᎬᎠ
Ohh
MᏫᎻᎯᎷᎷᎬᎠ
Don't do anything
MᏫᎻᎯᎷᎷᎬᎠ
Just keep learning C++
Anonymous
☹️
MᏫᎻᎯᎷᎷᎬᎠ
If you wanna learn more about makefiles #googleit
MᏫᎻᎯᎷᎷᎬᎠ
I don't know a lot about Makefiles
MᏫᎻᎯᎷᎷᎬᎠ
Just hit the make commands xD
Anonymous
Any alternatives to conio.h
Dima
forget about it
Dima
whoever uses conio is probably an indian guy
Dima
> “we are sorry, you have conio.h syndrome"
Anonymous
Language: clang++ Source: #include <iostream> using namespace std; int main(int argc, char** argv) { int a, b; cout <<"enter two number...: " << endl; cin >>a >>b; cout <<endl; while (a > b){ cout <<a <<"is greater than" << b; cout <<endl; if (a > b){ cout Errors: source_file.cpp:15:8: error: expected ';' after expression cout ^ ; source_file.cpp:15:8: error: expected '}' source_file.cpp:14:13: note: to match this '{' if (a > b){ ^ source_file.cpp:15:4: warning: expression result unused [-Wunused-value] cout ^~~~ source_file.cpp:15:8: error: expected '}' cout ^ source_file.cpp:11:15: note: to match this '{' while (a > b){ ^ source_file.cpp:15:8: error: expected '}' cout ^ source_file.cpp:5:33: note: to match this '{' int main(int argc, char** argv) { ^ 1 warning and 4 errors generated.
Anonymous
i can't understand this in my pc, i can run it
Anonymous
but