在我写的代码中我需要foo(int, char*)和foo(int, int)功能.
foo(int, char*)
foo(int, int)
如果我用C++编写代码,我会使用模板.C有什么等价物吗?或者我应该使用void指针?怎么样?
c
c ×1