Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9988

Re: ifstream ofstream ?

Newsgroups comp.lang.c++
Subject Re: ifstream ofstream ?
References (3 earlier) <c66c4e0d-777c-4415-bac9-24160ff19bb7@y21g2000yqk.googlegroups.com> <op.v1jlvvxx2juju3@ajwin7> <360b4ee2-dcc1-4667-867f-0865836e5ada@l4g2000vbv.googlegroups.com> <op.v1jovhwc2juju3@ajwin7> <ba101f66-eb32-4fdb-b7cd-b566d3c61fda@d18g2000yqm.googlegroups.com>
Date 2011-09-09 17:07 +0200
From Asger-P <junk@asger-p.dk>
Organization Asger-P
Message-ID <op.v1jqynep2juju3@ajwin7> (permalink)

Show all headers | View raw


Hi Goran

On the: 09. of september-2011 At: 16:39 Goran wrote:

> On Sep 9, 4:22 pm, Asger-P <j...@asger-p.dk> wrote:
>> > There's no reference in your code. Clearly, ifile is not a reference
>> > (to a variable), it IS a variable.
>>
>> if it was an int or so I would have called it that, I just
>> didn't know You used the same name for classes as well.
>
> What, you mean, like primitive/reference type in Java? Naaaaah... In
> my mind, there's no such distinction in C++. "int" can pretty easily
> be viewed as a class, only, it's full of operators ;-).

Oooh I just mean that I dont have a "spoken language" when
it comes to programming, I have always worked alone and
learned all I know from the NG's, the web and the help
files that comes with BCB, I never talk to anybody about
programming.

So there is a lot of things I dont know what is called. ;-)

In my head "ifile" is the name that refer to the instance
of the ifstream class, so it kind of an reference, of course
I know it is not the "reference kind" reference, You see my
problem. ;-)
Well You call it a variable and so it shall be called.

Best regards
Asger-P

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ifstream ofstream ? Asger-P <junk@asger-p.dk> - 2011-09-09 12:16 +0200
  Re: ifstream ofstream ? Goran <goran.pusic@gmail.com> - 2011-09-09 03:56 -0700
    Re: ifstream ofstream ? Asger-P <junk@asger-p.dk> - 2011-09-09 13:18 +0200
      Re: ifstream ofstream ? Goran <goran.pusic@gmail.com> - 2011-09-09 06:00 -0700
        Re: ifstream ofstream ? Asger-P <junk@asger-p.dk> - 2011-09-09 15:17 +0200
          Re: ifstream ofstream ? Goran <goran.pusic@gmail.com> - 2011-09-09 06:55 -0700
            Re: ifstream ofstream ? Asger-P <junk@asger-p.dk> - 2011-09-09 16:22 +0200
              Re: ifstream ofstream ? Goran <goran.pusic@gmail.com> - 2011-09-09 07:39 -0700
                Re: ifstream ofstream ? Stuart Redmann <DerTopper@web.de> - 2011-09-09 08:05 -0700
                Re: ifstream ofstream ? Goran <goran.pusic@gmail.com> - 2011-09-09 08:18 -0700
                Re: ifstream ofstream ? Asger-P <junk@asger-p.dk> - 2011-09-09 17:07 +0200
                Re: ifstream ofstream ? Nobody <nobody@nowhere.com> - 2011-09-10 10:23 +0100

csiph-web