Hello All,
I'm really rusty in C/C++ and was wondering how you declare a function that can take multiple data types as parameters. For instance, lets say you were making your own print function that could accept a string or an integer as an input parameter. I remember doing this in a programming class a while back but there was some way that you do the function definition so that you make two different functions, one to handle the string input and another one to handle the integer but they both have the same name.... What is that called again and is that used in C or only C++?
Thanks,
Jason O