Member Avatar

Hi all, I have a double link list program that compiles ok, and when I run it, I get a message box saying that windows needs to stop the program. Here is the code: [CODE] #include <iostream> #include <conio.h> using namespace std; class linklist { private: struct dnode { dnode *prev; int data; dnode *next; }*p; public: linklist(); ~linklist(); void d_addatbeg(int num); void d_append(int num); void d_addafter(int loc,int num); void d_delete(int num); }; linklist::linklist() { p = NULL; } linklist::~linklist() { dnode *q; while (q->next != NULL) { q = p->next; delete p; p = q; } } void linklist::d_addatbeg(int …

Member Avatar
+0 forum 2
Member Avatar

have you ever wondered what is going on with all these new designer x-breed dogs that around? And what about the names they have? EG labradoodle - labrador x poodle schnoodle - schnauzer x poodle spoodle - cocker spaniel x poodle multipoo - maltese x poodle westypoo - west highland terrier x poodle (what is it with using poodles? couldn't think of a worst breed to cross breeds with!) jug - jack russell x pug and countless others. Here's a question for you to ponder.... what would you get if you crossed a bull terrier with a shitzu? mmmm......... have …

Member Avatar
+0 forum 1
Member Avatar

hi everyone! just thought i'd check in and see how you all are. Not going too bad with my c++ programming, I am rather new to it even though I'm a little familiar with other languages like java and php etc. I just completed my first c++ test in class last monday and got 17 out of 20 (85%), though i thought i could have done better. Am pleased that I got top marks for my first assignment. Am currently in the middle of my second assignment, which, at first glance, i did a OMG! I read on some more …

Member Avatar
+0 forum 7
Member Avatar

Hi all, Heres a question I feel really stupid asking. How do I update my profile? cannot seem to find a link for this. Thanks nm

Member Avatar
+0 forum 2
Member Avatar

Just thought I'd drop by and introduce myself. I feel a little guily as I joined up about a month ago, and was intending to introduce myself, but as I have been busy, I sort of put it aside. Well anyway, about me: I am a mature age student (I dont feel it necessary to reveal my true age yet!) who is currently studying for a diploma in IT (software development) at TAFE. Tafe, for non-aussies, stands for Technical and Further Education. Its a tertiary level, mainly with skills that many industries are looking for (business, IT, hospitality, engineering etc). …

Member Avatar
+0 forum 2
Member Avatar

Hi there! I am just starting out in c++ and so far, its going ok. I have a small problem in a simple program that is frustrating me, so I am hoping someone will point me in the right direction of where I've gone wrong. The program basically prompts the user to input two integer values, then outputs all the odd numbers between these two integer values (and their squares), and also outputs all the even numbers between the two inputted values, along with the sum of these even numbers. I have the program working sufficiently, so long as the …

Member Avatar
+1 forum 5

The End.