Kaday
Hi, i wish any one to explain how to hack safaricom data bundles
ENOENT
that's not a thing you can "just do"
ENOENT
(it's also kinda off topic)
ENOENT
(and illegal)
Nuriddin Kamardinov
Hello everyone
Enildo
Fida
There's a way if you know how to change your phones imei
Mirko
@EvgeniyZh SPAM
Evgenii
@EvgeniyZh SPAM
I'm not admin
Evgenii
@Mester11
Mirko
ooooooooooohhhhh sorry because not remember the nickname
Anonymous
Mirko
nothing... I am always calm :D
Mirko
https://scontent-mxp1-1.xx.fbcdn.net/v/t1.0-9/12006155_10206711563280600_220443983341074917_n.jpg?oh=9b674e31d3866b5e17b0da14003677e2&oe=590F2B79
Mirko
😜 for @Mester11
ENOENT
shame, 200 members and no discussion, at all :/
Edurolp
next year i'll probably take this subject http://is.muni.cz/course/fi/spring2017/PV264 and i will be here more 😆
correctmaninwrongplace
Next month i will ask a lot possibly , dont worry
correctmaninwrongplace
and , oh , last monday i had an exam that last 5 hours , i was asked about java , c# , clojure , c++ and cuda
correctmaninwrongplace
and all of them with control of concurrency if they allow it
Russell
Fun stuff :P
correctmaninwrongplace
Not even close
correctmaninwrongplace
its a fucking hell
correctmaninwrongplace
And he ask things that no ones knows
correctmaninwrongplace
and if you want to know to most of them people would create a program to test it
correctmaninwrongplace
but you cant execute a program that you write in a paper
Russell
gross
Russell
why you shouldn't go to college :)
Russell
(I mean I'm in high school but I'm not all that pro-college)
many
but you cant execute a program that you write in a paper
That means you don't have to create a program that works, i dont think the marker will test all of your code
correctmaninwrongplace
That the thing, the exam was test of multiple choice, not of coding
Carl
Boiiii!
correctmaninwrongplace
Welcome
Jakhongir
Buenas tardes a todos!
Anonymous
Hi
Anonymous
Hitler WTF
Carl
What are some good sources to learn c++
Anonymous
From Telegram
▼ Hatsune mUkko
Gaerxaih
Carl
English and Swedish
Carl
That playlist looks good, thank you!
VI SH NU_
Ex cuse me can you expalin the data types in javascript ???????
VI SH NU_
Thank you
khasbilegt
How to use Graphics.h on linux? I am using Codeblocks as my IDE
Russell
Graphics.h from what package?
Russell
This? https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1126/materials/cppdoc/graphics.html
Hugues
Hello!
Russell
Hi!
Anonymous
Hae guyz....
Oluwaseyi
Help, I need some project topic on ardinuo
Russell
WHat sort of projcets are you guys making with C++? Just curious :)
correctmaninwrongplace
correctmaninwrongplace
it works with terminal
Evgenii
Neural nets
Hafiz Hilman
Fron now on, Visual SLAM ^^
correctmaninwrongplace
correctmaninwrongplace
Does someone knows why i get that error?
Eu
you have declared C::n in class{...}, but you have not defined it
Eu
you need to add one line like: int C::n; in any part of the file in the global scope
Eu
in other words, you have said "I have some variable named C::n" to the linker, but you haven't said where it lives in memory. It's the same problem as if you declare an extern variable in a plain C header, but you never instantiate it :)
Eu
You're welcome! :)
correctmaninwrongplace
Hi again , i have a question , if im going ot override some operators , when should i override it as a friend operator and when should i overload it inside the class?
correctmaninwrongplace
I dont understand the differences
Eu
As MY PERSONAL rule of thumb, I never overload operators or friends class unless there is a good reason to do so. - Never overload an operator except if there is a good reason to do so, and you are pretty sure that it will have the expected behavior. Maths operations on matrix, complex, etc and stream operators (<<, >>) are valid cases, for example. It's easy to make an overload with high computational costs or or (for the class user) unexpected behavior. For example, Matrix*Matrix is matrix multiplication or member-by-member multiplication? If you overload the operator, every new user will have to ask this question every time it try to use the overload! However, they could simplify a lot operations like M1+M2+M3, but they could be difficult to spot that kind of performance bottlenecks - Never use friend class unless there is a good reason to do so. In my case, the only reason to use them is to avoid to expose implementation of private functions. I explain, sometimes I hate to have to expose private functions in the header file (maybe I'm too used to plain C encapsulation). With a friend class, I can declare this kind of complex private functions in another class, that will live all in the .c file, so I don't have to expose too much (this is a difficult item to explain in an IM short item, please let me know if you want clarification) Both said, I would always use inside the class functions/operators unless there is something really complex, and I would never put something really complex in an operator overload, I prefer to use a clear and explicit member function for it :)
Eu
at the time of using it, I think that the compiler will generate the same code in both ways, maybe someone has a different experience on that.
Eu
regarding the *override* part, if you are trying to override a virtual method, you can't override it in a friend function. You need to use a mehod in class, but, again, I will try to keep the overloads simple :)
Eu
I don't know if I've write down too much, please let me know if that is the case and you were asking for a different angle :)
correctmaninwrongplace
i looked for another angle , but is usefull what you have told me , overall for the virtual methods , is a valid answer
Eu
In short, I would try to always go for the class method definition, and only if there is a good reason for do the other way, I would do the friend way
correctmaninwrongplace
so never overload as global outside the classes
Eu
but it's easy to find that cases: For example, the output string stream operator. If you want to make it simple, you need to use a friend member (1), because making it a C class member would make the left hand side of the operator need to be a C class object, that it's counter intuitive. The function signature has to be: ostringstream &operator<<(ostringstream &lhs, C &rhs);
correctmaninwrongplace
Ok
Eu
but this is my personal experience, maybe some other developer tell you that friends are always better :)