摘要:
1、返回数组 // demo.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include char *myString() { char buffer[]="hello"; char *s = "Hello World!"; return buffer; } int main(int argc, char *... 阅读全文
摘要:
参考网址http://www.cnblogs.com/wuzhenbo/p/3496054.html 里面的动画挺好看的 // demo.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; void hannoi(int n, char A, char B, char C)// 把A盘里... 阅读全文