edvard_davtyan

Untitled

Mar 23rd, 2016
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.64 KB | None | 0 0
  1. a.cpp: In instantiation of ‘void masFirst(X*, int, int) [with X = pt*]’:
  2. a.cpp:66:23: required from here
  3. a.cpp:20:17: error: no match for ‘operator>>’ (operand types are ‘std::istream {aka std::basic_istream<char>}’ and ‘pt’)
  4. cin >> mas[i][j];
  5. ^
  6. a.cpp:20:17: note: candidates are:
  7. In file included from /usr/include/c++/4.8/iostream:40:0,
  8. from a.cpp:1:
  9. /usr/include/c++/4.8/istream:120:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  10. operator>>(__istream_type& (*__pf)(__istream_type&))
  11. ^
  12. /usr/include/c++/4.8/istream:120:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&) {aka std::basic_istream<char>& (*)(std::basic_istream<char>&)}’
  13. /usr/include/c++/4.8/istream:124:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
  14. operator>>(__ios_type& (*__pf)(__ios_type&))
  15. ^
  16. /usr/include/c++/4.8/istream:124:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
  17. /usr/include/c++/4.8/istream:131:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  18. operator>>(ios_base& (*__pf)(ios_base&))
  19. ^
  20. /usr/include/c++/4.8/istream:131:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::ios_base& (*)(std::ios_base&)’
  21. /usr/include/c++/4.8/istream:168:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  22. operator>>(bool& __n)
  23. ^
  24. /usr/include/c++/4.8/istream:168:7: note: no known conversion for argument 1 from ‘pt’ to ‘bool&’
  25. /usr/include/c++/4.8/istream:172:7: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]
  26. operator>>(short& __n);
  27. ^
  28. /usr/include/c++/4.8/istream:172:7: note: no known conversion for argument 1 from ‘pt’ to ‘short int&’
  29. /usr/include/c++/4.8/istream:175:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  30. operator>>(unsigned short& __n)
  31. ^
  32. /usr/include/c++/4.8/istream:175:7: note: no known conversion for argument 1 from ‘pt’ to ‘short unsigned int&’
  33. /usr/include/c++/4.8/istream:179:7: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]
  34. operator>>(int& __n);
  35. ^
  36. /usr/include/c++/4.8/istream:179:7: note: no known conversion for argument 1 from ‘pt’ to ‘int&’
  37. /usr/include/c++/4.8/istream:182:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  38. operator>>(unsigned int& __n)
  39. ^
  40. /usr/include/c++/4.8/istream:182:7: note: no known conversion for argument 1 from ‘pt’ to ‘unsigned int&’
  41. /usr/include/c++/4.8/istream:186:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  42. operator>>(long& __n)
  43. ^
  44. /usr/include/c++/4.8/istream:186:7: note: no known conversion for argument 1 from ‘pt’ to ‘long int&’
  45. /usr/include/c++/4.8/istream:190:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  46. operator>>(unsigned long& __n)
  47. ^
  48. /usr/include/c++/4.8/istream:190:7: note: no known conversion for argument 1 from ‘pt’ to ‘long unsigned int&’
  49. /usr/include/c++/4.8/istream:195:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  50. operator>>(long long& __n)
  51. ^
  52. /usr/include/c++/4.8/istream:195:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long int&’
  53. /usr/include/c++/4.8/istream:199:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  54. operator>>(unsigned long long& __n)
  55. ^
  56. /usr/include/c++/4.8/istream:199:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long unsigned int&’
  57. /usr/include/c++/4.8/istream:214:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  58. operator>>(float& __f)
  59. ^
  60. /usr/include/c++/4.8/istream:214:7: note: no known conversion for argument 1 from ‘pt’ to ‘float&’
  61. /usr/include/c++/4.8/istream:218:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  62. operator>>(double& __f)
  63. ^
  64. /usr/include/c++/4.8/istream:218:7: note: no known conversion for argument 1 from ‘pt’ to ‘double&’
  65. /usr/include/c++/4.8/istream:222:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  66. operator>>(long double& __f)
  67. ^
  68. /usr/include/c++/4.8/istream:222:7: note: no known conversion for argument 1 from ‘pt’ to ‘long double&’
  69. /usr/include/c++/4.8/istream:235:7: note: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]
  70. operator>>(void*& __p)
  71. ^
  72. /usr/include/c++/4.8/istream:235:7: note: no known conversion for argument 1 from ‘pt’ to ‘void*&’
  73. /usr/include/c++/4.8/istream:259:7: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
  74. operator>>(__streambuf_type* __sb);
  75. ^
  76. /usr/include/c++/4.8/istream:259:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_istream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
  77. In file included from /usr/include/c++/4.8/string:53:0,
  78. from /usr/include/c++/4.8/bits/locale_classes.h:40,
  79. from /usr/include/c++/4.8/bits/ios_base.h:41,
  80. from /usr/include/c++/4.8/ios:42,
  81. from /usr/include/c++/4.8/ostream:38,
  82. from /usr/include/c++/4.8/iostream:39,
  83. from a.cpp:1:
  84. /usr/include/c++/4.8/bits/basic_string.tcc:996:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)
  85. operator>>(basic_istream<_CharT, _Traits>& __in,
  86. ^
  87. /usr/include/c++/4.8/bits/basic_string.tcc:996:5: note: template argument deduction/substitution failed:
  88. a.cpp:20:17: note: ‘pt’ is not derived from ‘std::basic_string<_CharT, _Traits, _Alloc>’
  89. cin >> mas[i][j];
  90. ^
  91. In file included from /usr/include/c++/4.8/istream:882:0,
  92. from /usr/include/c++/4.8/iostream:40,
  93. from a.cpp:1:
  94. /usr/include/c++/4.8/bits/istream.tcc:955:5: note: template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)
  95. operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
  96. ^
  97. /usr/include/c++/4.8/bits/istream.tcc:955:5: note: template argument deduction/substitution failed:
  98. a.cpp:20:17: note: mismatched types ‘_CharT2*’ and ‘pt’
  99. cin >> mas[i][j];
  100. ^
  101. In file included from /usr/include/c++/4.8/istream:882:0,
  102. from /usr/include/c++/4.8/iostream:40,
  103. from a.cpp:1:
  104. /usr/include/c++/4.8/bits/istream.tcc:923:5: note: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)
  105. operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
  106. ^
  107. /usr/include/c++/4.8/bits/istream.tcc:923:5: note: template argument deduction/substitution failed:
  108. a.cpp:20:17: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘pt’)
  109. cin >> mas[i][j];
  110. ^
  111. In file included from /usr/include/c++/4.8/iostream:40:0,
  112. from a.cpp:1:
  113. /usr/include/c++/4.8/istream:727:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)
  114. operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
  115. ^
  116. /usr/include/c++/4.8/istream:727:5: note: template argument deduction/substitution failed:
  117. a.cpp:20:17: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘unsigned char&’
  118. cin >> mas[i][j];
  119. ^
  120. In file included from /usr/include/c++/4.8/iostream:40:0,
  121. from a.cpp:1:
  122. /usr/include/c++/4.8/istream:732:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)
  123. operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
  124. ^
  125. /usr/include/c++/4.8/istream:732:5: note: template argument deduction/substitution failed:
  126. a.cpp:20:17: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘signed char&’
  127. cin >> mas[i][j];
  128. ^
  129. In file included from /usr/include/c++/4.8/iostream:40:0,
  130. from a.cpp:1:
  131. /usr/include/c++/4.8/istream:774:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)
  132. operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
  133. ^
  134. /usr/include/c++/4.8/istream:774:5: note: template argument deduction/substitution failed:
  135. a.cpp:20:17: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘unsigned char*’
  136. cin >> mas[i][j];
  137. ^
  138. In file included from /usr/include/c++/4.8/iostream:40:0,
  139. from a.cpp:1:
  140. /usr/include/c++/4.8/istream:779:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)
  141. operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
  142. ^
  143. /usr/include/c++/4.8/istream:779:5: note: template argument deduction/substitution failed:
  144. a.cpp:20:17: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘signed char*’
  145. cin >> mas[i][j];
  146. ^
  147. a.cpp: In instantiation of ‘void masSecond(X*, int, int) [with X = pt*]’:
  148. a.cpp:67:24: required from here
  149. a.cpp:31:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream {aka std::basic_ostream<char>}’ and ‘pt’)
  150. cout << mas[i][j]<<"\t";
  151. ^
  152. a.cpp:31:18: note: candidates are:
  153. In file included from /usr/include/c++/4.8/iostream:39:0,
  154. from a.cpp:1:
  155. /usr/include/c++/4.8/ostream:108:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  156. operator<<(__ostream_type& (*__pf)(__ostream_type&))
  157. ^
  158. /usr/include/c++/4.8/ostream:108:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}’
  159. /usr/include/c++/4.8/ostream:117:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
  160. operator<<(__ios_type& (*__pf)(__ios_type&))
  161. ^
  162. /usr/include/c++/4.8/ostream:117:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
  163. /usr/include/c++/4.8/ostream:127:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  164. operator<<(ios_base& (*__pf) (ios_base&))
  165. ^
  166. /usr/include/c++/4.8/ostream:127:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::ios_base& (*)(std::ios_base&)’
  167. /usr/include/c++/4.8/ostream:166:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  168. operator<<(long __n)
  169. ^
  170. /usr/include/c++/4.8/ostream:166:7: note: no known conversion for argument 1 from ‘pt’ to ‘long int’
  171. /usr/include/c++/4.8/ostream:170:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  172. operator<<(unsigned long __n)
  173. ^
  174. /usr/include/c++/4.8/ostream:170:7: note: no known conversion for argument 1 from ‘pt’ to ‘long unsigned int’
  175. /usr/include/c++/4.8/ostream:174:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  176. operator<<(bool __n)
  177. ^
  178. /usr/include/c++/4.8/ostream:174:7: note: no known conversion for argument 1 from ‘pt’ to ‘bool’
  179. In file included from /usr/include/c++/4.8/ostream:612:0,
  180. from /usr/include/c++/4.8/iostream:39,
  181. from a.cpp:1:
  182. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
  183. basic_ostream<_CharT, _Traits>::
  184. ^
  185. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from ‘pt’ to ‘short int’
  186. In file included from /usr/include/c++/4.8/iostream:39:0,
  187. from a.cpp:1:
  188. /usr/include/c++/4.8/ostream:181:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  189. operator<<(unsigned short __n)
  190. ^
  191. /usr/include/c++/4.8/ostream:181:7: note: no known conversion for argument 1 from ‘pt’ to ‘short unsigned int’
  192. In file included from /usr/include/c++/4.8/ostream:612:0,
  193. from /usr/include/c++/4.8/iostream:39,
  194. from a.cpp:1:
  195. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
  196. basic_ostream<_CharT, _Traits>::
  197. ^
  198. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from ‘pt’ to ‘int’
  199. In file included from /usr/include/c++/4.8/iostream:39:0,
  200. from a.cpp:1:
  201. /usr/include/c++/4.8/ostream:192:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  202. operator<<(unsigned int __n)
  203. ^
  204. /usr/include/c++/4.8/ostream:192:7: note: no known conversion for argument 1 from ‘pt’ to ‘unsigned int’
  205. /usr/include/c++/4.8/ostream:201:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  206. operator<<(long long __n)
  207. ^
  208. /usr/include/c++/4.8/ostream:201:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long int’
  209. /usr/include/c++/4.8/ostream:205:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  210. operator<<(unsigned long long __n)
  211. ^
  212. /usr/include/c++/4.8/ostream:205:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long unsigned int’
  213. /usr/include/c++/4.8/ostream:220:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  214. operator<<(double __f)
  215. ^
  216. /usr/include/c++/4.8/ostream:220:7: note: no known conversion for argument 1 from ‘pt’ to ‘double’
  217. /usr/include/c++/4.8/ostream:224:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  218. operator<<(float __f)
  219. ^
  220. /usr/include/c++/4.8/ostream:224:7: note: no known conversion for argument 1 from ‘pt’ to ‘float’
  221. /usr/include/c++/4.8/ostream:232:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  222. operator<<(long double __f)
  223. ^
  224. /usr/include/c++/4.8/ostream:232:7: note: no known conversion for argument 1 from ‘pt’ to ‘long double’
  225. /usr/include/c++/4.8/ostream:245:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  226. operator<<(const void* __p)
  227. ^
  228. /usr/include/c++/4.8/ostream:245:7: note: no known conversion for argument 1 from ‘pt’ to ‘const void*’
  229. In file included from /usr/include/c++/4.8/ostream:612:0,
  230. from /usr/include/c++/4.8/iostream:39,
  231. from a.cpp:1:
  232. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
  233. basic_ostream<_CharT, _Traits>::
  234. ^
  235. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
  236. In file included from /usr/include/c++/4.8/string:52:0,
  237. from /usr/include/c++/4.8/bits/locale_classes.h:40,
  238. from /usr/include/c++/4.8/bits/ios_base.h:41,
  239. from /usr/include/c++/4.8/ios:42,
  240. from /usr/include/c++/4.8/ostream:38,
  241. from /usr/include/c++/4.8/iostream:39,
  242. from a.cpp:1:
  243. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  244. operator<<(basic_ostream<_CharT, _Traits>& __os,
  245. ^
  246. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template argument deduction/substitution failed:
  247. a.cpp:31:18: note: ‘pt’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
  248. cout << mas[i][j]<<"\t";
  249. ^
  250. In file included from /usr/include/c++/4.8/iostream:39:0,
  251. from a.cpp:1:
  252. /usr/include/c++/4.8/ostream:471:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
  253. operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
  254. ^
  255. /usr/include/c++/4.8/ostream:471:5: note: template argument deduction/substitution failed:
  256. a.cpp:31:18: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘pt’)
  257. cout << mas[i][j]<<"\t";
  258. ^
  259. In file included from /usr/include/c++/4.8/iostream:39:0,
  260. from a.cpp:1:
  261. /usr/include/c++/4.8/ostream:476:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
  262. operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
  263. ^
  264. /usr/include/c++/4.8/ostream:476:5: note: template argument deduction/substitution failed:
  265. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘char’
  266. cout << mas[i][j]<<"\t";
  267. ^
  268. In file included from /usr/include/c++/4.8/iostream:39:0,
  269. from a.cpp:1:
  270. /usr/include/c++/4.8/ostream:482:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
  271. operator<<(basic_ostream<char, _Traits>& __out, char __c)
  272. ^
  273. /usr/include/c++/4.8/ostream:482:5: note: template argument deduction/substitution failed:
  274. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘char’
  275. cout << mas[i][j]<<"\t";
  276. ^
  277. In file included from /usr/include/c++/4.8/iostream:39:0,
  278. from a.cpp:1:
  279. /usr/include/c++/4.8/ostream:488:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
  280. operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
  281. ^
  282. /usr/include/c++/4.8/ostream:488:5: note: template argument deduction/substitution failed:
  283. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘signed char’
  284. cout << mas[i][j]<<"\t";
  285. ^
  286. In file included from /usr/include/c++/4.8/iostream:39:0,
  287. from a.cpp:1:
  288. /usr/include/c++/4.8/ostream:493:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
  289. operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
  290. ^
  291. /usr/include/c++/4.8/ostream:493:5: note: template argument deduction/substitution failed:
  292. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘unsigned char’
  293. cout << mas[i][j]<<"\t";
  294. ^
  295. In file included from /usr/include/c++/4.8/iostream:39:0,
  296. from a.cpp:1:
  297. /usr/include/c++/4.8/ostream:513:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
  298. operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
  299. ^
  300. /usr/include/c++/4.8/ostream:513:5: note: template argument deduction/substitution failed:
  301. a.cpp:31:18: note: mismatched types ‘const _CharT*’ and ‘pt’
  302. cout << mas[i][j]<<"\t";
  303. ^
  304. In file included from /usr/include/c++/4.8/ostream:612:0,
  305. from /usr/include/c++/4.8/iostream:39,
  306. from a.cpp:1:
  307. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
  308. operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
  309. ^
  310. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed:
  311. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const char*’
  312. cout << mas[i][j]<<"\t";
  313. ^
  314. In file included from /usr/include/c++/4.8/iostream:39:0,
  315. from a.cpp:1:
  316. /usr/include/c++/4.8/ostream:530:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
  317. operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
  318. ^
  319. /usr/include/c++/4.8/ostream:530:5: note: template argument deduction/substitution failed:
  320. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const char*’
  321. cout << mas[i][j]<<"\t";
  322. ^
  323. In file included from /usr/include/c++/4.8/iostream:39:0,
  324. from a.cpp:1:
  325. /usr/include/c++/4.8/ostream:543:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
  326. operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
  327. ^
  328. /usr/include/c++/4.8/ostream:543:5: note: template argument deduction/substitution failed:
  329. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const signed char*’
  330. cout << mas[i][j]<<"\t";
  331. ^
  332. In file included from /usr/include/c++/4.8/iostream:39:0,
  333. from a.cpp:1:
  334. /usr/include/c++/4.8/ostream:548:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
  335. operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
  336. ^
  337. /usr/include/c++/4.8/ostream:548:5: note: template argument deduction/substitution failed:
  338. a.cpp:31:18: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const unsigned char*’
  339. cout << mas[i][j]<<"\t";
  340. ^
  341. a.cpp: In instantiation of ‘void masAns(X*, int, int) [with X = pt*]’:
  342. a.cpp:68:21: required from here
  343. a.cpp:45:22: error: no match for ‘operator<<’ (operand types are ‘std::ostream {aka std::basic_ostream<char>}’ and ‘pt’)
  344. cout << mas[i][j]<<"\t";
  345. ^
  346. a.cpp:45:22: note: candidates are:
  347. In file included from /usr/include/c++/4.8/iostream:39:0,
  348. from a.cpp:1:
  349. /usr/include/c++/4.8/ostream:108:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  350. operator<<(__ostream_type& (*__pf)(__ostream_type&))
  351. ^
  352. /usr/include/c++/4.8/ostream:108:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}’
  353. /usr/include/c++/4.8/ostream:117:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
  354. operator<<(__ios_type& (*__pf)(__ios_type&))
  355. ^
  356. /usr/include/c++/4.8/ostream:117:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
  357. /usr/include/c++/4.8/ostream:127:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  358. operator<<(ios_base& (*__pf) (ios_base&))
  359. ^
  360. /usr/include/c++/4.8/ostream:127:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::ios_base& (*)(std::ios_base&)’
  361. /usr/include/c++/4.8/ostream:166:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  362. operator<<(long __n)
  363. ^
  364. /usr/include/c++/4.8/ostream:166:7: note: no known conversion for argument 1 from ‘pt’ to ‘long int’
  365. /usr/include/c++/4.8/ostream:170:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  366. operator<<(unsigned long __n)
  367. ^
  368. /usr/include/c++/4.8/ostream:170:7: note: no known conversion for argument 1 from ‘pt’ to ‘long unsigned int’
  369. /usr/include/c++/4.8/ostream:174:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  370. operator<<(bool __n)
  371. ^
  372. /usr/include/c++/4.8/ostream:174:7: note: no known conversion for argument 1 from ‘pt’ to ‘bool’
  373. In file included from /usr/include/c++/4.8/ostream:612:0,
  374. from /usr/include/c++/4.8/iostream:39,
  375. from a.cpp:1:
  376. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
  377. basic_ostream<_CharT, _Traits>::
  378. ^
  379. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from ‘pt’ to ‘short int’
  380. In file included from /usr/include/c++/4.8/iostream:39:0,
  381. from a.cpp:1:
  382. /usr/include/c++/4.8/ostream:181:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  383. operator<<(unsigned short __n)
  384. ^
  385. /usr/include/c++/4.8/ostream:181:7: note: no known conversion for argument 1 from ‘pt’ to ‘short unsigned int’
  386. In file included from /usr/include/c++/4.8/ostream:612:0,
  387. from /usr/include/c++/4.8/iostream:39,
  388. from a.cpp:1:
  389. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
  390. basic_ostream<_CharT, _Traits>::
  391. ^
  392. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from ‘pt’ to ‘int’
  393. In file included from /usr/include/c++/4.8/iostream:39:0,
  394. from a.cpp:1:
  395. /usr/include/c++/4.8/ostream:192:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  396. operator<<(unsigned int __n)
  397. ^
  398. /usr/include/c++/4.8/ostream:192:7: note: no known conversion for argument 1 from ‘pt’ to ‘unsigned int’
  399. /usr/include/c++/4.8/ostream:201:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  400. operator<<(long long __n)
  401. ^
  402. /usr/include/c++/4.8/ostream:201:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long int’
  403. /usr/include/c++/4.8/ostream:205:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  404. operator<<(unsigned long long __n)
  405. ^
  406. /usr/include/c++/4.8/ostream:205:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long unsigned int’
  407. /usr/include/c++/4.8/ostream:220:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  408. operator<<(double __f)
  409. ^
  410. /usr/include/c++/4.8/ostream:220:7: note: no known conversion for argument 1 from ‘pt’ to ‘double’
  411. /usr/include/c++/4.8/ostream:224:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  412. operator<<(float __f)
  413. ^
  414. /usr/include/c++/4.8/ostream:224:7: note: no known conversion for argument 1 from ‘pt’ to ‘float’
  415. /usr/include/c++/4.8/ostream:232:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  416. operator<<(long double __f)
  417. ^
  418. /usr/include/c++/4.8/ostream:232:7: note: no known conversion for argument 1 from ‘pt’ to ‘long double’
  419. /usr/include/c++/4.8/ostream:245:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  420. operator<<(const void* __p)
  421. ^
  422. /usr/include/c++/4.8/ostream:245:7: note: no known conversion for argument 1 from ‘pt’ to ‘const void*’
  423. In file included from /usr/include/c++/4.8/ostream:612:0,
  424. from /usr/include/c++/4.8/iostream:39,
  425. from a.cpp:1:
  426. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
  427. basic_ostream<_CharT, _Traits>::
  428. ^
  429. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
  430. In file included from /usr/include/c++/4.8/string:52:0,
  431. from /usr/include/c++/4.8/bits/locale_classes.h:40,
  432. from /usr/include/c++/4.8/bits/ios_base.h:41,
  433. from /usr/include/c++/4.8/ios:42,
  434. from /usr/include/c++/4.8/ostream:38,
  435. from /usr/include/c++/4.8/iostream:39,
  436. from a.cpp:1:
  437. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  438. operator<<(basic_ostream<_CharT, _Traits>& __os,
  439. ^
  440. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template argument deduction/substitution failed:
  441. a.cpp:45:22: note: ‘pt’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
  442. cout << mas[i][j]<<"\t";
  443. ^
  444. In file included from /usr/include/c++/4.8/iostream:39:0,
  445. from a.cpp:1:
  446. /usr/include/c++/4.8/ostream:471:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
  447. operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
  448. ^
  449. /usr/include/c++/4.8/ostream:471:5: note: template argument deduction/substitution failed:
  450. a.cpp:45:22: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘pt’)
  451. cout << mas[i][j]<<"\t";
  452. ^
  453. In file included from /usr/include/c++/4.8/iostream:39:0,
  454. from a.cpp:1:
  455. /usr/include/c++/4.8/ostream:476:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
  456. operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
  457. ^
  458. /usr/include/c++/4.8/ostream:476:5: note: template argument deduction/substitution failed:
  459. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘char’
  460. cout << mas[i][j]<<"\t";
  461. ^
  462. In file included from /usr/include/c++/4.8/iostream:39:0,
  463. from a.cpp:1:
  464. /usr/include/c++/4.8/ostream:482:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
  465. operator<<(basic_ostream<char, _Traits>& __out, char __c)
  466. ^
  467. /usr/include/c++/4.8/ostream:482:5: note: template argument deduction/substitution failed:
  468. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘char’
  469. cout << mas[i][j]<<"\t";
  470. ^
  471. In file included from /usr/include/c++/4.8/iostream:39:0,
  472. from a.cpp:1:
  473. /usr/include/c++/4.8/ostream:488:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
  474. operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
  475. ^
  476. /usr/include/c++/4.8/ostream:488:5: note: template argument deduction/substitution failed:
  477. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘signed char’
  478. cout << mas[i][j]<<"\t";
  479. ^
  480. In file included from /usr/include/c++/4.8/iostream:39:0,
  481. from a.cpp:1:
  482. /usr/include/c++/4.8/ostream:493:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
  483. operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
  484. ^
  485. /usr/include/c++/4.8/ostream:493:5: note: template argument deduction/substitution failed:
  486. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘unsigned char’
  487. cout << mas[i][j]<<"\t";
  488. ^
  489. In file included from /usr/include/c++/4.8/iostream:39:0,
  490. from a.cpp:1:
  491. /usr/include/c++/4.8/ostream:513:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
  492. operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
  493. ^
  494. /usr/include/c++/4.8/ostream:513:5: note: template argument deduction/substitution failed:
  495. a.cpp:45:22: note: mismatched types ‘const _CharT*’ and ‘pt’
  496. cout << mas[i][j]<<"\t";
  497. ^
  498. In file included from /usr/include/c++/4.8/ostream:612:0,
  499. from /usr/include/c++/4.8/iostream:39,
  500. from a.cpp:1:
  501. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
  502. operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
  503. ^
  504. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed:
  505. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const char*’
  506. cout << mas[i][j]<<"\t";
  507. ^
  508. In file included from /usr/include/c++/4.8/iostream:39:0,
  509. from a.cpp:1:
  510. /usr/include/c++/4.8/ostream:530:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
  511. operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
  512. ^
  513. /usr/include/c++/4.8/ostream:530:5: note: template argument deduction/substitution failed:
  514. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const char*’
  515. cout << mas[i][j]<<"\t";
  516. ^
  517. In file included from /usr/include/c++/4.8/iostream:39:0,
  518. from a.cpp:1:
  519. /usr/include/c++/4.8/ostream:543:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
  520. operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
  521. ^
  522. /usr/include/c++/4.8/ostream:543:5: note: template argument deduction/substitution failed:
  523. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const signed char*’
  524. cout << mas[i][j]<<"\t";
  525. ^
  526. In file included from /usr/include/c++/4.8/iostream:39:0,
  527. from a.cpp:1:
  528. /usr/include/c++/4.8/ostream:548:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
  529. operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
  530. ^
  531. /usr/include/c++/4.8/ostream:548:5: note: template argument deduction/substitution failed:
  532. a.cpp:45:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + ((sizetype)(((long unsigned int)j) * 8ul)))’ (type ‘pt’) to type ‘const unsigned char*’
  533. cout << mas[i][j]<<"\t";
  534. ^
  535. a.cpp:52:22: error: no match for ‘operator<<’ (operand types are ‘std::ostream {aka std::basic_ostream<char>}’ and ‘pt’)
  536. cout << mas[i][b - j - 1]<<"\t";
  537. ^
  538. a.cpp:52:22: note: candidates are:
  539. In file included from /usr/include/c++/4.8/iostream:39:0,
  540. from a.cpp:1:
  541. /usr/include/c++/4.8/ostream:108:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  542. operator<<(__ostream_type& (*__pf)(__ostream_type&))
  543. ^
  544. /usr/include/c++/4.8/ostream:108:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}’
  545. /usr/include/c++/4.8/ostream:117:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
  546. operator<<(__ios_type& (*__pf)(__ios_type&))
  547. ^
  548. /usr/include/c++/4.8/ostream:117:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
  549. /usr/include/c++/4.8/ostream:127:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  550. operator<<(ios_base& (*__pf) (ios_base&))
  551. ^
  552. /usr/include/c++/4.8/ostream:127:7: note: no known conversion for argument 1 from ‘pt’ to ‘std::ios_base& (*)(std::ios_base&)’
  553. /usr/include/c++/4.8/ostream:166:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  554. operator<<(long __n)
  555. ^
  556. /usr/include/c++/4.8/ostream:166:7: note: no known conversion for argument 1 from ‘pt’ to ‘long int’
  557. /usr/include/c++/4.8/ostream:170:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  558. operator<<(unsigned long __n)
  559. ^
  560. /usr/include/c++/4.8/ostream:170:7: note: no known conversion for argument 1 from ‘pt’ to ‘long unsigned int’
  561. /usr/include/c++/4.8/ostream:174:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  562. operator<<(bool __n)
  563. ^
  564. /usr/include/c++/4.8/ostream:174:7: note: no known conversion for argument 1 from ‘pt’ to ‘bool’
  565. In file included from /usr/include/c++/4.8/ostream:612:0,
  566. from /usr/include/c++/4.8/iostream:39,
  567. from a.cpp:1:
  568. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
  569. basic_ostream<_CharT, _Traits>::
  570. ^
  571. /usr/include/c++/4.8/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from ‘pt’ to ‘short int’
  572. In file included from /usr/include/c++/4.8/iostream:39:0,
  573. from a.cpp:1:
  574. /usr/include/c++/4.8/ostream:181:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  575. operator<<(unsigned short __n)
  576. ^
  577. /usr/include/c++/4.8/ostream:181:7: note: no known conversion for argument 1 from ‘pt’ to ‘short unsigned int’
  578. In file included from /usr/include/c++/4.8/ostream:612:0,
  579. from /usr/include/c++/4.8/iostream:39,
  580. from a.cpp:1:
  581. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
  582. basic_ostream<_CharT, _Traits>::
  583. ^
  584. /usr/include/c++/4.8/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from ‘pt’ to ‘int’
  585. In file included from /usr/include/c++/4.8/iostream:39:0,
  586. from a.cpp:1:
  587. /usr/include/c++/4.8/ostream:192:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  588. operator<<(unsigned int __n)
  589. ^
  590. /usr/include/c++/4.8/ostream:192:7: note: no known conversion for argument 1 from ‘pt’ to ‘unsigned int’
  591. /usr/include/c++/4.8/ostream:201:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  592. operator<<(long long __n)
  593. ^
  594. /usr/include/c++/4.8/ostream:201:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long int’
  595. /usr/include/c++/4.8/ostream:205:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  596. operator<<(unsigned long long __n)
  597. ^
  598. /usr/include/c++/4.8/ostream:205:7: note: no known conversion for argument 1 from ‘pt’ to ‘long long unsigned int’
  599. /usr/include/c++/4.8/ostream:220:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  600. operator<<(double __f)
  601. ^
  602. /usr/include/c++/4.8/ostream:220:7: note: no known conversion for argument 1 from ‘pt’ to ‘double’
  603. /usr/include/c++/4.8/ostream:224:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  604. operator<<(float __f)
  605. ^
  606. /usr/include/c++/4.8/ostream:224:7: note: no known conversion for argument 1 from ‘pt’ to ‘float’
  607. /usr/include/c++/4.8/ostream:232:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  608. operator<<(long double __f)
  609. ^
  610. /usr/include/c++/4.8/ostream:232:7: note: no known conversion for argument 1 from ‘pt’ to ‘long double’
  611. /usr/include/c++/4.8/ostream:245:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
  612. operator<<(const void* __p)
  613. ^
  614. /usr/include/c++/4.8/ostream:245:7: note: no known conversion for argument 1 from ‘pt’ to ‘const void*’
  615. In file included from /usr/include/c++/4.8/ostream:612:0,
  616. from /usr/include/c++/4.8/iostream:39,
  617. from a.cpp:1:
  618. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
  619. basic_ostream<_CharT, _Traits>::
  620. ^
  621. /usr/include/c++/4.8/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from ‘pt’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
  622. In file included from /usr/include/c++/4.8/string:52:0,
  623. from /usr/include/c++/4.8/bits/locale_classes.h:40,
  624. from /usr/include/c++/4.8/bits/ios_base.h:41,
  625. from /usr/include/c++/4.8/ios:42,
  626. from /usr/include/c++/4.8/ostream:38,
  627. from /usr/include/c++/4.8/iostream:39,
  628. from a.cpp:1:
  629. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  630. operator<<(basic_ostream<_CharT, _Traits>& __os,
  631. ^
  632. /usr/include/c++/4.8/bits/basic_string.h:2753:5: note: template argument deduction/substitution failed:
  633. a.cpp:52:22: note: ‘pt’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
  634. cout << mas[i][b - j - 1]<<"\t";
  635. ^
  636. In file included from /usr/include/c++/4.8/iostream:39:0,
  637. from a.cpp:1:
  638. /usr/include/c++/4.8/ostream:471:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
  639. operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
  640. ^
  641. /usr/include/c++/4.8/ostream:471:5: note: template argument deduction/substitution failed:
  642. a.cpp:52:22: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘pt’)
  643. cout << mas[i][b - j - 1]<<"\t";
  644. ^
  645. In file included from /usr/include/c++/4.8/iostream:39:0,
  646. from a.cpp:1:
  647. /usr/include/c++/4.8/ostream:476:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
  648. operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
  649. ^
  650. /usr/include/c++/4.8/ostream:476:5: note: template argument deduction/substitution failed:
  651. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘char’
  652. cout << mas[i][b - j - 1]<<"\t";
  653. ^
  654. In file included from /usr/include/c++/4.8/iostream:39:0,
  655. from a.cpp:1:
  656. /usr/include/c++/4.8/ostream:482:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
  657. operator<<(basic_ostream<char, _Traits>& __out, char __c)
  658. ^
  659. /usr/include/c++/4.8/ostream:482:5: note: template argument deduction/substitution failed:
  660. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘char’
  661. cout << mas[i][b - j - 1]<<"\t";
  662. ^
  663. In file included from /usr/include/c++/4.8/iostream:39:0,
  664. from a.cpp:1:
  665. /usr/include/c++/4.8/ostream:488:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
  666. operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
  667. ^
  668. /usr/include/c++/4.8/ostream:488:5: note: template argument deduction/substitution failed:
  669. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘signed char’
  670. cout << mas[i][b - j - 1]<<"\t";
  671. ^
  672. In file included from /usr/include/c++/4.8/iostream:39:0,
  673. from a.cpp:1:
  674. /usr/include/c++/4.8/ostream:493:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
  675. operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
  676. ^
  677. /usr/include/c++/4.8/ostream:493:5: note: template argument deduction/substitution failed:
  678. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘unsigned char’
  679. cout << mas[i][b - j - 1]<<"\t";
  680. ^
  681. In file included from /usr/include/c++/4.8/iostream:39:0,
  682. from a.cpp:1:
  683. /usr/include/c++/4.8/ostream:513:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
  684. operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
  685. ^
  686. /usr/include/c++/4.8/ostream:513:5: note: template argument deduction/substitution failed:
  687. a.cpp:52:22: note: mismatched types ‘const _CharT*’ and ‘pt’
  688. cout << mas[i][b - j - 1]<<"\t";
  689. ^
  690. In file included from /usr/include/c++/4.8/ostream:612:0,
  691. from /usr/include/c++/4.8/iostream:39,
  692. from a.cpp:1:
  693. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
  694. operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
  695. ^
  696. /usr/include/c++/4.8/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed:
  697. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘const char*’
  698. cout << mas[i][b - j - 1]<<"\t";
  699. ^
  700. In file included from /usr/include/c++/4.8/iostream:39:0,
  701. from a.cpp:1:
  702. /usr/include/c++/4.8/ostream:530:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
  703. operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
  704. ^
  705. /usr/include/c++/4.8/ostream:530:5: note: template argument deduction/substitution failed:
  706. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘const char*’
  707. cout << mas[i][b - j - 1]<<"\t";
  708. ^
  709. In file included from /usr/include/c++/4.8/iostream:39:0,
  710. from a.cpp:1:
  711. /usr/include/c++/4.8/ostream:543:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
  712. operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
  713. ^
  714. /usr/include/c++/4.8/ostream:543:5: note: template argument deduction/substitution failed:
  715. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘const signed char*’
  716. cout << mas[i][b - j - 1]<<"\t";
  717. ^
  718. In file included from /usr/include/c++/4.8/iostream:39:0,
  719. from a.cpp:1:
  720. /usr/include/c++/4.8/ostream:548:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
  721. operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
  722. ^
  723. /usr/include/c++/4.8/ostream:548:5: note: template argument deduction/substitution failed:
  724. a.cpp:52:22: note: cannot convert ‘*((*(mas + ((sizetype)(((long unsigned int)i) * 8ul)))) + (((sizetype)(((long unsigned int)(b - j)) * 8ul)) + 18446744073709551608u))’ (type ‘pt’) to type ‘const unsigned char*’
  725. cout << mas[i][b - j - 1]<<"\t";
  726. ^
Advertisement
Add Comment
Please, Sign In to add comment