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()******************************************
Ïà¹ØÎĵµ£º
ÎÊÌâÃèÊö£ºÒ»Ë³ÐòÎļþÖÐÖÁ¶à´æÔÚ10000000¸ö¼Ç¼£¬Ã¿Ìõ¼Ç¼¶¼ÊÇÒ»¸ö7λÕûÊý£¬Çë¶Ô´ËÎļþÖÐÊý¾Ý½øÐÐÅÅÐò¡£
ÒªÇó£º1.³ÌÐò¿ÉʹÓÃÄÚ´æÖ»ÓÐ1MB¡£2.³ÌÐòÔËÐÐʱ¼ä¾¡¿ÉÄܵĶ̡£
²¹³ä˵Ã÷£ºÃ¿¸ö¼Ç¼¶¼ÊÇÒ»¸ö7λÕýÕûÊý£¬²¢ÇÒûÓÐÆäËûµÄ¹ØÁªÊý¾Ý£¬Ã¿¸öÕûÊýÖÁ¶àÖ»ÄܳöÏÖÒ»´Î¡£
ʵÏÖ¸ÙÒª£º
ÔÚÏÖʵÖУ¬Î»Í¼ºÍλÏòÁ¿ºÜ³£¼û£¬ÎÒÃÇ¿ÉÒÔÊ¹Ó ......
1¡¢CºÍC++¹»±¿£¬±ÆµÄ³ÌÐòÔ±×Ô¼º×öºÜ¶àÊ¡£
CÆäʵ´ó¼Ò¶¼ÖªµÀ£¬ÊÇÒ»ÃÅÖеͼ¶ÓïÑÔ£¬±£ÁôÁËÖ¸ÕëµÈ»ã±àÌØÕ÷£¬Óëϵͳµ×²ã½áºÏÃÜÇС£C++ÄØ£¬¸ü¶àµÄÏò¸öObject C£¬¼´ÃæÏò¶ÔÏóµÄC¡£µ«ÕâЩ£¬Æäʵ²¢²»Äܹ»ÈóÌÐòÔ±ÏԵúÜÅ£¡£
ÎÒ¸öÈ˵ÄÀí½â£¬Ö®ËùÒÔCºÍC++³ÌÐòÔ±ÏԵúÜÅ££¬ÆäʵÔÒòºÍ´ó¼ÒÏëÏñµÄÕýºÃÏà·´£¬²»ÊÇÒòΪCºÍC++Ì«Ç¿´ó£¬¶øÊÇÕâ ......
<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 ......
ͻȻ·¢ÏÖ×Ô¼ºÁ¬Ò»Ôª¶þ´Î·½³ÌÔõôËãµÄ¶¼²»ÖªµÀÁË¡£ÏëÁË°ëÌ죬ÄÃÆð±ÊÀ´²Å˳ÊÖЩÁ˸øx2+2x+1=0.»ÚºÞ°¡¡£
#include "iostream"
#include "cmath"
using namespace std;
int main(){
double a,b,c;
double delta,x1,x2;
int sign,stop;
cout<<"ÊäÈë3¸öϵÊýa(a!=0),b,c"<<endl;
cin>>a>>b& ......
string info ="¿Í»§¶ËIP£º"+ Page.Request.UserHostAddress;
info += "<br/>Óû§ÐÅÏ¢£º" + Page.User;
info += "<br/>·þÎñÆ÷µçÄÔÃû³Æ£º" + Page.Server.MachineName;
info += "<br/>µ±Ç°Óû§µçÄÔÃû³Æ£º" + System.Net.Dns.GetHostName();
info += "<br/>µ±Ç°µçÄÔÃû£º" + System.Environment.Ma ......