Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cut orguments in functions

Status
Not open for further replies.

swaroop

Programmer
Feb 4, 2001
100
0
0
US
Here is a statements
fun(const datatype &Variable, const datatype *Variable, char *, int myInt);
fun(datatype Variable, const datatype *Variable, char *, int myInt);


I wanted to change that to
fun(const datatype &, const datatype *, char *, int );
fun(datatype, const datatype *, char *, int );

I wanted to get rid of variable names in functions, could any one give solution (program) for this situation.

Please send the program to my mailId swaroop_k@bharatmail.com

Thanks in advance.

Swaroop.

 
As far as my knowledge goes if it is protype u need not write the var names.it is optional
rajani
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top