Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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


Ïà¹ØÎĵµ£º

c/c++ÖеÄconst¹Ø¼ü×Ö

const£¬c\c++Öзdz£³£ÓõĹؼü×Ö¡£
Ê×ÏÈÎÒÃÇ¿´¿´constÓÐÄÇЩÐÞÊη½·¨¡£
×îÇ°ÃæÎÒÃÇÀ´¿´Ò»¸öÎÊÌâ¡£
char *p = "123";
¿ÉÄÜÓеÄÈ˲»ÖªµÀ£¬ÕâÀïµÄÕâ¸ö"123"ÊÇ´æ´¢ÔÚ³£Á¿ÇøµÄ£¬²»ÈÝÐíÐ޸ĵġ£
Ò²¾ÍÊÇ˵ËüÊǸöconstÀàÐ͵ġ£
±ê×¼µÄд·¨Ó¦¸ÃÊÇ
char const *p = "123";
ÖÁÓÚΪʲô±àÒëÆ÷ÈÝÐíÉÏÃæµÄÄǸö²»±ê×¼µÄд·¨£¬¿ÉÄ ......

Pro*C Á¬½ÓÊý¾Ý¿âʱdbname µÄÉèÖÃ

    ×î½üÒ»¶Îʱ¼äÔÚÑо¿ Pro*C Óöµ½Á˺ܶà³õ¼¶ÎÊÌâ¡£ÔÚ Pro*C ÖÐÁ¬½ÓÊý¾Ý¿âʱ£¬ÎÒÃÇÒ»°ãÊÇʹÓÃÔÚ“tnsnames.ora”ÖÐÅäÖúÃÁ¬½Ó£¬Ð´ÆðÀ´ºÜ¼òµ¥£¬Óï·¨ÈçÏ£º
    EXEC SQL CONNECT :username IDENTIFIED BY :password USING :dbname;
    /* ÕâÀïµÄ dbname ¾ÍÊÇÔÚ ......

CÖ¸Õ루2£©

CÓïÑÔ±ØÖª±Ø»á£¨2£©
4.º¯ÊýºÍÖ¸Õë
4.1. Ö¸Ïòº¯ÊýµÄÖ¸Õë
     Ö¸Ïòº¯ÊýµÄÖ¸Õ뼴ͨ³£ËµµÄº¯ÊýÖ¸Õ룬ÕýÊÇÓÉÓÚÕâЩ¼ò³Æ£¬ËùÒÔËüºÍ·µ»ØÖ¸ÕëµÄº¯Êý£¨Ö¸Õ뺯Êý£©ÈÝÒ×»ìÏý£¬¶øÇÒÒ²ÓÉÓÚд·¨ÉϱȽÏÏà½ü£¬¾ÍÏñÊý×éÖ¸Õë(int (*p)[4])ºÍÖ¸ÕëÊý×é(int *p[4])Ò»Ñù£¬Ç°Õß±íʾָÕë±äÁ¿pÖ¸ÏòÒ»¸öһάÊý×飬Õâ¸öÊý×éº¬Ó ......

ARMµÄ N¡¢Z¡¢C¡¢V ±ê־λµÄ½âÊÍ

N  µ±ÓÃÁ½¸ö²¹Âë±íʾµÄ´ø·ûºÅÊý½øÐÐÔËËãʱ£¬N=1±íʾÔËËãµÄ½á¹ûΪ¸ºÊý£»N=0±íʾÔËËãµÄ½á¹ûΪÕýÊý»òÁã.
Z  Z=1±íʾÔËËãµÄ½á¹ûΪÁ㣬Z=0±íʾÔËËãµÄ½á¹û·ÇÁã¡£
C  ¿ÉÒÔÓÐ4ÖÖ·½·¨ÉèÖÃCµÄÖµ£º
   ¼Ó·¨ÔËË㣨°üÀ¨CMN£©£ºµ±ÔËËã½á¹û²úÉúÁ˽øÎ»Ê±£¨ÎÞ·ûºÅÊýÒç³ö£©£¬C=1£¬·ñÔòC=0¡£
   ¼õ·¨ÔË ......

ÎÒµÄCʵ¼ù(1)£ººêµÄÓ¦ÓÃ

    1¡¢ÎªÁ˵÷ÓúêʱÄܵõ½ÕýÈ·½á¹û£¬ÔÚºêÌåÖн¨Òé¶ÔºêµÄÿ¸ö²ÎÊýÓÃÀ¨ºÅÀ¨ÆðÀ´£¬²¢ÇÒµ±ºêÌåÊÇÒ»¸ö±í´ïʽʱÕû¸öºêÌåÒ²ÓÃÀ¨ºÅÀ¨ÆðÀ´¡£
/* c1.c£º½«Á½¸öÊýÏà³Ë */
#define product(x,y) ((x)*(y))
#include <stdio.h>
int main(){
int a=1,b=2,c=3,d=4,x=0;

x=product(a+3,b)+product(c,d); / ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ