发布时间:2013-07-11 10:56:12
为了方便调试C程序,写了个打印信息的宏,能够打印错误信息,以及错误发生的文件名、行号。#ifndef _DEBUG_H_#define _DEBUG_H_#include <stdio.h>#include <string.h>#include <malloc.h>#define ERRBUFLEN 1024.........【阅读全文】
发布时间:2013-07-11 10:56:04
一、#include “filename.h”和#i nclude <filename.h>的区别#include “filename.h”是指编译器将从当前工作目录上开始查找此文件#include <filename.h>是指编译器将从标准库目录中开始查找此文件二、头文件的作用加强安全检测通过头文件可能方便地调用库功能,而不必关心其实现方式三、* , &修饰符的位置对于*.........【阅读全文】
发布时间:2013-07-11 10:48:02
//main.h//====================================================================================// The information contained herein is the exclusive property of// Sunnnorth Technology Co. And shall not be distributed, reproduced,// or disclosed in whole in part without prior wr.........【阅读全文】