Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.09 KB | None | 0 0
  1. javi@ubuntu:~/Desktop/Dropbox/PRO2$ g++ -c *.cpp
  2. Circuito.cpp: In member function ‘void Circuito::Carrera_Col(Cjt_Participantes&, const Cjt_Motos&)’:
  3. Circuito.cpp:21: error: no matching function for call to ‘Circuito::Carrera_Colect()’
  4. Circuito.hpp:76: note: candidates are: Arbre<Circuito::estacion> Circuito::Carrera_Colect(Arbre<Circuito::estacion>&, Cjt_Participantes&, const Cjt_Motos&)
  5. Circuito.cpp: At global scope:
  6. Circuito.cpp:31: error: ‘estacion’ was not declared in this scope
  7. Circuito.cpp:31: error: template argument 1 is invalid
  8. Circuito.cpp:31: error: prototype for ‘int Circuito::preorden(int, int)’ does not match any in class ‘Circuito’
  9. Circuito.hpp:72: error: candidate is: Arbre<Circuito::estacion> Circuito::preorden(int, int)
  10. Circuito.cpp:47: error: ‘estacion’ was not declared in this scope
  11. Circuito.cpp:47: error: template argument 1 is invalid
  12. Circuito.cpp:47: error: ‘estacion’ was not declared in this scope
  13. Circuito.cpp:47: error: template argument 1 is invalid
  14. Circuito.cpp: In function ‘int Carrera_Colect(int&, Cjt_Participantes&, const Cjt_Motos&)’:
  15. Circuito.cpp:48: error: request for member ‘es_buit’ in ‘a’, which is of non-class type ‘int’
  16. Circuito.cpp:50: error: ‘estacion’ was not declared in this scope
  17. Circuito.cpp:50: error: expected ‘;’ before ‘est’
  18. Circuito.cpp:51: error: ‘est’ was not declared in this scope
  19. Circuito.cpp:59: error: ‘estacion’ was not declared in this scope
  20. Circuito.cpp:59: error: template argument 1 is invalid
  21. Circuito.cpp:59: error: invalid type in declaration before ‘;’ token
  22. Circuito.cpp:60: error: ‘estacion’ cannot appear in a constant-expression
  23. Circuito.cpp:60: error: template argument 1 is invalid
  24. Circuito.cpp:60: error: invalid type in declaration before ‘;’ token
  25. Circuito.cpp:61: error: expected ‘;’ before ‘est’
  26. Circuito.cpp:64: error: request for member ‘fills’ in ‘a’, which is of non-class type ‘int’
  27. Circuito.cpp:65: error: ‘Carrera_Col’ was not declared in this scope
  28. Circuito.cpp:68: error: ‘unir_Cjt_Part’ was not declared in this scope
  29. Circuito.cpp:69: error: expected ‘;’ before ‘est’
  30. Circuito.cpp:71: error: ‘est’ was not declared in this scope
  31. Circuito.cpp:72: error: ‘dist’ was not declared in this scope
  32. Circuito.cpp:74: error: request for member ‘plantar’ in ‘a’, which is of non-class type ‘int’
  33. Cjt_Motos.cpp:49: error: ‘Moto’ was not declared in this scope
  34. Cjt_Motos.cpp:49: error: template argument 1 is invalid
  35. Cjt_Motos.cpp:49: error: template argument 2 is invalid
  36. Cjt_Motos.cpp: In function ‘Cjt_Motos lect_motos(int&)’:
  37. Cjt_Motos.cpp:51: error: ‘Moto’ was not declared in this scope
  38. Cjt_Motos.cpp:51: error: expected ‘;’ before ‘moto’
  39. Cjt_Motos.cpp:52: error: request for member ‘size’ in ‘mot’, which is of non-class type ‘int’
  40. Cjt_Motos.cpp:54: error: ‘moto’ was not declared in this scope
  41. Cjt_Motos.cpp:57: error: invalid types ‘int[int]’ for array subscript
  42. Cjt_Participantes.cpp: In constructor ‘Cjt_Participantes::Cjt_Participantes(int)’:
  43. Cjt_Participantes.cpp:15: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  44. Cjt_Participantes.cpp:15: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  45. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_gas_gast(int, int)’:
  46. Cjt_Participantes.cpp:30: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  47. Cjt_Participantes.cpp:31: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  48. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_gas_rest(int, int)’:
  49. Cjt_Participantes.cpp:44: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  50. Cjt_Participantes.cpp:45: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  51. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::modificar_tiempo(int, int)’:
  52. Cjt_Participantes.cpp:58: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  53. Cjt_Participantes.cpp:59: error: ‘((Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  54. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::anadir_ident(int)’:
  55. Cjt_Participantes.cpp:71: error: ‘part’ was not declared in this scope
  56. Cjt_Participantes.cpp:72: error: expected primary-expression before ‘)’ token
  57. Cjt_Participantes.cpp: At global scope:
  58. Cjt_Participantes.cpp:75: error: prototype for ‘void Cjt_Participantes::restar_gas(const Cjt_Motos&, int)’ does not match any in class ‘Cjt_Participantes’
  59. Cjt_Participantes.hpp:77: error: candidate is: void Cjt_Participantes::restar_gas(int)
  60. Cjt_Participantes.cpp: In function ‘void unir_Cjt_Part(Cjt_Participantes&, Cjt_Participantes&)’:
  61. Cjt_Participantes.cpp:89: error: ‘Part’ was not declared in this scope
  62. Cjt_Participantes.cpp:89: error: template argument 1 is invalid
  63. Cjt_Participantes.cpp:89: error: template argument 2 is invalid
  64. Cjt_Participantes.cpp:89: error: expected initializer before ‘it’
  65. Cjt_Participantes.cpp:90: error: ‘class Cjt_Participantes’ has no member named ‘splice’
  66. Cjt_Participantes.cpp:90: error: ‘it’ was not declared in this scope
  67. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::ordenar()’:
  68. Cjt_Participantes.cpp:95: error: ‘part’ was not declared in this scope
  69. Cjt_Participantes.cpp:97: error: no match for ‘operator+’ in ‘it2 + i’
  70. /usr/include/c++/4.4/bits/stl_bvector.h:264: note: candidates are: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&)
  71. /usr/include/c++/4.4/bits/stl_bvector.h:350: note: std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
  72. Cjt_Participantes.cpp:99: error: no match for ‘operator-’ in ‘it2 - 1’
  73. /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&)
  74. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::repostar(const Cjt_Motos&, int&, int)’:
  75. Cjt_Participantes.cpp:130: error: ‘part’ was not declared in this scope
  76. Cjt_Participantes.cpp:132: error: ‘ident’ was not declared in this scope
  77. Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_num_part() const’:
  78. Cjt_Participantes.cpp:159: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  79. Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_gas_gast(int) const’:
  80. Cjt_Participantes.cpp:166: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  81. Cjt_Participantes.cpp:167: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  82. Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_gas_rest(int) const’:
  83. Cjt_Participantes.cpp:181: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  84. Cjt_Participantes.cpp:182: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  85. Cjt_Participantes.cpp: In member function ‘int Cjt_Participantes::consul_tiempo(int) const’:
  86. Cjt_Participantes.cpp:196: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  87. Cjt_Participantes.cpp:197: error: ‘((const Cjt_Participantes*)this)->Cjt_Participantes::cjt_part’ does not have class type
  88. Cjt_Participantes.cpp: In member function ‘void Cjt_Participantes::escribir_cjt_part() const’:
  89. Cjt_Participantes.cpp:208: error: ‘part’ was not declared in this scope
  90. Cjt_Participantes.cpp: At global scope:
  91. Cjt_Participantes.cpp:223: error: expected initializer before ‘:’ token
  92. main.cpp: In function ‘int main()’:
  93. main.cpp:12: error: ‘Inicializar_Circuito’ was not declared in this scope
  94. main.cpp:13: error: expected ‘;’ before ‘mot’
  95. main.cpp:14: error: ‘mot’ was not declared in this scope
  96. main.cpp:14: error: ‘inicializar_cjt_motos’ was not declared in this scope
  97. main.cpp:15: error: expected ‘;’ before ‘part’
  98. main.cpp:22: error: expected ‘:’ before ‘circ’
  99. main.cpp:22: error: ‘part’ was not declared in this scope
  100. main.cpp:22: error: ‘Carrera_Col’ was not declared in this scope
  101. main.cpp:27: error: expected ‘:’ before ‘circ’
  102. main.cpp:27: error: ‘ident’ was not declared in this scope
  103. main.cpp:31: error: expected ‘:’ before ‘Inicializar_Circuito’
  104. main.cpp:34: error: expected ‘:’ before ‘inicializar_cjt_motos’
  105. main.cpp:37: error: expected ‘:’ before ‘rank’
  106. Ranking.cpp: In member function ‘void Ranking::escribir_ranking() const’:
  107. Ranking.cpp:29: error: missing template arguments before ‘it’
  108. Ranking.cpp:29: error: expected ‘;’ before ‘it’
  109. Ranking.cpp:30: error: ‘it’ was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement