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

ʹÓÃNDK¿ª·¢C/C++ÏîÄ¿¹æÔò(ZT)

ʹÓÃNDK¿ª·¢C/C++ÏîÄ¿¹æÔò
<!-- /* Font Definitions */ @font-face {font-family:ËÎÌå; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;}@font-face {font-family:"\@ËÎÌå"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:ËÎÌå; mso-font-kerning:1.0pt;}h3 {mso-style-next:ÕýÎÄ; margin-top:13.0pt; margin-right:0cm; margin-bottom:13.0pt; margin-left:0cm; text-align:justify; text-justify:inter-ideograph; line-height:173%; mso-pagination:lines-together; page-break-after:avoid; mso-outline-level:3; font-size:16.0pt; font-family:"Times New Roman"; mso-font-kerning:1.0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;}@page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:42.55pt; mso-footer-margin:49.6pt; mso-paper-source:0; layout-grid:15.6pt;}div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:423304355; mso-list-type:hybrid; mso-list-template-ids:872588632 -907124490 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1 {mso-level-text:%1£®; mso-level-tab-stop:39.0pt; mso-level-number-position:left; margin-left:39.0pt; text-indent:-18.0pt;}ol {margin-bottom:0cm;}ul {margin-bottom:0cm;}--> Ϊʹ¸ü¶àÅóÓÑÄܸüÈÝÒ×ѧ»áʹÓÃNDK
¿ª·¢C/C++
³ÌÐò£¬ÌØÐ´´ËÌù£¬Ï£ÍûÄܰïµÄÉÏ´ó¼Ò¡£
   
ʹÓÃNDK
¿ª·¢C/C++
ÏîÄ¿Ðè×¢ÒâÒÔϼ¸µã¹æÔò£º
NDK
¹¤¾ßԭĿ¼¹æÔò£»
  &n


Ïà¹ØÎĵµ£º

C´úÂëÓÅ»¯·½°¸

1¡¢Ñ¡ÔñºÏÊʵÄËã·¨ºÍÊý¾Ý½á¹¹
Ñ¡ÔñÒ»ÖÖºÏÊʵÄÊý¾Ý½á¹¹ºÜÖØÒª£¬Èç¹ûÔÚÒ»¶ÑËæ»ú´æ·ÅµÄÊýÖÐʹÓÃÁË´óÁ¿µÄ²åÈëºÍɾ³ýÖ¸ÁÄÇʹÓÃÁ´±íÒª¿ìµÃ¶à¡£Êý×éÓëÖ¸ÕëÓï¾ä¾ßÓÐÊ®·ÖÃÜÇеĹØÏµ£¬Ò»°ãÀ´Ëµ£¬Ö¸Õë±È½ÏÁé»î¼ò½à£¬¶øÊý×éÔò±È½ÏÖ±¹Û£¬ÈÝÒ×Àí½â¡£¶ÔÓڴ󲿷ֵıàÒëÆ÷£¬Ê¹ÓÃÖ¸Õë±ÈʹÓÃÊý×éÉú³ÉµÄ´úÂë¸ü¶Ì£¬Ö´ÐÐЧÂʸü¸ß¡£
ÔÚÐí¶àÖÖÇ ......

C/C++ÓëJavaº¯ÊýÖØÔØÇø±ð!

#include <iostream>
using namespace std;
class Base {
public:
virtual void fn(int x) {
cout << "In Base class, int x = " << x << endl;
}
};
class SubClass : public Base {
public:
// º¯ÊýµÄÖØÔØ,ÕâÑùµÄÖØÔØ·½Ê½,ÔÚJavaÖÐÄÜÐÐ,ÔÚC/C++ÖÐÈ´²»ÐÐ
virt ......

C Primer Plus µÚ11Õ ×Ö·û´®ºÍ×Ö·û´®º¯Êý С½á

Ò»¡¢×Ö·û´®³õʼ»¯·½Ê½
//µÚÒ»ÖÖ£º´óСȷ¶¨µÄÇé¿ö
char string1[10] = "I am a boy";
//µÚ¶þÖÖ£º×Ô¶¯¼ÆËã´óС
char string2[] = "I am a boy";
//µÚÈýÖÖ£º³õʼ»¯Ò»¸öÖ¸Õë
char *string3 = "I am a boy";
//µÚËÄÖÖ£º³õʼ»¯Ò»¸öÖ¸ÕëÊý×é
char *string4[10] = "I am a boy";
......

pro*c makefile ±àд

¸Ãmakefile Ö»ÊÇÔÚlinux ÖвâÊÔ¹ý£¬ Èô²ÉÓÃhu-ux Ö»ÒªÒÔÏÂmakefileÖеÄgcc ¸ÄΪaCC  µ«
hu-ux δ²âÊÔ
1¡¢Ê×ÏÈÈ·¶¨pro*c ¹¤³ÌĿ¼½á¹¹
proc/bin
proc/include
proc/lib
proc/src
        src/libsrc
        src/project_src
 &n ......

c++ mysql

/*
 * test.cpp
 *
 *  Created on: 2010-5-13
 *      Author: Sarah
 */
  #include   "/usr/include/mysql/mysql.h"   /*Ϊ¾ø¶Ô·¾¶*/
  #include   <stdio.h>
#include <stdlib.h>
#i ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ