I have a breadth first search that I've been toying with for a bit, and it works very well. The problem is, that if it has to perform more than a certain number of comparisons it freezes my computer....
Type: Posts; User: projektaquarius
I have a breadth first search that I've been toying with for a bit, and it works very well. The problem is, that if it has to perform more than a certain number of comparisons it freezes my computer....
found where it was wrong. Kinda of wish I had known what was going on last weekend. Thanks a lot.
I have a forms application that I am writing but I am currently stuck on one section. I need to make buttons whose text field changes on button click.
I have tried:
button.Text="string";
and...
thanks
I'm making a delete function for a linked list, but it is not working correctly, it is causing massive problems when it reaches if statements. Can someone point me in the right direction please....
as this is causing me too much problems I'm going to turn in a hugely half assed project, I don't care anymore
I know this is probably annoying you but, it's due in 11 hours and i have to work tomorrow morning.
one question though, is anything wrong with this:
else
{temp=front;...
#include <iostream.h>
#include <string.h>
struct object
{
int date;
int time;
string description;
object *next;
};
yeah I fixed that, the garbage is just remnants of stupid randomness I used to try and get it to work. but does cin.get work for strings or is it only arrays, I've only seen it used with an array....
my bad I apologize about the temp loop thing (I didn't see what you were talking about). But I'm using an almost perfectly ansi correct compiler and it doesn't work without .h at the end of the...
Figured I should post these before people start posting anything else
With this assignment you will learn how to manage lists of data. You will use a linked list to organize the data.
The...
object *event;
object *temp;
event=new object;
I allocate memory in the variable declarations. And the rest of what you posted was just style issues that didn't help at all
Okay for an assigment I have to create a date book using a linked list, but I am having trouble getting the thing to link and display. My display loop is infinite for some reason and data entry fills...