C¡£¡£¡£¡£Ô½À´Ô½ºÍгÁ˰¡¡£¡£= =
ÊäÈëÒ»¸öÓ¢ÎÄÓï¾ä£¨²»¼Ç±êµã·ûºÅ£¬µ¥´ÊÖ®¼äÖ»ÓÐÒ»¸ö¿Õ¸ñ£©£¬ÔÙÄæÏòÊä³ö
ÀýÈ磺I am game boy
boy game am I
#include<stdio.h>
#include<string.h>
int f(char,char,int,int);
int main()
{
char a[80]={0},b[80]={0},c[80]={0};
int i,n,m=0;
printf("Input the sentence\n");
gets(a);
for(i=0;i<80;i++)
{
if(a[i]=='\0')
{
n=i-1;
break;
}
}
f(a,b,0,n);
for(i=0;i<80;i++)
c[i]=b[i];
for(i=0;i<80;i++)
{
if(b[i]==' '||b[i]=='\0')
{
f(b,c,m,i-1);
m=i+1;
}
}
printf("%s\n",c);
return 0;
}
int f(char x[],char y[],int p,int q)
{
int t=q;
for(;p<=t;p++,q--)
y[p]=x[q];
return 0;
}
Ïà¹ØÎĵµ£º
ת×Ô£ºhttp://hi.baidu.com/ssrt_hanbing/blog/item/62e3b934598eeb82a71e1238.html
ͨ¹ý¸ßµÍλת»»¡£
package com.commnt;
import java.net.*;
import java.io.*;
public class Client {
public String send(String address, int port, String str) {
OutputStream os = null;
DataInpu ......
Àí½âcÖеÄÐòÁеã
http://blog.chinaunix.net/u1/42826/showart_364176.html
ÈÃÎÒÃÇÀ´¿´¿´ÏÂÃæµÄ´úÂ룺
int i=7;
printf(”%d\n”, i++ * i++);
ÄãÈÏΪ»á·µ»ØÊ²Ã´£¿56£¿no¡£ÕýÈ·´ð°¸ÊÇ·µ»Ø 49£¿ºÜ¶àÈË»áÎÊΪʲô£¿ÄѵÀ²»¸Ã´òÓ¡³ö56Âð£¿ÔÚccfaqÖÐÓзdz£Ï꾡µÄ½âÊÍ£¬¸ù±¾ÔÒòÔÚÓÚcÖеÄÐòÁÐ ......
ÔÚC++ÖУ¬¿ÉÒÔʹÓöàÖÖ·½·¨¶ÔÎļþ½øÐвÙ×÷£¬Èç»ùÓÚCµÄÎļþ²Ù×÷¡¢»ùÓÚC++µÄÎļþ²Ù×÷µÈµÈ£»
¡ô»ùÓÚCµÄÎļþ²Ù×÷
ÔÚANSI CÖУ¬¶ÔÎļþµÄ²Ù×÷·ÖΪÁ½ÖÖ·½Ê½£¬¼´Á÷ʽÎļþ²Ù×÷ºÍI/OÎļþ²Ù×÷£¬ÏÂÃæ¾Í·Ö±ð½éÉÜÖ®¡£
Ò».Á÷ʽÎļþ²Ù×÷
ÕâÖÖ·½Ê½µÄÎļþ²Ù×÷ÓÐÒ»¸öÖØÒªµÄ½á¹¹FILE£¬FILEÔÚstdio.hÖж¨ÒåÈçÏ£º
typedef struct {
i ......
ʲôʱºòÐèÒª´´½¨Ï̳߳ØÄØ£¿¼òµ¥µÄ˵£¬Èç¹ûÒ»¸öÓ¦ÓÃÐèҪƵ·±µÄ´´½¨ºÍÏú»ÙỊ̈߳¬¶øÈÎÎñÖ´ÐеÄʱ¼äÓַdz£¶Ì£¬ÕâÑùÏ̴߳´½¨ºÍÏú»ÙµÄ´øÀ´µÄ¿ªÏú¾Í²»ÈݺöÊÓ£¬ÕâʱҲÊÇÏ̳߳ظóö³¡µÄ»ú»áÁË¡£Èç¹ûÏ̴߳´½¨ºÍÏú»Ùʱ¼äÏà±ÈÈÎÎñÖ´ÐÐʱ¼ä¿ÉÒÔºöÂÔ²»¼Æ£¬ÔòûÓбØÒªÊ¹ÓÃÏ̳߳ØÁË¡£
ÏÂÃæÊÇLinuxϵͳÏÂÓÃCÓïÑÔ´´½¨µÄÒ»¸öÏ̳߳ء£Ï̳߳ػ ......
C/C++ optimizing compilers are great--but there *are* a few techniques for hand-tuning your code to run as efficiently as possible on the AMD Athlon64 and Opteron processors, especially when developing DLLs, device drivers, or other performance-bound pieces of code.
Alan Zeichick
Share | ......