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

ÈçºÎÓÃC»­Í¼£¬ÄÜ·ñ±àÒ»¸ö¾ßÌåµÄ ¼±ÓÃ

ÈçºÎÓÃC»­Í¼£¬ÄÜ·ñ±àÒ»¸ö¾ßÌåµÄ ¡£
#include <conio.h>
#include <stdio.h>
int main()
{
int i;
char *s[]={"BLACK","BLUE","GREEN","CYAN","RED","MAGENTA","BROWN","LIGHTGRAY"};
textmode(C80);//ÉèÖÃÏÔʾÎı¾·½Ê½C80
textbackground(0);//ÉèÖñ³¾°É«
clrscr();//ÇåÆÁ
for(i=1;i<8;i++)
{
window(10+i*5,5+i,30+i*5,15+i);
textbackground(i);
clrscr();
textcolor(7+i);//ÉèÖô°¿ÚÄÚ×Ö·ûÏÔʾÑÕÉ«
if(i%2==0)
highvideo();//iΪżÊýµÄ´°¿Ú×Ö·û¸ß¶ÈÏÔʾ
else
lowvideo();//ÆæÊý´°¿Ú×Ö·ûµÍÁÁ¶ÈÏÔʾ
cputs(s[i]);//Êä³ö×Ö·ûµ½´°¿ÚÄÚ
}
getch();
}


½áÌû×Ó°¡£¬ÎÒÓÃÁËÕâô³¤Ê±¼ä£¬ÄãÒ²µÃ½áÌû°¡

ls¶¼°ÑʷǰÎÄÎï·­³öÀ´ÁËÍÛ

ÒýÓÃ
ls¶¼°ÑʷǰÎÄÎï·­³öÀ´ÁËÍÛ


¹þ¹þ¡£(½ÇÂí²»ÊÇÂí) ÊÇ¿°¡

C »­µÄͼ ÄÜÓÃÔÚʲôµØ·½£¿£¿

ÎÒÃǵÄ×÷Òµ£¬ÒªÉϽ»µÄ¡£

ÒýÓÃ
ÎÒÃǵÄ×÷Òµ£¬ÒªÉϽ»µÄ¡£


×÷Òµ¶¼ÊÇÈ˹¤±àÒëºÍÖ´Ðеģ¬
ÈÝ´íÐÔºÜÇ¿£¬¼´Ê¹Óï·¨´íÎóҲδ±Ø±¨³öÀ´

¿ÉÒԵģ¬ÔÚͼÐνçÃæÊä³ö¸öתÈý½Ç£¬ÉÁ¹âµÄ.

¹ÜÀí¿´µ½×÷ÒµÌû×Ó£¬»á·âºÅµÄ

»¹²»½á£¬¹ÜÀí¾ÍÒª·âɱÄãµÄºÅÁË

ÔÚDOSϵͳÏ¿ÉÒÔ×öͼÐνçÃæ

ÒýÓÃ
#include <conio.h>
#include <stdio.h>
int main()
{
int i;


Ïà¹ØÎÊ´ð£º

Çë½ÌÒ»ÌâC£¬ÎÒ¿´²»Ã÷°×£¡ - C/C++ / CÓïÑÔ

#include "stdio.h"
void main()
{
  int *p;
  int a[10]={0,1,2,3,4,5,6,7,8,9};
  int k=0;
  p=a;
  for(int i=0;i<10;i++,p ......

ÏëÑо¿CÓëÖ¸ÕëÕâ±¾Ê飬´ó¼Ò¸øµãÒâ¼û - C/C++ / CÓïÑÔ

ÒÔǰѧ¹ýÌ·ºÆÇ¿µÄÊ飬ÈÏÕæ¿´¹ý¼¸±é£¬ÊéÉϵÄÌâ´ó²¿·Ö×Ô¼º±à¹ý£¬ÏÖÔÚÏë½øÒ»²½Ñ§Ï°C£¬Ó¦¸Ã´ÓÄÄ·½Ãæ×ÅÊÖÄØ£¿ÎÒ×¼±¸¿´CÓëÖ¸Õ룬´ó¼Ò¾õµÃÕâ±¾ÊéÔõôÑù£¿»¹ÊÇ¿´ÆäËüµÄÊ飿
ÄãÓ¦¸ÃÖØÐÂÕÒ¡¶c primer plus¡·Õâ±¾Êé¿´¿´¡£

c ......

copy c:\windows\system32\chklogo.wtlʧ°Ü

Environment:Win7 64bit,US
Target: copy c:\windows\system32\chklogo.wtlµ½c:\logs ÏÂ
Èç¹ûÊÖ¹¤´ò¿ªcmd,
1. cmdµÄtitleÊÇAdministrator:C:\windows\system32\cmd.exe
2. µ±Ç°¹¤×÷Ŀ¼c:\Users\usernam ......

³ÖÐø¼¯³É-CÏîÄ¿ - C/C++ / CÓïÑÔ

¸÷λ´óÏÀ£º
ÓÐûÓÐÖªµÀÈçºÎÔÚCÓïÑÔÖÐʹÓóÖÐø¼¯³É¡£´Ó³õ²½µÄµ÷²éÀ´¿´£¬Ã²ËÆÊ¹ÓÃCruiseControlµÄÈ˺ܶ࣬µ«ÊǸÿªÔ´¹¤¾ß¶ÔCÓïÑÔµÄÖ§³ÖÃ²ËÆºÜÓÐÏÞ£¬±àÒëºÍ²âÊÔ½á¹û¿ÉÄÜÐèÒª×Ô¼º´¦Àí£¬Éú³ÉCruiseControlÄܹ»´¦ÀíµÄXMLÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ