c/c++¶ÁдÎļþ
#include<stdlib.h>
#include<iostream>
#include<string.h>
using namespace std;
int main(void)
{
FILE *fp, *fp2;
char buf[1024*300];
fp = fopen("in.txt", "rb");
fp2 = fopen("out.txt", "wb+");
fseek(fp, 0, SEEK_END);
int iLen = ftell(fp);
cout<<"iLen: "<<iLen<<endl;
fseek(fp, 0, SEEK_SET);
fread(buf, 1, iLen, fp);
fwrite(buf, 1, iLen, fp2);
fclose(fp);
fclose(fp2);
return 0;
}
Ïà¹ØÎĵµ£º
±¾ÊµÀýÒ»Ì×ÈËʹÜÀíϵͳ£º¿ª·¢¹¤¾ßΪVFP9.0¡¢SQL2000¡¢EXCEL;ʹÓÃÁËAdobe PhotoshopƽÃæÉè¼ÆÈí¼þ£¬²ÉÓÃÁËSPT´©Í¸¼¼Êõ£¬µ÷ÓÃÁËAPIº¯Êý£¬ÊµÏÖÁ˶Ôϵͳʱ¼äµÄͳһ¿ØÖÆ¡¢¶ÔDNSµÄ´úÂë¿ØÖÆ¡¢¶ÔÓòÃû½âÎöµÄÓ¦Ó㬵ȵÈ
ÔΣ¬ÔõôÉÏ´«£¬£¨°üº¬Ô´Âëδ±àÒëµÄ£©ÏëÒªµÄ¸øÎÒ·¢E-MAIL:zhao@tom.com ......
1¡¢Òþʽת»»
CÔÚÒÔÏÂËÄÖÖÇé¿öÏ»á½øÐÐÒþʽת»»:
1¡¢ËãÊõÔËËãʽÖУ¬µÍÀàÐÍÄܹ»×ª»»Îª¸ßÀàÐÍ¡£
2¡¢¸³Öµ±í´ïʽÖУ¬Óұ߱í´ïʽµÄÖµ×Ô¶¯Òþʽת»»Îª×ó±ß±äÁ¿µÄÀàÐÍ£¬²¢¸³Öµ¸øËû¡£
& ......
#include <assert.h>¡¡¡¡¡¡¡¡//É趨²åÈëµã
#include <ctype.h>¡¡¡¡¡¡¡¡ //×Ö·û´¦Àí
#include <errno.h>¡¡¡¡¡¡¡¡ //¶¨Òå´íÎóÂë
#include <float.h>¡¡¡¡¡¡¡¡ //¸¡µãÊý´¦Àí
#include <fstream.h>¡¡¡¡¡¡ //ÎļþÊäÈ룯Êä³ö
#include <iomanip.h>¡¡¡¡¡¡ //²ÎÊý»¯ÊäÈ룯Êä³ö
#include & ......
1.¸Ä±äÕû¸ö¿ØÖÆ̨µÄÑÕÉ«
ÓÃ system("color 0A");
ÆäÖÐcolorºóÃæµÄ0ÊDZ³¾°É«´úºÅ£¬AÊÇÇ°¾°É«´úºÅ¡£¸÷ÑÕÉ«´úÂëÈçÏ£º
0=ºÚÉ«
1=À¶É«
2=ÂÌÉ«
3=ºþÀ¶É«
4=ºìÉ«
5=×ÏÉ«
6=»ÆÉ«
7=°×É«
8=»ÒÉ«
9=µÀ¶É«
A=µÂÌÉ«
B=µÇ³ÂÌÉ«
C=µºìÉ«
D=µ×ÏÉ«
E=µ»ÆÉ«
F=ÁÁ°×É«
2.¸Ä±äÏÂÒ»¸öÊä³ ......
Google Android¿ª·¢²©¿Í½ñÌìÐû²¼£¬¼´ÈÕÆ𿪷ÅÕë¶ÔAndroidƽ̨µÄÔÉúÈí¼þ¿ª·¢SDKÏÂÔØ¡£ÓÉÓÚÔÚSDKÇ°ÃæÓÖ¼ÓÉÏÁËÔÉú¶þ×Ö£¬¼´Native Development Kit£¬Òò´ËÓÖ±»Google³ÆΪNDK¡£ÔÚ´Ë֮ǰ£¬Androidƽ̨µÄµÚÈý·½Ó¦ÓóÌÐò¾ùÊÇÒÀ¿¿»ùÓÚJavaµÄDalvikÌØÖÆÐéÄâ»ú½øÐпª·¢µÄ¡£ÔÉú SDKµÄ¹«²¼¿ÉÒÔÈÿª·¢Õ߸ü¼ÓÖ±½ÓµÄ½Ó´¥Androidϵͳ×ÊÔ´£¬ ......