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

Լɪ·òÎÊÌâµÄÑ­»·Á´±í½â·¨ C/C++

/*
title£ºÔ¼Éª·òÎÊÌâµÄÑ­»·Á´±í½â·¨
author£ºcoolsky600
date£º2010 04 22
notice£ºcÓïÑÔ ÃæÏò¹ý³Ì
*/
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int num;        //È«¾Ö±äÁ¿Î§È¦ÈËÊý
int out;        //³öÈ¥µÄ³õʼºÅÂë
typedef struct Node      //¶¨Òå×ùλ½á¹¹Ìå
{
 int num;
 struct Node *next;
};
Node *creat()       //³õʼ»¯Ñ­»·Á´±í
{
 extern int num;      //ÉùÃ÷È«¾Ö±äÁ¿
 extern int out;      //ÉùÃ÷È«¾Ö±äÁ¿
 int i,flag=0;      
 Node *p1,*p2,*head;
 printf("Ò»¹²¼¸¸öÈËΧȦ£¿");
 scanf("%d",&num);
 printf("¿ªÊ¼µÚ¼¸¸ö³öÈ¥£¿");
 scanf("%d",&out);
 head=p1=p2=(Node *)malloc(sizeof(Node));
 head->num=0;      //µÚÒ»¸ö½ÚµãֵΪ 0
 for(i=0;i<num-1;i++)    //ÔÙÉú³Énun-1¸ö½ÚµãÁ¬ÈëÁ´±í
 {
  p1=(Node *)malloc(sizeof(Node));
  p1->num=i+1;
  p2->next=p1;
  p2=p1;
  flag++;       //flagÓÃÓÚÇø±ðµÚÒ»¸ö½Úµã
 }
 p2->next=head;
 return head;
}
void show(Node *head)     //ÏÔʾ³ö¾ÖµÄ˳Ðò
{
 extern int out;      //ÉùÃ÷È«¾Ö±äÁ¿
 extern int num;      //ÉùÃ÷È«¾Ö±äÁ¿
 Node *p,*p1;
 p=head;
 int i,j;
 for(j=1;j<num;j++)     //¿ØÖÆÊä³öµÄ´ÎÊýΪnum-1
 {
  for(i=0;i<out-1;i++)   //ÒÔµ±Ç°pÖ¸ÕëΧ»ù×¼ÒÔnum-1ΪƫÒÆÁ¿ÕÒµ½ÏÂÒ»¸ö³ö¾ßµÄÈË
  {
   p=p->next;
  }
  p1=p->next;
  out=p1->num;     //½«³ö¾ÖºÅÂ븳¸ø


Ïà¹ØÎĵµ£º

Linux C MySQLÊý¾Ý¿âº¯Êý

1. ³õʼ»¯Ò»¸öÁ¬½Ó¾ä±ú
    MYSQL *mysql_init(MYSQL *);
    ÕýÈ·£º·µ»ØÒ»¸öÖ¸ÏòзÖÅäµÄÁ´½Ó¾ä±ú½á¹¹µÄÖ¸Õë
    ´íÎó£ºNULL
    ×¢£º¸Ãº¯ÊýµÄ´«Èë²ÎÊýͨ³£ÎªNULL¼´¿É¡£
2. ½¨Á¢ÎïÀíÁ¬½Ó
    MYSQL *mysql_real_connect(MYSQL *connect ......

º¯ÊýµÄ½âÎöÖ®C/C++

      º¯ÊýÊdzÌÐòµÄÖ´ÐÐÄ£¿é£¬ÊÇÕû¸öÏîÄ¿µÄϸ°û£¬ÈçºÎ×éÖ¯ºÃÿһ¸öº¯ÊýµÄ½á¹¹£¬ÈçºÎÌá¸ß³ÌÐòµÄ¿É¶ÁÐÔºÍÔËÐÐЧÂÊ£¬ÊdzÌÐòÔ±ÃDz»¶ÏƷζµÄÖ÷Ìå¡£ÓÐʱº¯ÊýµÄÉè¼ÆÄÜÖ±½ÓÌåÏÖ³ö³ÌÐòÔ±¶ÔC/C++µÄÀí½âºÍ¸ÐÎò¡£
      C/C++µÄº¯ÊýÀàÐͲ»¶ÔÍâºõÒÔϼ¸ÖÖ£¬ÓÐЩÃèÊö¿ÉÄܲ»Ì«ÌùÇУº
......

Xerces C++ÕýÈ·´¦ÀíXMLÎĵµ


1¡¢Xerces-C++ÊÇʲô£¿
      Xerces-C++ µÄÇ°ÉíÊÇ IBM µÄ XML4C ÏîÄ¿¡£XML4C ºÍ XML4J ÊÇÁ½¸ö²¢ÁеÄÏîÄ¿£¬¶ø XML4J ÊÇ Xerces-J——Java ʵÏÖ——µÄÇ°Éí¡£IBM ½«ÕâÁ½¸öÏîÄ¿µÄÔ´´úÂëÈÃÓë Apache Èí¼þ»ù½ð»á(Apache Software Foundation)£¬ËûÃǽ«Æä·Ö±ð¸ÄÃûΪ Xerces-C++ º ......

cÁ¬½Ó·û

cÓïÑԺ궨ÒåµÄÁ¬½Ó·ûÓÐÄÄЩ
[´ËÎÊÌâµÄÍƼö´ð°¸]
(Ò»)ºê¶¨ÒåÖеÄ## Á¬½Ó·ûÓë# ·û
## Á¬½Ó·ûºÅÓÉÁ½¸ö¾®ºÅ×é³É£¬Æ书ÄÜÊÇÔÚ´ø²ÎÊýµÄºê¶¨ÒåÖн«Á½¸ö×Ó´®(token)Áª½ÓÆðÀ´£¬´Ó¶øÐγÉÒ»¸öеÄ×Ó´®¡£µ«Ëü²»¿ÉÒÔÊǵÚÒ»¸ö»òÕß×îºóÒ»¸ö×Ó´®¡£ËùνµÄ×Ó´®(token)¾ÍÊÇÖ¸±àÒëÆ÷Äܹ»Ê¶±ðµÄ×îСÓï·¨µ¥Ôª¡£¾ßÌåµÄ¶¨ÒåÔÚ±àÒëÔ­ÀíÀïÓÐÏ꾡µÄ ......

Linux/WinCE C¡¢C++¸ß¶Ë¿Î³Ì

—¡ï—ÅàѵÖÜÆÚ£º¹²950ѧʱ  5¸öÔÂ
—¡ï—Åàѵ¸½Ôù£º±£Ö¤Ñ§Ô±ÈËÊÖÒ»»úºÍÒ»Ì×ARM9¿ª·¢°å
—¡ï—ÅàѵÄÚÈÝ£ºÔÚÏîÄ¿¾­ÀíµÄ´øÁìÏ£¬Í¨¹ýÍê³É¾ÖÍøµÄÂ齫ÓÎÏ·¡¢My ICQ(ÍøÂçÁÄÌì)ºÍ·¢µç»úÔÚÏß¼à¿Øϵͳ£¬BTÏÂÔØÈí¼þ£¬ÕÆÎÕ»ùÓÚLinuxºÍWindowsƽ̨ϵÄC/C++ÆóÒµ¼¶Ó¦ÓõĿª·¢¼¼ÄÜ£¬ÕÆÎÕ´óÐÍÈí¼þÏî ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ