// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
//
// ISO C++ 14882: 18.1 Types
//
/ @file cstddef
* This is a Standard C++ Library file. You should @c #include this file
* in your programs, rather than any of the ".h" implementation files.
*
* This is the C++ version of the Standard C Library header @c stddef.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std. /
ifndef _CPP_CSTDDEF
define _CPP_CSTDDEF 1
pragma GCC system_header
include <stddef.h>
namespace std
{
using ::ptrdiff_t;
using ::size_t;
}
endif
I don't know how to copy the compile log, but it just keeps saying unable to find cstdeef, and some other nonsense, and its 360 lines long.
If someone could also tell me how to copy the compiler, i could post it up here.
Thanks for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the thread titled (not accidentally) "Please Read Before Posting a Question",
there is a section on the "Basic 3" that tells you how to post it (among other
things)
There is also a section in there on getting started with Vista, which causes some
issues for MinGW. Please check it out.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Keep track of exactly what you do. This is important as you would be surprised
how many people think "I did just what they said", or "I followed the directions
to the letter" tells us enough to figure out what went wrong...
If you are still having problems, tell us, step by step, what you did.
Thanks,
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I reinstalled to the 4.9.9.2 version, and did as this person said:
I went into the compiler options and then once more tried to see what would work. What worked for me was this:
1)add "C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2" to the binaries location under the directories tab
2)go to the programs tab and add c:\dev-cpp\bin\ to all the listings.
so i go into directory, and add that file, no problem...
And i go to programs, and change all of them to: c:\dev-cpp\bin\
Now it says in the compiler window : The system cannot find the path specified
so what do i do now? :S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It kinda sounds like you changed them to c:\dev-cpp\bin\ rather than adding that to all the listings. Does your Programs tab say "c:\dev-cpp\bin\" or "c:\dev-cpp\bin\gcc.exe" for the first entry?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
include<iostream>
include<stdlib.h> //only needed if you are using Dev 4 family
using namespace std; //where the names are - like cout!
int main(void)
{
cout << "This is what that putz Wayne said to do!\n";
system("pause"); //keep the window open if running from Dev
return 0;
}
// -- C++ -- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
//
// ISO C++ 14882: 18.1 Types
//
/ @file cstddef
* This is a Standard C++ Library file. You should @c #include this file
* in your programs, rather than any of the ".h" implementation files.
*
* This is the C++ version of the Standard C Library header @c stddef.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
/
ifndef _CPP_CSTDDEF
define _CPP_CSTDDEF 1
pragma GCC system_header
include <stddef.h>
namespace std
{
using ::ptrdiff_t;
using ::size_t;
}
endif
I don't know how to copy the compile log, but it just keeps saying unable to find cstdeef, and some other nonsense, and its 360 lines long.
If someone could also tell me how to copy the compiler, i could post it up here.
Thanks for your help!
"I don't know how to copy the compile log"
In the thread titled (not accidentally) "Please Read Before Posting a Question",
there is a section on the "Basic 3" that tells you how to post it (among other
things)
There is also a section in there on getting started with Vista, which causes some
issues for MinGW. Please check it out.
Wayne
Thanks, will try it out.
Keep track of exactly what you do. This is important as you would be surprised
how many people think "I did just what they said", or "I followed the directions
to the letter" tells us enough to figure out what went wrong...
If you are still having problems, tell us, step by step, what you did.
Thanks,
Wayne
I reinstalled to the 4.9.9.2 version, and did as this person said:
I went into the compiler options and then once more tried to see what would work. What worked for me was this:
1)add "C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2" to the binaries location under the directories tab
2)go to the programs tab and add c:\dev-cpp\bin\ to all the listings.
so i go into directory, and add that file, no problem...
And i go to programs, and change all of them to: c:\dev-cpp\bin\
Now it says in the compiler window : The system cannot find the path specified
so what do i do now? :S
It kinda sounds like you changed them to c:\dev-cpp\bin\ rather than adding that to all the listings. Does your Programs tab say "c:\dev-cpp\bin\" or "c:\dev-cpp\bin\gcc.exe" for the first entry?
This is what the actual compile log says:
Compiler: Default compiler
Executing c:\dev-cpp\bin...
c:\dev-cpp\bin\ "C:\Users\Cascade\Documents\Cpp Apps\advice.cpp" -o "C:\Users\Cascade\Documents\Cpp Apps\advice.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
Execution terminated