console mode ÖÐʹÓà C/C++ ±àÒëÆ÷
jjhou.csdn.netÀïÃæÓÐ
--------------------------------------------------------------------------------
ÔÚ console mode ÖÐʹÓà C/C++ ±àÒëÆ÷
ºî½Ý 1999.04.08
--------------------------------------------------------------------------------
ÎÒ×ÜÊǹÄÀø C/C++ µÄѧϰÕߣ¬ÔÚ¸Õ½Ó´¥Õâ¸ö³ÌʽÓïÑÔµÄʱºò£¬ÏÈÒÔ console mode£¨DOS-like£©³ÌʽΪĿ±ê¡£»»ÑÔÖ®£¬²»ÒªÒ»¿ªÊ¼¾ÍÏëд GUI ³Ìʽ¡¢Ï뿪ÊÓ´°¡¢ÏëÓÐѣĿÁÁÀöµÄ»Ãæ -- ÄÇÖ»ÊÇδ×ßÏÈ·É£¬ÞëÃçÖú³¤°ÕÁË¡£
Ëùν console ³Ìʽ£¬¾ÍÊÇÎÄ×ÖģʽµÄ³Ìʽ£¬ÎÒÃÇ¿ÉÒÔÔÚÆäÖÐºÃºÃ°Ñ C/C++ µÄÓïÑÔ¸ù»ùÁ·ºÃ£¬¶ø²»»á·ÖÐÄì¶ÆäËûÔÝÎÞ±ØÒªµÄ GUI Ö¦½ÚÉÏ¡£
ÎÒÒ»Ö±ÒÔΪ£¬ÕâÊÇÀíËùµ±È»µÄÊÂÇ飬ȴҲһֱ·¢ÏÖ£¬Óв»ÉÙ´óרԺУµÄ´óÒ» C/C++ ¿Î³Ì£¬Í¬Ñ§ÃDZØÐëд¸öС×÷¼Ò¡¢Ð¡»¼Ò¡¢Ð¡ËãÅÌ©©×öΪÆÚÖлòÆÚÄ©×÷Òµ¡£
¹ûÈ»ÊÀ½ç²»ÄÜ´óͬ£¬¸÷ÈË¿´·¨ÊâÒì :)
ÎÒ²»µ«ÈÏΪ C/C++ ³Ìʽ¿ª·¢¶ÔÏó³õÆÚÒªÒÔ console mode ΪÖ÷£¬ÎÒÒ²ÈÏΪ£¬C/C++ µÄ³Ìʽ¿ª·¢»·¾³£¬³õÆÚÒ²ÒªÒÔ console mode ΪÖ÷¡£»»ÑÔÖ®£¬²»ÒªÒ»¿ªÊ¼¾Í½øÈëÕûºÏ»·¾³£¨IDE£©¡£ÕûºÏ»·¾³ÖÐÄÇ÷á¶àÊÓ´°¡¢ÄÇ÷á¶à¹¦ÄÜ¡¢ÄÇ÷á¶àÔ¤ÉèÖµ£¬»áÈóÌʽÐÂÊÖÑÛ»¨ÁÃÂÒ£¬ÎÞ·¨ÕÆÎÕ³Ìʽ±àÒë¹ý³ÌÖÐһЩÓмÛÖµµÄ֪ʶÓë¾Ñé¡£
µÈÎÒÃǶԱàÒë³ÌÐòÓÐÁËÆðÂëµÄÁ˽⣬ÔÙÀ´Ê¹ÓÃÕûºÏ»·¾³£¬ÎÒÈÏΪÕâ²Å×îºÃ¡£
ËùÒÔ²»ÂÛÔÚ <ÉîÈëdz³ö MFC> »ò <¶àÐÍÓëÐéÄâ> Êé¼®ÖУ¬ÎÒ¶¼»á¼òÊöconsole mode ϵÄ×÷Òµ·½Ê½¡£<ÉîÈëdz³ö MFC> ÔÚ p.224 Áгö£¬<¶àÐÍÓëÐéÄâ> ÔÚ p.233 Áгö¡£
µ«ÈÔȻż¶ø»áÊÕµ½ÍøÓÑ£¨²»ÂÛÊÇ·ñÉÏÁ½±¾ÊéµÄ¶ÁÕߣ©µÄѯÎÊ£¬Ñ¯ÎÊconsole
Ïà¹ØÎĵµ£º
ÔÚGmail TopLanguage Group Öп´µ½Ò»ÆªÎÄÕ“C/C++³ÌÐòÔ±±Ø¶ÁµÄÊ®±¾Ê飨ÉÏ£©”£¬´ó¼ÒµÄÌÖÂÛ¶¼ºÜ¼¤Àø£¬´ó¼Ò¶¼¾õµÃÕâƪÎÄÕÂдµÃºÜ°ô£¬ÎÒÏëÔÚGroupÀïµÄÅóÓѶ¼ÄÜÔÚLookgirlµÄÕâƪÎÄÕÂÀï»ñÒæ²»ÉÙ£¬Îª´Ë¶·µ¨ÔÚ´ËתÔظÃÎÄ£¬¹©¸ü¶àÅóÓѽ»Á÷¡¢Ñ§Ï°¡£
C/C++³ÌÐòÔ±±Ø¶ÁµÄÊ®±¾Ê飨ÉÏ£©
Õâ¸öÌâÄ¿´óµÄÓÐЩÀëÆ×£¬Êµ»°Ëµ£ ......
±ê Ìâ: ¡¾·Òë¡¿¹ýÄêÁË£¬Ï×ÉÏСÀñ - ʹÓô¿CÔÚ×Ô¼ºµÄ´°¿ÚÖÐǶÈëHTML¿Ø¼þ
×÷ Õß: xiep
ʱ ¼ä: 2010-01-22,13:42:29
Á´ ½Ó: http://bbs.pediy.com/showthread.php?t=105702
Ç°¶Îʱ¼äÒòΪÏîÄ¿ÐèÒª£¬ËùÒÔ·ÒëÁËÕâƪ£¬Ï£Íû¶ÔijЩÈËÓÐÓá£ÓÉÓÚʱ¼ä²Ö´Ù£¬´íÎóÖ®´¦ÔÚËùÄÑÃ⣬Çë²»ÁßÖ¸³ö¡£
Áí£ºbrowser libΪÎÒ¸ÄдµÄÒ»¸ö¾ ......
Ò²ÊÇÖÐÈí±ÊÊÔµÄËã·¨Ì⣬µ±Ê±²¢²»ÖªµÀ½ÐÑî»ÔÈý½Ç£¬°¦¡£NÄê²»ÓÃÁË£¬»¹µÃÔÙÊ°Æð£¬ÎªÁËÄǸöÃΡ£
#include <stdio.h>
void main()
{
int a[50][50];
int i,j,n;
printf("Please input Number:");
scanf("%d",&n);
  ......
C µ÷ÓÃ Fortran
c2ffn.f
SUBROUTINE NAMEAGE(NAME, NLEN, AGE, TEMP)
CHARACTER*(*) NAME
INTEGER NLEN,AGE
REAL TEMP
C
WRITE(6,1000) NAME(1:NLEN),AGE,TEMP ......