yeap I've posted twice by mistake :(
float is more precise as I wrote
c2=c1+2.4;
2.4 seems to be float rather than integer .. even if I add integer value, it will be automatically up-casted...
Type: Posts; User: afesheir
yeap I've posted twice by mistake :(
float is more precise as I wrote
c2=c1+2.4;
2.4 seems to be float rather than integer .. even if I add integer value, it will be automatically up-casted...
laserlight .. that's fine, but what's wrong with my code ? why does (friend) keyword cause my program to operate or not to operate ??
grumpy .. it doesn't work meaning that I get garbage output,...
laserlight .. that's fine, but what's wrong with my code ? why does (friend) keyword cause my program to operate or not to operate ??
grumpy .. it doesn't work meaning that I get garbage output,...
dear everybody ..
I'm trying to understand operator overloading with my class (Complex) that handles complex numbers .. I'd like to allow such an operation
Complex c1(2,-3); ...
Thanks Elysia :)
is it true that structs don't allow inheritance ?
Dear everybody ..
I've skimmed the web, searching for actual difference between classes and structures in C++ .. I've found no more than:
* struct defaults to public, while classe defaults...
Thanks guys .. this was very helpful ..
It's a pleasure to add the following:
x86 - What is stack frame in assembly? - Stack Overflow
Stack Frame
Dear experts ..
Since 2 years, I've seen C code that has been shattered and strange symbols have appeared .. when I asked why, I was told that this is a method to make your code (unreadable) for...
sorry Sir ?
Dear everybody ..
I'm wondering what happens behind the scene when a function encounters return statement, and hence it starts to pass the value to the caller routine .. how does this process...