03. august 2007 - 20:20
#2
Nej men er også ny og vil til at lære det. Min fejl.
Men når jeg vil compile min kode bliver det fejl meldt. Hele kilden bliver fejlmeldt. Det kan sagtens afvikles på XP.
Kode:
// my first string
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string mystring;
mystring = "This is the initial string content";
cout << mystring << endl;
mystring = "This is a different string content";
cout << mystring << endl;
return 0;
}
Fejl:
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Users\Mads Mikkelsen\Documents\C++ Programmering\Tutorials\String\string.cpp" -o "C:\Users\Mads Mikkelsen\Documents\C++ Programmering\Tutorials\String\string.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
In file included from C:/Dev-Cpp/include/c++/cstddef:48,
from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/cstddef:52: `ptrdiff_t' not declared
C:/Dev-Cpp/include/c++/cstddef:53: `size_t' not declared
In file included from C:/Dev-Cpp/include/stdio.h:42,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/stdio.h:44,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stdio.h:204: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:215: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:216: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:217: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:218: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:222: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:222: parse error before `,' token
C:/Dev-Cpp/include/stdio.h:223: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:223: parse error before `,' token
C:/Dev-Cpp/include/stdio.h: In function `int vsnprintf(...)':
C:/Dev-Cpp/include/stdio.h:225: `s' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225: (Each undeclared identifier is reported only
once for each function it appears in.)
C:/Dev-Cpp/include/stdio.h:225: `n' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225: `format' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225: `arg' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h: At global scope:
C:/Dev-Cpp/include/stdio.h:255: parse error before `*' token
C:/Dev-Cpp/include/stdio.h:256: parse error before `void'
C:/Dev-Cpp/include/stdio.h:348: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:349: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:350: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:351: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter `
__gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:356: parse error before `*' token
C:/Dev-Cpp/include/stdio.h:357: parse error before `,' token
C:/Dev-Cpp/include/stdio.h:358: parse error before `,' token
C:/Dev-Cpp/include/stdio.h:362: parse error before `*' token
C:/Dev-Cpp/include/stdio.h:363: parse error before `)' token
C:/Dev-Cpp/include/stdio.h:365: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:365: parse error before `*' token
C:/Dev-Cpp/include/stdio.h:367: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:367: 'wint_t' is used as a type, but is not defined
as a type.
C:/Dev-Cpp/include/stdio.h:381: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:381: parse error before `,' token
C:/Dev-Cpp/include/stdio.h:383: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdio.h:383: parse error before `,' token
C:/Dev-Cpp/include/stdio.h:400: parse error before `)' token
C:/Dev-Cpp/include/stdio.h:401: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:401: 'wint_t' is used as a type, but is not defined
as a type.
C:/Dev-Cpp/include/stdio.h:406: parse error before `)' token
C:/Dev-Cpp/include/stdio.h:407: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:407: 'wint_t' is used as a type, but is not defined
as a type.
In file included from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/cstdio:114: `fread' not declared
C:/Dev-Cpp/include/c++/cstdio:120: `fwrite' not declared
In file included from C:/Dev-Cpp/include/windows.h:47,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/string.h:40,
from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/string.h:52: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:53: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:54: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:55: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:56: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:62: parse error before `char'
C:/Dev-Cpp/include/string.h:65: parse error before `char'
C:/Dev-Cpp/include/string.h:66: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:67: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:68: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:71: parse error before `char'
C:/Dev-Cpp/include/string.h:74: parse error before `*' token
C:/Dev-Cpp/include/string.h:81: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:82: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:88: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:89: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:93: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:96: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:97: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:110: parse error before `wchar_t'
C:/Dev-Cpp/include/string.h:112: parse error before `wchar_t'
C:/Dev-Cpp/include/string.h:113: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:114: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:115: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:118: parse error before `wchar_t'
C:/Dev-Cpp/include/string.h:121: parse error before `*' token
C:/Dev-Cpp/include/string.h:135: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:136: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:142: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:143: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:159: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:160: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:169: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:171: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:171: parse error before `)' token
C:/Dev-Cpp/include/string.h: In function `int strncasecmp(...)':
C:/Dev-Cpp/include/string.h:172: `__sz1' undeclared (first use this function)
C:/Dev-Cpp/include/string.h:172: `__sz2' undeclared (first use this function)
C:/Dev-Cpp/include/string.h:172: `__sizeMaxCompare' undeclared (first use this
function)
C:/Dev-Cpp/include/string.h: At global scope:
C:/Dev-Cpp/include/string.h:173: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:178: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:189: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:190: type specifier omitted for parameter `size_t'
In file included from C:/Dev-Cpp/include/windows.h:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/winbase.h:1116: type specifier omitted for parameter `
va_list'
C:/Dev-Cpp/include/winbase.h:1116: parse error before `*' token
C:/Dev-Cpp/include/winbase.h:1117: type specifier omitted for parameter `
va_list'
C:/Dev-Cpp/include/winbase.h:1117: parse error before `*' token
In file included from C:/Dev-Cpp/include/windows.h:55,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/winuser.h:3303: type specifier omitted for parameter `
va_list'
C:/Dev-Cpp/include/winuser.h:3303: parse error before `)' token
C:/Dev-Cpp/include/winuser.h:3304: type specifier omitted for parameter `
va_list'
C:/Dev-Cpp/include/winuser.h:3304: parse error before `)' token
In file included from C:/Dev-Cpp/include/stdlib.h:38,
from C:/Dev-Cpp/include/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stdlib.h:354: parse error before `*' token
C:/Dev-Cpp/include/stdlib.h:357: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:358: parse error before `*' token
C:/Dev-Cpp/include/stdlib.h:359: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:364: `size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:364: `size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:364: initializer list being treated as compound
expression
C:/Dev-Cpp/include/stdlib.h:365: `size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:366: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:429: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/stdlib.h:452: type specifier omitted for parameter `size_t'
In file included from C:/Dev-Cpp/include/objbase.h:58,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/unknwn.h:17: `size_t' was not declared in this scope
In file included from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/string.h: In function `BOOL IsEqualGUID(const GUID&, const
GUID&)':
C:/Dev-Cpp/include/string.h:53: too many arguments to function `int
memcmp(const void*, const void*)'
C:/Dev-Cpp/include/objbase.h:63: at this point in file
C:/Dev-Cpp/include/string.h: In function `BOOL operator==(const GUID&, const
GUID&)':
C:/Dev-Cpp/include/string.h:53: too many arguments to function `int
memcmp(const void*, const void*)'
C:/Dev-Cpp/include/objbase.h:65: at this point in file
In file included from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h: At global scope:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:43: syntax error before `;' token
In file included from C:/Dev-Cpp/include/time.h:37,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/sys/types.h:38,
from C:/Dev-Cpp/include/time.h:43,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/time.h:117: parse error before `*' token
C:/Dev-Cpp/include/time.h:119: parse error before `*' token
C:/Dev-Cpp/include/time.h:128: parse error before `*' token
In file included from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/ctime:78: `strftime' not declared
In file included from C:/Dev-Cpp/include/ctype.h:36,
from C:/Dev-Cpp/include/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/ctype.h:190: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:191: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:192: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:193: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:194: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:194: parse error before `)' token
C:/Dev-Cpp/include/ctype.h:194: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:195: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:195: parse error before `)' token
C:/Dev-Cpp/include/ctype.h:195: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:196: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:197: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:198: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:199: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:200: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:201: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:202: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:203: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:213: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:213: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswalnum(...)':
C:/Dev-Cpp/include/ctype.h:213: `int iswalnum(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:190: previous declaration of `int iswalnum'
C:/Dev-Cpp/include/ctype.h:190: previous non-function declaration `int iswalnum
'
C:/Dev-Cpp/include/ctype.h:213: conflicts with function declaration `int
iswalnum(...)'
C:/Dev-Cpp/include/ctype.h:213: `wc' undeclared (first use this function)
C:/Dev-Cpp/include/ctype.h:213: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:214: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswalpha(...)':
C:/Dev-Cpp/include/ctype.h:214: `int iswalpha(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:191: previous declaration of `int iswalpha'
C:/Dev-Cpp/include/ctype.h:191: previous non-function declaration `int iswalpha
'
C:/Dev-Cpp/include/ctype.h:214: conflicts with function declaration `int
iswalpha(...)'
C:/Dev-Cpp/include/ctype.h:214: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:215: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswascii(...)':
C:/Dev-Cpp/include/ctype.h:215: `int iswascii(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:192: previous declaration of `int iswascii'
C:/Dev-Cpp/include/ctype.h:192: previous non-function declaration `int iswascii
'
C:/Dev-Cpp/include/ctype.h:215: conflicts with function declaration `int
iswascii(...)'
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:216: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswcntrl(...)':
C:/Dev-Cpp/include/ctype.h:216: `int iswcntrl(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:193: previous declaration of `int iswcntrl'
C:/Dev-Cpp/include/ctype.h:193: previous non-function declaration `int iswcntrl
'
C:/Dev-Cpp/include/ctype.h:216: conflicts with function declaration `int
iswcntrl(...)'
C:/Dev-Cpp/include/ctype.h:216: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:217: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswdigit(...)':
C:/Dev-Cpp/include/ctype.h:217: `int iswdigit(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:196: previous declaration of `int iswdigit'
C:/Dev-Cpp/include/ctype.h:196: previous non-function declaration `int iswdigit
'
C:/Dev-Cpp/include/ctype.h:217: conflicts with function declaration `int
iswdigit(...)'
C:/Dev-Cpp/include/ctype.h:217: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:218: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswgraph(...)':
C:/Dev-Cpp/include/ctype.h:218: `int iswgraph(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:197: previous declaration of `int iswgraph'
C:/Dev-Cpp/include/ctype.h:197: previous non-function declaration `int iswgraph
'
C:/Dev-Cpp/include/ctype.h:218: conflicts with function declaration `int
iswgraph(...)'
C:/Dev-Cpp/include/ctype.h:218: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:219: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswlower(...)':
C:/Dev-Cpp/include/ctype.h:219: `int iswlower(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:198: previous declaration of `int iswlower'
C:/Dev-Cpp/include/ctype.h:198: previous non-function declaration `int iswlower
'
C:/Dev-Cpp/include/ctype.h:219: conflicts with function declaration `int
iswlower(...)'
C:/Dev-Cpp/include/ctype.h:219: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:220: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswprint(...)':
C:/Dev-Cpp/include/ctype.h:220: `int iswprint(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:199: previous declaration of `int iswprint'
C:/Dev-Cpp/include/ctype.h:199: previous non-function declaration `int iswprint
'
C:/Dev-Cpp/include/ctype.h:220: conflicts with function declaration `int
iswprint(...)'
C:/Dev-Cpp/include/ctype.h:220: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:221: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswpunct(...)':
C:/Dev-Cpp/include/ctype.h:221: `int iswpunct(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:200: previous declaration of `int iswpunct'
C:/Dev-Cpp/include/ctype.h:200: previous non-function declaration `int iswpunct
'
C:/Dev-Cpp/include/ctype.h:221: conflicts with function declaration `int
iswpunct(...)'
C:/Dev-Cpp/include/ctype.h:221: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:222: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswspace(...)':
C:/Dev-Cpp/include/ctype.h:222: `int iswspace(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:201: previous declaration of `int iswspace'
C:/Dev-Cpp/include/ctype.h:201: previous non-function declaration `int iswspace
'
C:/Dev-Cpp/include/ctype.h:222: conflicts with function declaration `int
iswspace(...)'
C:/Dev-Cpp/include/ctype.h:222: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:223: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswupper(...)':
C:/Dev-Cpp/include/ctype.h:223: `int iswupper(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:202: previous declaration of `int iswupper'
C:/Dev-Cpp/include/ctype.h:202: previous non-function declaration `int iswupper
'
C:/Dev-Cpp/include/ctype.h:223: conflicts with function declaration `int
iswupper(...)'
C:/Dev-Cpp/include/ctype.h:223: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:224: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function `int iswxdigit(...)':
C:/Dev-Cpp/include/ctype.h:224: `int iswxdigit(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:203: previous declaration of `int iswxdigit'
C:/Dev-Cpp/include/ctype.h:203: previous non-function declaration `int
iswxdigit'
C:/Dev-Cpp/include/ctype.h:224: conflicts with function declaration `int
iswxdigit(...)'
C:/Dev-Cpp/include/ctype.h:224: `iswctype' cannot be used as a function
In file included from C:/Dev-Cpp/include/wchar.h:44,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/wchar.h: At global scope:
C:/Dev-Cpp/include/wchar.h:286: parse error before `)' token
C:/Dev-Cpp/include/wchar.h:287: parse error before `char'
C:/Dev-Cpp/include/wchar.h:288: parse error before `*' token
C:/Dev-Cpp/include/wchar.h:289: parse error before `*' token
C:/Dev-Cpp/include/wchar.h:291: parse error before `*' token
C:/Dev-Cpp/include/wchar.h:292: parse error before `*' token
C:/Dev-Cpp/include/wchar.h:293: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/wchar.h:298: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/wchar.h:298: parse error before `)' token
C:/Dev-Cpp/include/wchar.h:299: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/wchar.h:299: parse error before `)' token
C:/Dev-Cpp/include/wchar.h:300: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/wchar.h:300: parse error before `)' token
C:/Dev-Cpp/include/wchar.h:302: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/wchar.h:302: parse error before `)' token
C:/Dev-Cpp/include/wchar.h:303: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/wchar.h:303: parse error before `)' token
In file included from C:/Dev-Cpp/include/c++/bits/char_traits.h:45,
from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/cstring:89: `strxfrm' not declared
C:/Dev-Cpp/include/c++/cstring:90: `strcspn' not declared
C:/Dev-Cpp/include/c++/cstring:91: `strspn' not declared
C:/Dev-Cpp/include/c++/cstring:95: `strlen' not declared
C:/Dev-Cpp/include/c++/cstring:100: type specifier omitted for parameter `
size_t'
C:/Dev-Cpp/include/c++/cstring:100: parse error before `)' token
C:/Dev-Cpp/include/c++/cstring: In function `void* std::memchr(...)':
C:/Dev-Cpp/include/c++/cstring:101: `__p' undeclared (first use this function)
C:/Dev-Cpp/include/c++/cstring:101: `__c' undeclared (first use this function)
C:/Dev-Cpp/include/c++/cstring:101: `__n' undeclared (first use this function)
In file included from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:73: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:73: parse error before `)' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:76: parse error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:79: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:79: parse error before `,' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:82: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:82: parse error before `)' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:85: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:85: parse error before `)' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:88: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:88: parse error before `,' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:130: type specifier omitted for
parameter `size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:130: parse error before `)' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:134: parse error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In static member function `static
int std::char_traits<char>::compare(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:131: `__s1' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:131: `__s2' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:137: ISO C++ forbids defining types
within return type
C:/Dev-Cpp/include/c++/bits/char_traits.h:137: syntax error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:138: parse error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In function `int* std::find(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:139: parse error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:141: syntax error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:145: syntax error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:149: syntax error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:154: syntax error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:160: syntax error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:164: parse error before `&' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In function `bool eq_int_type(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:165: `__c1' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:165: `__c2' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:168: syntax error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:171: syntax error before `(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:250: parse error before `}' token
In file included from C:/Dev-Cpp/include/locale.h:56,
from C:/Dev-Cpp/include/c++/clocale:49,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++locale.h:36,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:46,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:67,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/cstdlib:105: `mbstowcs' not declared
C:/Dev-Cpp/include/c++/cstdlib:115: `wcstombs' not declared
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:69,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/new:79: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:79: declaration of `operator new' as non-function
C:/Dev-Cpp/include/c++/new:79: invalid declarator
C:/Dev-Cpp/include/c++/new:80: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:80: declaration of `operator new []' as non-function
C:/Dev-Cpp/include/c++/new:80: invalid declarator
C:/Dev-Cpp/include/c++/new:83: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:83: parse error before `::' token
C:/Dev-Cpp/include/c++/new:83: `operator new' takes type `size_t' (`unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new:84: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:84: parse error before `::' token
C:/Dev-Cpp/include/c++/new:84: `operator new' takes type `size_t' (`unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new:89: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:89: parse error before `*' token
C:/Dev-Cpp/include/c++/new:89: `operator new' takes type `size_t' (`unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new: In function `void* operator new(unsigned int,
...)':
C:/Dev-Cpp/include/c++/new:89: `__p' undeclared (first use this function)
C:/Dev-Cpp/include/c++/new: At global scope:
C:/Dev-Cpp/include/c++/new:90: `size_t' undeclared in namespace `std'
C:/Dev-Cpp/include/c++/new:90: parse error before `*' token
C:/Dev-Cpp/include/c++/new:90: `operator new' takes type `size_t' (`unsigned
int') as first parameter
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:73,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Users/Mads Mikkelsen/Documents/C++ Programmering/Tutorials/String/string.cpp:2:
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:100: parse error before `
,' token
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: template declaration
of `typedef _Tp std::value_type'
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: confused by earlier errors, bailing out
Execution terminated
Så enkel en kode burde jo ikke volde så store problemer. Tror/næsten sikker på problemet ligger i Vista, og kan det så løses ?