Subject: g++ HELLO WORLd
To: None <netbsd-users@netbsd.org>
From: Maurizio Caloro <mauric@gmx.ch>
List: netbsd-users
Date: 07/20/2003 10:42:53
dear netbsd group,,

when i write a simple c prog like HELLO World
it works fine on my little netbsd :-), i have beware that the
code its exactly like $msw$ but when i compil with g++ or gcc
it works only on my netbsd, and when i make a copy to $msw$ appear
a runtime error, its possible that i can compille for both machines ?
1 = netbsd, 2 = $msw$

what i can do do porting from unix to mswindows
its possible that i have forrgod a syntax ?

$msw$ = ms windows

#define _ (int) putchar
 main() { int c = 0110
 ;_(c);c+=29;_(c);c+=7
  ;_(c);_(c);c+=3;_(c)
  ;c=0x20;_(c);c=0127
   ;_(c);c+=24;_(c);
    c+=0x3;_(c);c-=
     6;_(c);c-=010;
      _(c);c=0x21;
       _(c);_(10)
        ;c+=66;}

--------------------------------------------------------------
------> > >                Maurizio Caloro
------> > >                <mauric@gmx.ch>
---------------------------------------------------------------