STL (140)
OOPS (873)
C++ General (2409)
What is c++ similar to?
What are c++ stream classes?
Explain the difference between method overriding and method overloading in C++?
What are the two types of polymorphism?
Which is the best c++ compiler for beginners?
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 What are stacks? Why do we use constructor? What does it mean to declare a destructor as static? How stl is different from the c++ standard library? Why can templates only be implemented in the header file? What is auto type c++? What is destructor give example? What is dynamic and static typing? What is a class definition?