ÇëÎÊÕâ¶ÎC³ÌÐòÓÐʲôÎÊÌ⣬ÔõôºÜ¶à´íÎó£¿
ÇëÎÊÕâ¶ÎC³ÌÐòÓÐʲôÎÊÌ⣬ÔõôºÜ¶à´íÎó£¿
#include <stdio.h>
void main()
int c1;
int c2;
c1=97;
c2=98;
printf("%c%c\n",c1,c2);
printf("%d %d\n",c1,c2);
}
ÉÙ¸ö´óÀ¨ºÅ¡£
#include <stdio.h>
void main()
{
int c1;
int c2;
c1=97;
c2=98;
printf("%c%c\n",c1,c2);
printf("%d %d\n",c1,c2);
}
#include <stdio.h>
void main()
{
int c1;
int c2;
c1=97;
c2=98;
printf("%c%c\n",c1,c2);
printf("%d %d\n",c1,c2);
}
Â¥ÉÏÕý½â
½Ó·Ö
reading more rudimentary syntax about c;
#include <stdio.h>
void main()
{
int i;
char c[5];
for(i=0;i <=4;i++)
scanf("%c",&c[i]);
printf("%s",c);
}
Õâ¶ÎÄØ?Ϊʲôֻѻ·Èý´ÎÊäÈë×Ö·û°¡£¿
ÎÒÏÖÔÚѧµ½º¯ÊýÄÇÀ»¹Ã»¼û¹ýÕâ¸ö fflush(stdin);Çå¿Õ»º³åÇø¡£......
Äܲ»ÄܽâÊÍһϣ¿
scanf¶Áȡ֮ºó»áÁôÏÂÒ»¸ö»»Ðзû£¬ÎªÁ˲»Ó°ÏìÏ´εÄÊäÈ룬ҪÇå¿Õһϻº³åÇø¡£
#include <stdio.h>
void main()
{ //²î¸ö´óÀ¨ºÅ
int c1;
int c2;
c1=97;
c2=98;
printf("%c%c\n",c1,c2);
printf("%d %d\n",c
Ïà¹ØÎÊ´ð£º
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
ÎÊһϣº
#include <stdio.h>
int main()
{
char x, y, z;
int i;
int a[16];
for(i=0; i<=16; i++)
{
a[i] = 0;
......
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
#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 ......
SHIFT¼ÓF10ÓëÄǸö¼üÓÒctrl±ßÉϵÄÄǸö¼ü¹¦ÄÜÒ»Ñù£¬ÏëÆÁÕâ¸ö
µ«²»ÖªÒªÔõôдÄǸö×éºÏ¼ü£¡
ÓÐûÄĸö´óÏÀ·ÅÒ»¶ÎÕâ¸öµÄ´úÂë»òдһ¶Î
http://topic.csdn.net/u/20090609/15/7dc9fb70-243f-4070-9cfd-34e48b66e6c6.html
......