可能标题描述的不是很好,嘿嘿。
void testFunction() { printf("%s/n",__FUNCTION__); } int _tmain(int argc, _TCHAR* argv[]) { testFunction(); printf("%s/n",__FUNCTION__); getchar(); return 0; }
这样就可以知道现在运行到了哪个函数了,如果函数多的话,这样还是比较方便的。
可能标题描述的不是很好,嘿嘿。
void testFunction() { printf("%s/n",__FUNCTION__); } int _tmain(int argc, _TCHAR* argv[]) { testFunction(); printf("%s/n",__FUNCTION__); getchar(); return 0; }
这样就可以知道现在运行到了哪个函数了,如果函数多的话,这样还是比较方便的。