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

CÓïÑÔдµÄ×Ö½Ú²éѯÆ÷£¨³õѧCÁ·ÊÖÓã©

ÓÃCÓïÑÔдµÄÒ»¸ö¼òµ¥µÄ×Ö½ÚÐͲéѯÆ÷£¬Ö÷Òª¹¦ÄÜÊÇʵÏÖ¶Ô        signed int        float        unsigned int        double        signed short int        long double        unsigned short int        char         long int        unsigned long int    Õ⼸¸öÀàÐ͵Ä×Ö½ÚÕ¼ÓõIJéѯ   ÓõÄÊÇVC6±àÒëÆ÷  ËùÒÔ²¢²»ÍêÈ«ÊÇ´¿CµÄ 
/************************************************************************
* Copyright (c) 2009, Simple1Day
*
* ÎļþÃû³Æ£ºItem1.cpp
* ͻ񻣼
* Ìṩ²éѯint,short,long,float,doubleÊý¾ÝÀàÐÍÕ¼ÓÃÄÚ´æ×Ö½Ú´óС
*************************************************************************/
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <conio.h>
//Ö´Ðк¯Êý¶¨Òå
void SetInterface(void);//´°¿ÚÉèÖú¯Êý
int QueryType(char * _pch);//²éѯº¯Êý
char ExChange(char _chLetter);//´óдת»»Ð¡Ð´
void LoadStart(void);//¿ªÊ¼»­Ãæ
void LoadGuage(void);//ÔØÈë½ø¶ÈÌõ
void GotoXY(int x,int y); //¹â±ê¶¨Î»x,y
void SetColor(unsigned short ForeColor=4,unsigned short BackGroundColor=0); //ÉèÖÃ×ÖÌåÑÕÉ«
int IseChar(char* _pch,int _nNum); //Çиî×Ö·û(¿Õ¸ñºó¿ªÊ¼)
int CtoI(char* _pch); //×Ö·ûתÕûÐÍ
int GetInput(char* _pchinput); //ÊäÈë×Ö·û´®
void OpenHelp(void); //´ò¿ª°ïÖú
int Accord(char* _pchA,char* _pchB,int* _pnValue);//ÅжϷûºÏ¶È
void MenuOptions();//Ñ¡Ôñ²Ëµ¥
void Typewriter(char* _psz,int _nSleep=200,int _nX=0,int _nY=0,int _nColor=30); //²ÊÉ«´ò×Ö»ú
void CheckInputError(int _arr_nInput[]);//¼ì²é´íÎóλÊý
static int s_nMenu = 0;//Ñ¡Ôñ¿ò°´¼üÖµ
/************************************Main()******************************************


Ïà¹ØÎĵµ£º

cÁ´±íµÄ2ÖÖÐÎʽ

c±ä³ÉµÄ¶ÔÏó´ó¶àÊǹ²ÏíÄÚ´æÖÐÉêÇ룬±È½ÏÉÙÓÃmallocÖ±½ÓÀ´ÉêÇ룬ËùÒÔÁ´±íÉè¼ÆÒ»°ãÊÇÏÂÃæ2Öнṹ£º
¶ÔÏó --> ¶ÔÏó --> ¶ÔÏó
¶ÔÏó -->Á´±í¶ÔÏó-->¶ÔÏó -->Á´±í¶ÔÏó
£¨1£©¶ÔÓÚµÚÒ»ÖÖ£¬Á´±íÖ±½Ó¹ØÁªµ½¶ÔÏó±¾Éí£¬ËùÒÔÈç¹ûÒ»¸ö¶ÔÏóÔÚÏûÍöʱ£¬Ã»Óм°Ê±ÇåÀíµôÁ´±í¹Øϵ£¬Ôò»áµ¼ÖÂÁ´±íµôÁ´¡£
£¨2£©Á´±í¶ÔÏó±¾ÉíÊÇÒ» ......

C/C++ µÄÈ«¾Ö±äÁ¿³õʼ»¯Óë²»³õʼ»¯µÄÇø±ð

ÔÚCÓïÑÔÀȫ¾Ö±äÁ¿Èç¹û²»³õʼ»¯µÄ»°£¬Ä¬ÈÏΪ0£¬Ò²¾ÍÊÇ˵ÔÚÈ«¾Ö¿Õ¼äÀ
int x =0; ¸ú int x; µÄЧ¹û¿´ÆðÀ´ÊÇÒ»ÑùµÄ¡£µ«ÆäʵÕâÀïÃæµÄ²î±ðºÜ´ó£¬Ç¿ÁÒ½¨Òé´ó¼ÒËùÓеÄÈ«¾Ö±äÁ¿¶¼Òª³õʼ»¯£¬ËûÃǵÄÖ÷Òª²î±ðÈçÏ£º
±àÒëÆ÷ÔÚ±àÒëµÄʱºòÕë¶ÔÕâÁ½ÖÖÇé¿ö»á²úÉúÁ½ÖÖ·ûºÅ·ÅÔÚÄ¿±êÎļþµÄ·ûºÅ±íÖУ¬¶ÔÓÚ³õʼ»¯µÄ£¬½ÐÇ¿·ûºÅ£¬Î´³õʼ»¯µÄ ......

ÈçºÎÀí½âcºÍc++µÄ¸´ÔÓÀàÐÍÉùÃ÷

ת×Ô£ºhttp://blog.csdn.net/Lambol_8309/archive/2009/09/06/4524453.aspx
Ôø¾­Åöµ½¹ýÈÃÄãÃԻ󲻽⡢ÀàËÆÓÚint * (* (*fp1) (int) ) [10];ÕâÑùµÄ±äÁ¿ÉùÃ÷Â𣿱¾ÎĽ«ÓÉÒ×µ½ÄÑ£¬Ò»²½Ò»²½½Ì»áÄãÈçºÎÀí½âÕâÖÖ¸´ÔÓµÄC/C++ÉùÃ÷¡£
¡¡¡¡ÎÒÃǽ«´ÓÿÌ춼ÄÜÅöµ½µÄ½Ï¼òµ¥µÄÉùÃ÷ÈëÊÖ£¬È»ºóÖð²½¼ÓÈëconstÐÞÊηûºÍtypedef£¬»¹Óк¯ÊýÖ¸Õ ......

function(p,a,c,k,e,d)

<script>
a=62;
function encode() {
var code = document.getElementById('code').value;
code = code.replace(/[\r\n]+/g, '');
code = code.replace(/'/g, "\\'
");
var tmp = code.match(/\b(\w+)\b/g);
tmp.sort();
var dict = [];
var i, t = '';
for(var i=0; i<tmp.length ......

Linux ϱàÒëhello world µÄC ÓïÑÔ³ÌÐò

±¾À´ÎÒÓõÄÊÇÕâÑùµÄ³ÌÐò
# include <iostream.h>
int main(void)
{
  int i,j;
  j=0;
  i=j+1;
  cout<<"hello world!"<<endl;
  cout<<"the result is"<<i<<endl;
  return 0;
}
ÀûÓÃg++ -o test test.cpp¡£µ«ÊÇÕâÑùÊÇÓдíÎóµÄ£¬ÌáʾÎÞ·¨´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ