Форум программистов, компьютерный форум CyberForum.ru

C++ с встроенными классами - C++

Войти
Регистрация
Восстановить пароль
Другие темы раздела
C++ Найти произведение элементов массива, расположенных между макси- мальным и минимальным элементами http://www.cyberforum.ru/cpp-beginners/thread979964.html
#include<iostream.h> #include<iomanip.h> #include<math.h> void MinMax(int a,int,int*,int*,int*,int*); int main() { int a,i,n,min,imin,max,imax;
C++ max i min как такое сделать? http://www.cyberforum.ru/cpp-beginners/thread979952.html
Попадет ли пушка по движущемуся кораблю. C++
Пушка стреляет под углом А по кораблю, находящемуся от нее на расстоянии R. Нос корабля повернут по направлению к пушке, и расстояние измеряется до середины корабля. Длина корабля равна L, и начальная скорость снаряда равна V0. Написать программу, которая выводит одно из сообщений "ПОПАЛ" или "ПРОМАХ", в зависимости от того, попал ли снаряд в цель. Сопротивлением воздуха пренебречь.
C++ Ошибка в аргументе функции
Доброго времени суток. В университете дали такое задание: Составить программу на основе ветвления, концепция задачи такова: (Преподаватель очень весёлый человек, так что не удивляйтесь) Задан двумерный динамический массив, задающий высоты платформ, по которым прыгает "жук". Количество платформ задано размерами массива. Он должен добраться к "жучихе" и собрать для неё...
C++ Задача СИ++ треугольник http://www.cyberforum.ru/cpp-beginners/thread979926.html
Ребят нужен код к программе на Си++(Треугольник задан координатами сторон.Определить его тип(остроугольный,тупоугольный,прямоугольный) или выдать сообщение о том,что треугольник не существует с такими сторонами. Выручайте)
C++ Ошибочные данные SF_INFO libsndfile #include <stdio.h> #include <sndfile.h> //wav #include <iostream> //out #include <cstdlib> //pause #include <string.h> using namespace std; int main() { подробнее

Показать сообщение отдельно
ugodaj
0 / 0 / 0
Регистрация: 08.09.2012
Сообщений: 42
18.10.2013, 13:17  [ТС]     C++ с встроенными классами
Как бы всё тоже самое токо пишет где компилятор g++ 1 1 "C:\Users\Dimka\Desktop\Untitled1.cpp [Error] 'g' does not name a type" А какое имя компилятора у меня где его посмотреть?

Добавлено через 3 минуты
Вот лог компилятора с этой строкой перед кодом:
General: MinGW GCC 4.7.2 32-bit Release
Executing g++.exe...
g++.exe "C:\Users\Dimka\Desktop\Untitled1.cpp" -o "C:\Users\Dimka\Desktop\Untitled1.exe" -I"C:\Program Files (x86)\Dev-Cpp\MinGW32\include" -I"C:\Program Files (x86)\Dev-Cpp\MinGW32\lib\gcc\mingw32\4.7.2\include\c++" -L"C:\Program Files (x86)\Dev-Cpp\MinGW32\lib" -L"C:\Program Files (x86)\Dev-Cpp\MinGW32\mingw32\lib" -static-libstdc++ -static-libgcc
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/random:35:0,
from C:\Users\Dimka\Desktop\Untitled1.cpp:4:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

C:\Users\Dimka\Desktop\Untitled1.cpp:1:1: error: 'gdb' does not name a type

In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:41:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:106:66: error: 'std::size_t' has not been declared

c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:108:14: error: 'size_t' in namespace 'std' does not name a type
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:112:39: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:115:57: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:118:57: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:121:35: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:147:64: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)':
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:149:12: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:149:12: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:41:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:149:24: error: expected ';' before '__i'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:149:33: error: '__i' was not declared in this scope
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h: At global scope:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:158:5: error: 'size_t' in namespace 'std' does not name a type
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:171:37: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h: In static member function 'static const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)':
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:173:12: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:173:12: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'

In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:41:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:173:24: error: expected ';' before '__i'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:173:33: error: '__i' was not declared in this scope
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h: At global scope:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:182:55: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:191:55: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/char_traits.h:201:33: error: 'std::size_t' has not been declared
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:93:31: error: declaration of 'operator new' as non-function
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:93:20: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:93:20: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:95:33: error: declaration of 'operator new []' as non-function

c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:95:22: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:95:22: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:101:25: error: declaration of 'operator new' as non-function
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:101:20: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:101:20: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:101:33: error: expected primary-expression before 'const'

c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:103:27: error: declaration of 'operator new []' as non-function
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:103:22: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:103:22: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:103:35: error: expected primary-expression before 'const'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:111:32: error: declaration of 'operator new' as non-function
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:111:27: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:111:27: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:111:40: error: expected primary-expression before 'void'

c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:113:34: error: declaration of 'operator new []' as non-function
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:113:29: error: 'size_t' is not a member of 'std'
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:113:29: note: suggested alternative:
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/../../../../include/wchar.h:26:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/cwchar:46,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/postypes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:39,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/stddef.h:213:23: note: 'size_t'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:113:42: error: expected primary-expression before 'void'
In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/c++allocator.h:34:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/allocator.h:48,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/locale_classes.h:42,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/ios_base.h:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ios:43,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ostream:40,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/iostream:40,
from C:\Users\Dimka\Desktop\Untitled1.cpp:2:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:42:14: error: 'std::size_t' has not been declared
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/ext/new_allocator.h:43:14: error: 'std:trdiff_t' has not been declared

In file included from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_algo.h:64:0,
from c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/algorithm:63,
from C:\Users\Dimka\Desktop\Untitled1.cpp:5:
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_tempbuf.h: In function 'std:air<_Tp*, int> std::get_temporary_buffer(ptrdiff_t)':
c:\program files (x86)\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_tempbuf.h:97:20: error: too many arguments to function 'void* operator new(unsigned int)'
<built-in>:0:0: note: declared here
C:\Users\Dimka\Desktop\Untitled1.cpp: In function 'int main()':
C:\Users\Dimka\Desktop\Untitled1.cpp:15:5: error: 'mt19937' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:15:18: error: expected ';' before 'gen'
C:\Users\Dimka\Desktop\Untitled1.cpp:16:5: error: 'uniform_int_distribution' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:16:35: error: expected primary-expression before 'int'
C:\Users\Dimka\Desktop\Untitled1.cpp:16:35: error: expected ';' before 'int'
C:\Users\Dimka\Desktop\Untitled1.cpp:17:10: error: 'print_v' does not name a type
C:\Users\Dimka\Desktop\Untitled1.cpp:23:19: error: 'begin' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:23:34: error: 'end' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:23:49: error: 'uid' was not declared in this scope
C:\Users\Dimka\Desktop\Untitled1.cpp:23:55: error: 'gen' was not declared in this scope
C:\Users\Dimka\Desktop\Untitled1.cpp: In lambda function:
C:\Users\Dimka\Desktop\Untitled1.cpp:23:69: error: 'uid' is not captured
C:\Users\Dimka\Desktop\Untitled1.cpp:23:73: error: 'gen' is not captured
C:\Users\Dimka\Desktop\Untitled1.cpp:23:79: error: return-statement with a value, in function returning 'void' [-fpermissive]
C:\Users\Dimka\Desktop\Untitled1.cpp: In function 'int main()':
C:\Users\Dimka\Desktop\Untitled1.cpp:23:79: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
C:\Users\Dimka\Desktop\Untitled1.cpp:24:14: error: 'print_v' was not declared in this scope
C:\Users\Dimka\Desktop\Untitled1.cpp:26:5: error: 'copy_if' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:26:18: error: 'begin' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:26:33: error: 'end' is not a member of 'std'
C:\Users\Dimka\Desktop\Untitled1.cpp:27:54: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]

Compilation failed after 1,70 seconds with errors

Добавлено через 24 секунды
ой не думал что так много выйдет...
 
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Рейтинг@Mail.ru