Topic: print numbers in table

Hi all,

I need your help on a (probably) relatively simple application:

I am looking for a function that creates a new number („member“); if no member exists yet it shall start with 1, if a number exists it shall hand n+1 into a table. At the moment I am creating the table via the scaffold function and have to add all members by hand (using „new“).

In easy words: click link  -->  if ( n=0 ) { printf („1“); }  --> else  { printf („n+1“); }


Thanks,
Marc