STL (140)
OOPS (873)
C++ General (2409) • What are the desirable attributes for memory managment?
What is the use of this pointer in c++?
What is a far pointer? where we use it?
Describe the different styles of function prototypes in C++.
Why is it necessary to use a reference in the argument to the copy constructor?
When must you use a constructor initializer list?
What are member functions used in c++?
write a C++ program for booking using constructor and destructor.
What is c++ coding?
Does c++ have a hash table?
Explain selection sorting?
Is c++ used anymore?
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 How compile and run c++ program in turbo c++? What is class and object in oops?