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

¸ß·ÖÇó!×îºÃÊÇC/C++ - C/C++ / CÓïÑÔ

·Ö±ðÓýṹ»¯·½·¨ºÍÃæÏò¶ÔÏó·½·¨±à³ÌʵÏÖÏÂÃæÒªÇó£º
¶ÔCircleºÍRectangleʵÏÖÒÔϹ¦ÄÜCenter,Move,Rotate,Print.
×Ô¼ºÏȶ©ÒÔÏ£¬ÕâÊÇÒ»¸ö¸Õѧϰ¼ÆËã»úµÄÈËÎÊÎÒµÄ



ѧϰ£¬¿´¿´

¼ÌÐø¶¥Å¶

ѧϰÁË¡£

go on ,go on


3Â¥µÄͼ±êÕæìÅ¡£¡£¡£

ÒýÓÃ
Èç¹ûÊÇÂÖ×÷¹¤³Ì»òÕßC++µÄ×÷ÒµÄØ£¬×îºÃÊÇ×Ô¼º³¢ÊÔ×öһϣ¬ÕâÑùÄÜÂýÂý¶ÍÁ¶Æ𡰽ṹ»¯ºÍÃæÏò¶ÔÏóµÄ¡±Éè¼Æ˼ά£¬½¨Òé¿´Ò»ÏÂÈí¼þ¹¤³Ì¹ØÓÚÈí¼þ½á¹¹ÄǼ¸ÕµÄÄÚÈÝ£¬ÕâÌâ²»ÄÑ£¬Ö»ÊÇÏëÈÃÄãÌåÑéÒ»ÏÂһЩÁ¼ºÃµÄϵͳÉè¼Æ·½Ê½£¬ÖØÔÚ×Ô¼ºË¼¿¼£¬Èç¹û»¹ÓÐÎÊÌâ¿ÉÒÔÁªÏµÎÒ£¬Ï£ÍûÄܶÔÄãÓÐËù°ïÖú

Õâλͬѧ,ÄãµÄÍ·ÏñºÜ˧

¶þÂ¥µÄ»Ø´ð¾ÍOKÁË

2¥дµÄ²»´í

go on

¶þÂ¥µÄ²»´í£¬¶¥£¡

ѧϰ

ÒýÓÃ
C/C++ code
#include<stdlib.h>
#include<stdio.h>

typedefenum {CIRCLE,RECTANGLE}TYPE;struct Circle{
TYPE t;int x;int y;int r;
};struct Rectangle{
TYPE t;int x;int y;int width;int height;
};struc?-

Å££¡¶¥Æð


ºÜ»ÆºÜ±©Á¦£¡

2¥дµÄ²»´í£¬¶¥Ò»ÏÂ

ѧϰ

ѧϰ .,

ѧϰ .,


Ïà¹ØÎÊ´ð£º

ѧϰÌÖÂÛ C/C++ QQȺ - C/C++ / ·Ç¼¼ÊõÇø

QQȺ 29152388
ÓÑÇéUP

°ï¶¥

up

°ïup

up Ö§³Ö£¡

up jf

...ÄѵÀÓзÖ..?

up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£

Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ

¼ÓÁË¡£

¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

C ³ÌÐòÎÊÌ⣨ËÄ£© - C/C++ / CÓïÑÔ

#include "stdio.h"
int main()
{
  char *ch(char *, char *);
  char str1[]="I am glad to meet you!";
  char str2[]="Welcom to study C!";
&nb ......

Ïò¸ßÊÖÇë½Ìfortran µ÷ÓÃC µÄÎÊÌâ

ÎÒÏÖÔÚҪЩһ¸öfortranµ÷ÓÃC½Ó¿ÚµÄÎÊÌ⣬µ«ÊDz»ÖªµÀ CÓïÑÔÀïÃæ·ÖÅäµÄÖ¸ÕëÔõô¸¶¸øfortran,ÓÖ²»ÄÜÔÚfortranÁ¢ÂíÏÈ·ÖÅäºÃ£¬ÒµÎñÉϲ»ÔÊÐí¡£
ÎÒдÁ˸ö²âÊÔµÄÀý×Ó¡£µ«ÊDz»ÐС£
test.c
#include <stdio.h>
#incl ......

C/C++ÀïÆÁshift+f10¼üÒªÔõôд£¡ - C/C++ / C++ ÓïÑÔ

SHIFT¼ÓF10ÓëÄǸö¼üÓÒctrl±ßÉϵÄÄǸö¼ü¹¦ÄÜÒ»Ñù£¬ÏëÆÁÕâ¸ö
µ«²»ÖªÒªÔõôдÄǸö×éºÏ¼ü£¡
ÓÐûÄĸö´óÏÀ·ÅÒ»¶ÎÕâ¸öµÄ´úÂë»òдһ¶Î
http://topic.csdn.net/u/20090609/15/7dc9fb70-243f-4070-9cfd-34e48b66e6c6.html ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ