Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
3351how 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 is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
1761Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
1 2801What is a mutex and a critical section.Whats difference between them?How do each of them work?
CTS,
4 11652What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same
CTS,
3 7047Post New C++ General Questions
What do you mean by inheritance in c++?
How do you define a class in c++?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What are the comments in c++?
Explain virtual class and friend class.
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is a constructor and how is it called?
Should the this pointer can be used in the constructor?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
Which bit wise operator is suitable for putting on a particular bit in a number?
Why pointer is used in c++?
What are all predefined data types in c++?
What is class in c++ with example?
What is function declaration in c++ with example?
What does return 0 do in c++?