Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javi@ubuntu:~/Desktop/Dropbox/PRO2$ g++ -c *.cpp
- Circuito.cpp: In member function ‘void Circuito::Carrera_Col(Cjt_Participantes&, const Cjt_Motos&)’:
- Circuito.cpp:22: error: expected ‘;’ before ‘}’ token
- Circuito.cpp:22: error: statement cannot resolve address of overloaded function
- Circuito.cpp: In member function ‘void Circuito::Inicializar_Circuito(int)’:
- Circuito.cpp:27: error: no matching function for call to ‘Circuito::preorden(int, int&)’
- Circuito.hpp:72: note: candidates are: Arbre<Circuito::estacion> Circuito::preorden(Arbre<Circuito::estacion>&)
- Circuito.cpp: At global scope:
- Circuito.cpp:31: error: ‘estacion’ was not declared in this scope
- Circuito.cpp:31: error: template argument 1 is invalid
- Circuito.cpp:31: error: prototype for ‘int Circuito::preorden(int, int)’ does not match any in class ‘Circuito’
- Circuito.hpp:72: error: candidate is: Arbre<Circuito::estacion> Circuito::preorden(Arbre<Circuito::estacion>&)
- Circuito.cpp:47: error: ‘estacion’ was not declared in this scope
- Circuito.cpp:47: error: template argument 1 is invalid
- Circuito.cpp:47: error: ‘estacion’ was not declared in this scope
- Circuito.cpp:47: error: template argument 1 is invalid
- Circuito.cpp: In function ‘int Carrera_Colect(int&, Cjt_Participantes&, const Cjt_Motos&)’:
- Circuito.cpp:48: error: request for member ‘es_buit’ in ‘a’, which is of non-class type ‘int’
- Circuito.cpp:50: error: ‘estacion’ was not declared in this scope
- Circuito.cpp:50: error: expected ‘;’ before ‘est’
- Circuito.cpp:51: error: ‘est’ was not declared in this scope
- Circuito.cpp:59: error: ‘estacion’ was not declared in this scope
- Circuito.cpp:59: error: template argument 1 is invalid
- Circuito.cpp:59: error: invalid type in declaration before ‘;’ token
- Circuito.cpp:60: error: ‘estacion’ cannot appear in a constant-expression
- Circuito.cpp:60: error: template argument 1 is invalid
- Circuito.cpp:60: error: invalid type in declaration before ‘;’ token
- Circuito.cpp:61: error: expected ‘;’ before ‘est’
- Circuito.cpp:64: error: request for member ‘fills’ in ‘a’, which is of non-class type ‘int’
- Circuito.cpp:65: error: ‘Carrera_Col’ was not declared in this scope
- Circuito.cpp:68: error: ‘unir_Cjt_Part’ was not declared in this scope
- Circuito.cpp:69: error: expected ‘;’ before ‘est’
- Circuito.cpp:71: error: ‘est’ was not declared in this scope
- Circuito.cpp:72: error: ‘dist’ was not declared in this scope
- Circuito.cpp:74: error: request for member ‘plantar’ in ‘a’, which is of non-class type ‘int’
- Cjt_Motos.cpp:49: error: ‘Moto’ was not declared in this scope
- Cjt_Motos.cpp:49: error: template argument 1 is invalid
- Cjt_Motos.cpp:49: error: template argument 2 is invalid
- Cjt_Motos.cpp: In function ‘Cjt_Motos lect_motos(int&)’:
- Cjt_Motos.cpp:51: error: ‘Moto’ was not declared in this scope
- Cjt_Motos.cpp:51: error: expected ‘;’ before ‘moto’
- Cjt_Motos.cpp:52: error: request for member ‘size’ in ‘mot’, which is of non-class type ‘int’
- Cjt_Motos.cpp:54: error: ‘moto’ was not declared in this scope
- Cjt_Motos.cpp:57: error: invalid types ‘int[int]’ for array subscript
- Cjt_Participantes.cpp: In constructor ‘Cjt_Participantes::Cjt_Participantes(int)’:
- Cjt_Participantes.cpp:15: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:15: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_gas_gast(int, int)’:
- Cjt_Participantes.cpp:30: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:31: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_gas_rest(int, int)’:
- Cjt_Participantes.cpp:44: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:45: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_tiempo(int, int)’:
- Cjt_Participantes.cpp:58: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:59: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::anadir_ident(int)’:
- Cjt_Participantes.cpp:71: error: ‘part’ was not declared in this scope
- Cjt_Participantes.cpp:72: error: expected primary-expression before ‘)’ token
- Cjt_Participantes.cpp: At global scope:
- Cjt_Participantes.cpp:75: error: prototype for ‘void Cjt_Participantes::restar_gas(const Cjt_Motos&, int)’ does not match any in class ‘Cjt_Participantes’
- Cjt_Participantes.hpp:77: error: candidate is: void Cjt_Participantes::restar_gas(int)
- Cjt_Participantes.cpp: In function ‘void unir_Cjt_Part(Cjt_Participantes&, Cjt_Participantes&)’:
- Cjt_Participantes.cpp:89: error: ‘Part’ was not declared in this scope
- Cjt_Participantes.cpp:89: error: template argument 1 is invalid
- Cjt_Participantes.cpp:89: error: template argument 2 is invalid
- Cjt_Participantes.cpp:89: error: expected initializer before ‘it’
- Cjt_Participantes.cpp:90: error: ‘class Cjt_Participantes’ has no member named ‘splice’
- Cjt_Participantes.cpp:90: error: ‘it’ was not declared in this scope
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::ordenar()’:
- Cjt_Participantes.cpp:95: error: ‘part’ was not declared in this scope
- Cjt_Participantes.cpp:97: error: no match for ‘operator+’ in ‘it2 + i’
- /usr/include/c++/4.4/bits/stl_bvector.h:264: note: candidates are: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&)
- /usr/include/c++/4.4/bits/stl_bvector.h:350: note: std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
- Cjt_Participantes.cpp:99: error: no match for ‘operator-’ in ‘it2 - 1’
- /usr/include/c++/4.4/bits/stl_bvector.h:179: note: candidates are: ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&)
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::repostar(const Cjt_Motos&, int&, int)’:
- Cjt_Participantes.cpp:130: error: ‘part’ was not declared in this scope
- Cjt_Participantes.cpp:132: error: ‘ident’ was not declared in this scope
- Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_num_part() const’:
- Cjt_Participantes.cpp:159: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_gas_gast(int) const’:
- Cjt_Participantes.cpp:166: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:167: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_gas_rest(int) const’:
- Cjt_Participantes.cpp:181: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:182: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_tiempo(int) const’:
- Cjt_Participantes.cpp:196: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp:197: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
- Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::escribir_cjt_part() const’:
- Cjt_Participantes.cpp:208: error: ‘part’ was not declared in this scope
- Cjt_Participantes.cpp: At global scope:
- Cjt_Participantes.cpp:223: error: expected initializer before ‘:’ token
- main.cpp: In function ‘int main()’:
- main.cpp:12: error: ‘Inicializar_Circuito’ was not declared in this scope
- main.cpp:13: error: expected ‘;’ before ‘mot’
- main.cpp:14: error: ‘mot’ was not declared in this scope
- main.cpp:14: error: ‘inicializar_cjt_motos’ was not declared in this scope
- main.cpp:15: error: expected ‘;’ before ‘part’
- main.cpp:22: error: expected ‘:’ before ‘circ’
- main.cpp:22: error: ‘part’ was not declared in this scope
- main.cpp:22: error: ‘Carrera_Col’ was not declared in this scope
- main.cpp:27: error: expected ‘:’ before ‘circ’
- main.cpp:27: error: ‘ident’ was not declared in this scope
- main.cpp:31: error: expected ‘:’ before ‘Inicializar_Circuito’
- main.cpp:34: error: expected ‘:’ before ‘inicializar_cjt_motos’
- main.cpp:37: error: expected ‘:’ before ‘rank’
- Ranking.cpp: In member function ‘void Ranking::escribir_ranking() const’:
- Ranking.cpp:29: error: missing template arguments before ‘it’
- Ranking.cpp:29: error: expected ‘;’ before ‘it’
- Ranking.cpp:30: error: ‘it’ was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement