Re: [Anjuta-list] ios::nocreate
- From: Ainsley Pereira <marble snowplains org>
- To: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] ios::nocreate
- Date: Thu Aug 7 04:33:04 2003
On Tue, Jul 29, 2003 at 07:56:52PM +0200, Alf C Stockton wrote:
> I am using Anjuta 1.1.97 on a Slackware 9.0 Linux system and am having a problem
> with the attached program.
>
> I do not believe that this is an Anjuta problem but rather a problem with my
> understanding of C++ therefore my question is where should I pose my problem,
> rather than on this list ?
>
> The line giving the problem is:-
> inFile.open("./inData.txt", ios::nocreate);
> The error I get is :-
> main.cc 17 : 'nocreate' is not a member of type 'std::basic_ios<char
>
This page: http://gcc.gnu.org/ml/gcc-help/2002-09/msg00220.html
answers your question (it was easy to find googling for 'ios nocreate').
GCC's list would have been more appropriate, I think.
~Ainsley.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]