> -Original Message-
> From: ccostin [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 10:28 AM
> To: debian-user@lists.debian.org
> Subject: preprocessor/linker c++ error
>
> What's wrong with the followind C++ code ?
>
> $ cat file1.cc
>
ccostin writes:
> What's wrong with the followind C++ code ?
> $ cat file1.cc
> #include "file.hh"
int a, b, c;
> void f1(int x,int y, int z)
> {
>a=x;
>b=y;
>c=z;
> }
> $ cat file2.cc
> #include "file.hh"
> void f2(int x,int y, int z)
> {
>a=x;
>b=y;
>
Completely wrong list to ask. This appears to be a lesson from an
instructor.
BTW, you are missing something glaringly wrong.
On Mon, 2007-02-19 at 20:27 +0200, ccostin wrote:
> What's wrong with the followind C++ code ?
>
> $ cat file1.cc
> #include "file.hh"
> void f1(int x,int y, int z)
> {
>
What's wrong with the followind C++ code ?
$ cat file1.cc
#include "file.hh"
void f1(int x,int y, int z)
{
a=x;
b=y;
c=z;
}
$ cat file2.cc
#include "file.hh"
void f2(int x,int y, int z)
{
a=x;
b=y;
c=z;
}
$ cat file.hh
#ifndef _FIS_H_
#define _FIS_H_
in
4 matches
Mail list logo