User Profile

Collapse

Profile Sidebar

Collapse
vtuning
vtuning
Last Activity: Jul 14 '10, 11:46 AM
Joined: Jul 8 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vtuning
    replied to errors with operand "!=" ???
    in C
    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...
    See more | Go to post

    Leave a comment:


  • vtuning
    replied to errors with operand "!=" ???
    in C
    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:
    ...
    See more | Go to post

    Leave a comment:


  • vtuning
    replied to errors with operand "!=" ???
    in C
    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";
    ...
    See more | Go to post

    Leave a comment:


  • vtuning
    replied to errors with operand "!=" ???
    in C
    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...
    See more | Go to post

    Leave a comment:


  • vtuning
    started a topic errors with operand "!=" ???
    in C

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...