ok that fixed that error but now its in the linking that there is an error not in compile:
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol "bool __cdecl spot(int,int,in t,int &,int,int,in t)" (?spot@@YA_NHHH AAHHHH@Z) referenced in function "void __cdecl Simulacao(class CNoFila &,int &,int,int &,int)" (?Simulacao@@YA XAAVCNoFila@@AA HH1H@Z)
1>main.obj : error...
User Profile
Collapse
-
yeah that fixed it!!!
well e continued the solution and came across this errors....but i cant see how to solve....i get the errors(:S) but i'm kind of stuck here
Class.h:
Code:class CNoFila{ public: int evento; int tempo; int numcliente; int numlugar; int tempochegada; CNoFila *Proximo; }; class CFilaLavagem{ public:
Leave a comment:
-
i was able to fix some errors.....
now there is only one and i don't get it.....
function Simulacao():
Code:void Simulacao(CNoFila &L, int &t, int n1, int &carrosout, int n2) { CNoFila *Actual; Actual = &L; while( (Actual != NULL) && (t < n2)){ CNoFila *Aux; cout << "Chegada de um carro";
Leave a comment:
-
The function Simulation() should receive a pointer Actual to one member of a list and by recursion go through the entire list calling itself with Actual being the next member of the list using this line:
Actual = Actual.Proximo;
wich is like:
Actual = Actual.Next;
so when the function reaches the end of the list, it would stop, being the pointer Actual = NULL
PS:sword117 o problema tambem...Leave a comment:
-
errors with operand "!=" ???
Hi, i'm doing a project in Visual C++....in Portuguese....i 'm hoping you can help figure out the problem eventhough it's not in english...
here is the whole code....incompl ete in the int main and it's missing some functions but i wanted to solve this errors before i keep going
Class.h
Code:class CNoFila{ public: int evento; int tempo; int numcliente; int numlugar; int
No activity results to display
Show More
Leave a comment: