🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tilo Levante Wed, 19 Sep 1990 08:31
default arguments
#517
Author: Tilo Levante
Date: Wed, 19 Sep 1990 08:31
14 lines
572 bytes
I have the following problem/question:

given a function:
  int example (int i=2, int j=5);

Is there a way to call the funtion like:
  example (,3)

This would be very usefull for functions with a lot
of default parameters.

Tilo
tilo@nmr.lpc.ethz.ch
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads