[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Tælle antal argumenter i en function



On Thu, 06 Feb 2003 12:25:05 +0100, Jesper Moerk wrote:

> Er der nogen der lige ved om det er muligt at tælle hvor mange argumenter
> en funktion kan tage? Og evt om det er muligt at få typerne på
> argumenterne?

Ikke ved run-time. Ideen med C er at undgå alt
overflødigt overhead (belastning).

Bruger du en ordentlig editor, fx. source-navigator, så kan
du mens du programmerer se funktionernes type og parametre,
når du har brug for det.


Men altså ikke ved run-time (og det er nok heller ikke det,
som du mente, ellers kan du måske opfinde en database,
en symbol/variabel database, som man kan spørge.)

-- 
sslug@sslug -- Linux works for me.  http://129.142.192.25



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *