Data Structures In C++ Tutorial Writing Data Structures using OOP in C++
#46
Posted 11 May 2009 - 08:23 AM
hi everyone out there.........
i am new to pointers and dont know exactly how to removw and avoid MEMORY LEAKS in a program........
please let me know if anybody has a link to any such tutorial.......
i am new to pointers and dont know exactly how to removw and avoid MEMORY LEAKS in a program........
please let me know if anybody has a link to any such tutorial.......
#48
Posted 03 August 2009 - 07:31 AM
Thanks for the time taken to do this, Highly Appreciated
Keep up the good work
Keep up the good work
#49
Posted 24 September 2009 - 01:36 PM
Im Sorry... Im newb to coding... don't know what ur doing
Im SOrry
#50
Posted 25 September 2009 - 06:57 AM
else
{
for(int j=0;j<=al;j++)
{
if((j+1)<=al)
{
tmp=t[j+1];
t[j]=tmp;
}
else
{
al--;
if(al==-1)
dl=-1;
else
dl=0;
}
}
}
}
i didnt understand this piece of code j+1<=al what does this represent ....
can u plz explain the whole thing?
#53
Posted 29 October 2009 - 04:39 AM
ByteWyse, on 6 Jan, 2007 - 10:38 AM, said:
born2c0de, on 6 Jan, 2007 - 05:32 AM, said:
I had no idea that endl also flushes buffers.
Are you sure?
Thanks for the info
Are you sure?
Thanks for the info
Yep.
See: http://www.cplusplus...ators/endl.html
Thx .
#54
Posted 23 December 2009 - 01:50 PM
One of the best tutorials I have read. Better done even than some on cplusplus.com.
Someone give this guy a medal.... I would have thanked you but i don't see a "This post was helpful!" link?
Someone give this guy a medal.... I would have thanked you but i don't see a "This post was helpful!" link?
#56 Guest_Deepak*
Posted 19 August 2010 - 12:19 AM
hi this was a greal help to me as i washad a big tree phobia b4 reading ur post..thanx a lot. Will you please write a post on BST GRAPHS.
#58
Posted 27 September 2010 - 03:51 AM
the tutorial was extremely good . Now i'm taking data structure course
in my college and it really helped me understanding the course.
Thanks
in my college and it really helped me understanding the course.
Thanks
#59
Posted 06 January 2011 - 02:18 PM
In the class tree, the functions:
Are the arguments:
void findparent(int n,int &found,leaf* &parent); void findfordel(int n,int &found,leaf *&parent,leaf* &x);
Are the arguments:
leaf *&parent,leaf* &xeven legal? Can someone tell me what type they actually are? They look like they are pointers-to-references to me, and I didn't think it was correct so I just deleted the '&'.
#60
Posted 17 January 2011 - 12:27 PM
Hi i liked the nested structs it's the right thing to do, i never used it.
just a question in the first linked list source code u didn't write the copy constructor and operator=, why?? For the sake of simplicity?? i think it wont work well without it.
for example this produces an error:
just a question in the first linked list source code u didn't write the copy constructor and operator=, why?? For the sake of simplicity?? i think it wont work well without it.
for example this produces an error:
linklist ll, chain; ll.append(1); ll.append(2); ll.append(3); chain= ll; chain.del(2); ll.display();
|
|








MultiQuote




|