Forum: C++ Mar 14th, 2005 |
| Replies: 2 Views: 14,124 nevermind i figured out the problem.
if ((fin[j]==false) && (nd[j] < ava[1]))
I changed ava to an int instead of an array of ints. So it should look like this:
if ((fin[j]==false) && ... |
Forum: C++ Mar 14th, 2005 |
| Replies: 2 Views: 14,124 This seems like a simple task but the microsoft visual c++ 6.0 compiler is giving me a problem with this. Its complaining about the lines where i try to use a passed array such as "fin[i]=0".
Its... |
Forum: C Feb 27th, 2005 |
| Replies: 0 Views: 1,624 hi there,
I have a linked of structures that I created, but i wanted to implement it using classes. here is a sample of my code that works perfect. The struct, and a function to insert items into... |
Forum: C++ Feb 7th, 2005 |
| Replies: 6 Views: 14,236 okay. thanks. I was just wondering why the -> operator wasn't working.
Also, would it be possible to create this same structure, but with a doubly linked ring, or a balanced tree? Instead of using... |
Forum: C++ Feb 7th, 2005 |
| Replies: 6 Views: 14,236 I'm sorry, i cut and pasted the wrong thing last time. It should have pasted it like this.
#include <stdio.h>
#include <stddef.h>
#define MAX_EVENTS 100
//Structure for Queue Elements... |
Forum: C++ Feb 7th, 2005 |
| Replies: 6 Views: 14,236 HI guys,
This code dosn't compile, I think it is right but it gives an error when i use the -> to access the members of my struct.
#include <stdio.h>
#include <stddef.h>
#define... |