STL (140)
OOPS (873)
C++ General (2409) What are the two types of polymorphism?
Can we provide one default constructor for our class?
Can you please explain the difference between using macro and inline functions?
What is c++ namespace?
What are manipulators used for?
Is c++ faster than c?
Who made c++?
Does dev c++ support c++ 11?
What is vector pair in c++?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include Why was c++ created? What sorting algorithm does c++ use? Why is c++ not purely object oriented? What is polymorphism and its type in c++? What is prototype in c++ with example?