public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Lionel SMETS <tsmets@altern.org>
To: help-gcc@gnu.org
Subject: Re: how do I execute compile program?
Date: Sun, 02 Jan 2000 17:42:00 -0000	[thread overview]
Message-ID: <386FFAB0.E1B314F8@altern.org> (raw)
In-Reply-To: <849k43$7fs$1@usenet.kreonet.re.kr>

In the same level ...

I've two classes (c1 & c2) with one using the other, i.e. c2 is a child
of c1. Can someone tell me how can I compile this without having the two
classes within the same file .

I tried have something like
g++ -c c1.cpp                       # Created the Object file of the
mother class
g++ -c2.cpp -oc1                #

Actually I heve no idea what else I could do

A second question would be ...
What's the point of having a header file in a program ?
What do i generated it from ?
How do i generate it ?

Thanks,

Thomas,

WARNING: multiple messages have this Message-ID
From: Thomas Lionel SMETS <tsmets@altern.org>
To: help-gcc@gnu.org
Subject: Re: how do I execute compile program?
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <386FFAB0.E1B314F8@altern.org> (raw)
Message-ID: <20000401000000.5puoS0c42J8m-qd7vLoZ817g8sgQB-pKSeFIvbr0NBE@z> (raw)
In-Reply-To: <849k43$7fs$1@usenet.kreonet.re.kr>

In the same level ...

I've two classes (c1 & c2) with one using the other, i.e. c2 is a child
of c1. Can someone tell me how can I compile this without having the two
classes within the same file .

I tried have something like
g++ -c c1.cpp                       # Created the Object file of the
mother class
g++ -c2.cpp -oc1                #

Actually I heve no idea what else I could do

A second question would be ...
What's the point of having a header file in a program ?
What do i generated it from ?
How do i generate it ?

Thanks,

Thomas,

  parent reply	other threads:[~2000-01-02 17:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-27 22:10 Ashat Safiullin
1999-12-27 22:13 ` llewelly
1999-12-31 22:24   ` llewelly
1999-12-28  1:40 ` haha
1999-12-31 22:24   ` haha
1999-12-31 22:24 ` Ashat Safiullin
2000-01-02 17:42 ` Thomas Lionel SMETS [this message]
2000-04-01  0:00   ` Thomas Lionel SMETS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=386FFAB0.E1B314F8@altern.org \
    --to=tsmets@altern.org \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).