Advertisement
Guest User

Untitled

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