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

C++struct¶ÔÏóºÍXMLת»»ÎÊÌâ¡£¡£¡£

ÎÊÏ£º

    ÎÒÒª½«Ò»¸ö½á¹¹Ìåstruct¶ÔÏóת»»³Éxml,ÈçÏ£º

    ½á¹¹Ì壺struct  structXML
              {
                  string sA;
                  string sB;
                  string sC;
                }
            structXML stxml;
            stxml.sA="sa";
            stxml.sB="sb";
            stxml.sC="sc";
    Ҫת»»³ÉµÄXML£º
    <.....xml Í·>
    <struct>
      <sA>"sa" </sA>
      <sB>"sb" </sB>
      <sC>>"sc" </sC>
    </struct>


    ÇëÎÊÔõô×ö°¡£¿£¿£¿
    ÏëÏÂ˼·´ó¸ÅÊÇÕâÑùµÄ£¬ÄÜ·ñ»ñÈ¡½á¹¹ÌåµÄÊôÐÔÃû£¬ÈçsA£¬È»ºóÔÙ»ñÈ¡"sa",È»ºóдÈëxml...
    дÈëxml²»ÊÇÎÊÌ⣬ÎÊÌâÊÇÈçºÎ»ñÈ¡½á¹¹ÌåµÄÊôÐÔÃû£¬Èç¹ûÊDz»Í¬µÄ½á¹¹ÌåÀàÐ͵ϰ¡£¡£¡£

    ´ó¼Ò¸øµãÏë·¨°¢£¬½ô¼±Òª¡£¡£¡£
ÓÃC/C++ stru


Ïà¹ØÎÊ´ð£º

ÓÃC»òC++ÈçºÎ±àдÇó½â3Dħ·½³ÌÐò - C/C++ / C++ ÓïÑÔ

ÇëÎÊÓÃC»òC++ÈçºÎ±àдÇó½â3Dħ·½µÄ³ÌÐò£¬¸Ã´ÓºÎ¿ªÊ¼£¿
лл¸÷룬°ïæÌáµã½¨Òé°É¡£

http://www.mofang.net/code/176/182/6581.html

ÎÒÖ»ÄÜÍ»ÆÆ60Ã룡°¦¡£

ÎÒ¸Õ¹ý40Ãë

googleµÄandroidÖÐÓиöOpenGL ES + ......

[Çó¸Ö²ÄÇиîÎÊÌâµÄC/C++Ë㷨ʵÏÖ]

ÎÊÌâ:¹¤µØÉÏÐèÒª³¤¶ÈΪA1µÄ¸Ö½îX¸ù,³¤¶ÈΪA2µÄ¸Ö½îY¸ù,³¤¶ÈΪA3µÄ¸Ö½îZ¸ù......ÒÔ´ÎÀàÍÆ.
ÆäÖÐA1,A2,A3,...³¤¶ÈÈÎÒâÖ¸¶¨,X,Y,Z,...ÊýÁ¿Ò²ÈÎÒâÖ¸¶¨.

µ«²Ö¿âÖеĸֽîΪ±ê×¼³¤¶È,Ö»ÓÐ9Ã׺Í15Ã×Á½ÖÖ³¤¶È,ÊýÁ¿² ......

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

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

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

VC++ ÖеÄ&·ûºÅ ¶ÔÓ¦µÄÊÇDelphiÖеÄÄĸö·ûºÅ£¿£¿

VC++ ÖУ¬ &±äÁ¿Ãû¡£ ÊÇʲôÒâ˼¡£ DelphiÖÐ ºÍËûÒ»ÑùµÄ·ûºÅ ÊÇÄĸö¡¢£¿

´ó¼Ò¶¼ÈÏΪ£¬CÓïÑÔÖ®ËùÒÔÇ¿´ó£¬ÒÔ¼°Æä×ÔÓÉÐÔ£¬ºÜ´ó²¿·ÖÌåÏÖÔÚÆäÁé»îµÄÖ¸ÕëÔËÓÃÉÏ¡£Òò´Ë£¬ËµÖ¸ÕëÊÇCÓïÑÔµÄÁé»ê£¬Ò»µã¶¼²»Îª¹ý¡£Í¬Ê±£¬ ......

Çë½ÌÒ»Ìâ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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ