how to create window program in c++.please explain.



how to create window program in c++.please explain...

Answer / siddarth

generally for GUI related topics we go for the VC++ where
there are all sorts of GUI components and events are present

for c++,we can go for the concept of mouse programming for
creating windows,buttons etc

you can greate buttons by drawing rectangles present in
library "graphics.h" and by using mouse registers ax,bx,cx,dx
present in UNION REGS in dos.h,
etc............
heres the link
http://www.cprogrammingreference.com/Tutorials/Advance_Tutorials/mouseprogramming.php

ALL THE BEST

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is a constructor in c++ with example?

0 Answers  


Write about an iterator class?

0 Answers  


make a middle node of doubly linklist to the top of the list

1 Answers  


What is a stack? How it can be implemented?

0 Answers  


What is the difference between global variables and local variable

0 Answers  






Are there interfaces in c++?

0 Answers  


What do you mean by call by value and call by reference?

1 Answers  


Can we sort map in c++?

0 Answers  


Can turbo c++ run c program?

0 Answers  


Which bit wise operator is suitable for checking whether a particular bit is on or off?

0 Answers  


Why use of template is better than a base class?

0 Answers  


Find out the bug in this code,because of that this code will not compile....... #include <iostream> #include <new> #include <cstring> using namespace std; class balance { double cur_bal; char name[80]; public: balance(double n, char *s) { cur_bal = n; strcpy(name, s); } ~balance() { cout << "Destructing "; cout << name << "\n"; } void set(double n, char *s) { cur_bal = n; strcpy(name, s); } void get_bal(double &n, char *s) { n = cur_bal; strcpy(s, name); } }; int main() { balance *p; char s[80]; double n; int i; try { p = new balance [3]; // allocate entire array } catch (bad_alloc xa) { cout << "Allocation Failure\n"; return 1; }

2 Answers   Impetus,


Categories