does any body know a good free ebook on MFC C++ 6 plz give me the address
thanx
User Profile
Collapse
-
You can create an array of objects that is pointed by a pointer like...
CMyGraph* ptr = new CMyGraph[num];
//where num = the number of objects you want to create at run time.
then is a for loop take the points from the user at run time using the setdata function.. -
-
Need help in sorting a singly linked list...
// Linked Lists in classes(excludi ng structures) without using tail pointer
# include<iostrea m.h>
# include<stdlib. h>
void Swap(int num1, int num2)
{
int a = num1;
num2 = num1;
num2 = a;
}
class node
{
private:
int data;
node* next;
node* headptr;
public:
node()
{headptr = NULL;}
...
No activity results to display
Show More
Leave a comment: