🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: att.lang.c++
Article #248

Re: easy question from a beginer!

#248
From: Akos Nagy
Date: Wed, 05 Feb 1997 00:00
20 lines
1169 bytes
bastards wrote:
 class test{
    void ErrorProc();
 };
    void test::ErrorProc(){
      int i;
      asm{
          mov   ax,0x45;
      }
    }
 
 main(){
 }

Every function that is implemented in the class declaration is treated as 
inline, as lonf as at does not use constructions not supported for an 
inline substituion by your compiler. As far as I remember BC 3.1 wan't 
suppopt inline loops as well. You have to move the implementation of a 
method from the calss declaration.
Technical Details
Message-ID: <32F90D07.39DB@datanet.hu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc0cab$86fe87a0$3464fdcf@pboucher.videotron.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,850a1f0a5bb44702
X-Google-Attributes: gid109fba,public
X-Google-Thread: 10d4ba,850a1f0a5bb44702
X-Google-Attributes: gid10d4ba,public
X-Google-Thread: 108b44,850a1f0a5bb44702
X-Google-Attributes: gid108b44,public
From: Akos Nagy <mh2@datanet.hu>
Subject: Re: easy question from a beginer!
Date: 1997/02/05
Message-ID: <32F90D07.39DB@datanet.hu>
X-Deja-AN: 214612605
references: <01bc0cab$86fe87a0$3464fdcf@pboucher.videotron.ca>
content-type: text/plain; charset=us-ascii
mime-version: 1.0
newsgroups: att.lang.c++,comp.lang.c++,comp.sys.lang.c++
x-mailer: Mozilla 2.0 (Win16; I)