fat16文件系统 c文件
/* =========================================================================== */
/* Project: mp3 player */
/* File: fat16.c */
/* Organization: cug-1200525 */
/* Author: yuyongbao */
/* Date: 6/19/2007 */
/* Describe: fat16 */
/* =========================================================================== */
#include "..\lib_config.h"
#include "FAT16.h"
#include "string.h"
//********************************************************************************************
//deine value which may be used in each function
uint8 BUFFER[512]; //a sectors size
uint16 BPB_BytsPerSec;
uint8 BPB_SecPerClus;
uint16 BPB_RsvdSecCnt;
uint8 BPB_NumFATs;
uint16 BPB_RootEntCnt;
uint16 BPB_TotSec16;
uint16 BPB_FATSz16;
uint32 BPB_HiddSec;
uint32 BPB_TotSec32;
/////whe
相关文档:
1.求下面函数的返回值(微软)
int func(x)
{
int countx = 0;
while(x)
{
countx ++;
x = x&(x-1);
&n ......
前段时间刚参加了n多公司的C/C++软件工程师的面试,有国企,外企,私企(moto,飞思卡尔,港湾,中国卫星XXX(这个牛))等等等等。感受感想颇多,近日终于空闲,在此表述一下。
本人基本条件:3年开发经验,2year+ Windows development experence,1year+ Linux experence. 熟悉C,C++,MFC/SDK/API,MiniG ......
面试时被问到过,不甚明了,网上百度一下,整合了两个仁兄的文章,如下。:-)
时常在cpp的代码之中看到这样的代码:
#ifdef __cplusplus //c++编译环境中才会定义__cplusplus (plus就是"+"的意思)
extern "C" { //告诉编译器下面的函数是c语言函数(因为c++和c语言对函数的编译转换不一样,主要是c++中存在重载)
#en ......
/* =========================================================================== */
/* Project: s3c44b0_lib & ......
/* =========================================================================== */
/* Project: s3c44b0_lib & ......