Is it OK to declare same function many times with different parameters in VC++?
e.g:
first function will be :
Function(datatype as long int, length long int, Void * data)
second function will be :
Function(datatype as long int, length long int, Id int, Void * data)
How about declaring same function with same parameters many times but different data types of parameters ?
e.g:
first function will be :
Function(datatype as long int, length long int, Void * data)
second function will be :
Function(datatype as long int, length long int, Const Struct * data)
I am not getting syntax errors, but i want to clarify is this correct way of using?