摘要: 今天做作业写了一个menu.h menu.c文件,编译时无论如何都不能识别在头文件中定义的struct变量。经过对比正确的文件发现,当时自己图省事直接把.h文件的内容copy到了.c中,添加函数实现,却没有去掉前面的#ifndef#define...#endif语句,删除之后,正常。 阅读全文
posted @ 2014-09-22 20:48 阑珊一舞 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef struct DataNode{ int (*handle)();}tDataNode;int print(){ printf("Hello World!\n"); return 0;}int main(){ int a = 0; tDataNod... 阅读全文
posted @ 2014-09-22 16:59 阑珊一舞 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 环境: win7 x86 已经安装vc 6.0 vs2010 System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Proper... 阅读全文
posted @ 2014-09-22 11:18 阑珊一舞 阅读(279) 评论(0) 推荐(0) 编辑