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 |
What is a constructor in c++ with example?
Write about an iterator class?
make a middle node of doubly linklist to the top of the list
What is a stack? How it can be implemented?
What is the difference between global variables and local variable
Are there interfaces in c++?
What do you mean by call by value and call by reference?
Can we sort map in c++?
Can turbo c++ run c program?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
Why use of template is better than a base class?
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; }