www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/13/16:15:05

Message-ID: <394693AA.32CB056C@gmx.de>
Date: Tue, 13 Jun 2000 22:03:54 +0200
From: Hanno Stehling <hstehling AT gmx DOT de>
X-Mailer: Mozilla 4.6 [de]C-CCK-MCD QXW0321s (Win98; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Simple question: Subfunctions
Reply-To: djgpp AT delorie DOT com

Hi,

I'm just teaching myself c++ and I have a question about functions:

in Turbo Pascal it is possible to create subfunctions like

procedure normal_function;
  procedure subfunction;
  begin
    do_something;
  end;
begin
  subfunction;
end;

Is this also possible in c++?

thanks,
HST

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019