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

CÓëC++µÄÇø±ð

1. C++ËäÈ»Ö÷ÒªÊÇÒÔCµÄ»ù´¡·¢Õ¹ÆðÀ´µÄÒ»ÃÅÐÂÓïÑÔ£¬µ«Ëý²»ÊÇCµÄÌæ´úÆ·£¬²»ÊÇCµÄÉý¼¶£¬C++ºÍCÊÇÐֵܹØϵ¡£Ã»ÓÐË­±ÈË­ÏȽøµÄ˵·¨£¬¸üÖØÒªµÄÒ»µãÊÇCºÍC++¸÷×Եıê׼ίԱ»áÊǶÀÁ¢µÄ£¬×îеÄC++±ê×¼ÊÇC++98£¬×îеÄC±ê×¼ÊÇC99¡£Òò´ËҲûÓÐÏÈѧCÔÙ˵C++µÄ˵·¨£¬Ò²²»ÔÙ£¨×¢ÒâÕâ¸ö"²»ÔÙ"£©ÓÐC++Óï·¨ÊÇCÓï·¨µÄ³¬¼¯µÄ˵·¨¡£
2. C++/CLI ºÍ C# ÊÇ΢ÈíµÄ£¬ËüÃÇÓëCºÍC++ûÓÐÈκιØϵ£¬ËäÈ»²¿·ÖÓï·¨ÏàËÆ¡£µ«ÄÄÁ½ÖÖÓïÑÔ²»ÏàËÆÄØ£¿¶¼ÊÇabcÕâ26¸ö×Öĸ¡£
3. ²»ÒªÊ¹ÓÃTC/TC++/BC/CBµÈ¹ÅÀϵıàÒëÆ÷À´Ñ§Ï°C/C++£¬ÒòΪËüÃÇÌ«¹ÅÀÏÁË£¬²»Ö§³ÖеÄC/C++±ê×¼¡£²»ÒªÊ¹ÓÃCBX/VC++6.0/VC2005µÈ¶ÔC/C++±ê×¼Ö§³Ö²»ºÃµÄ±àÒëÆ÷£¬ËäÈ»ÕâЩ±àÒëÆ÷ÊʺϹ¤×÷£¬µ«²»ÊʺÏѧϰ£¬ÒòΪËüÃÇÖеÄÓï·¨ÏÝÚåºÜ¶à¡£¼ÇסΨһÊʺÏѧϰµÄ±àÒëÆ÷ÊÇgcc/mingw¡£[antigloss×¢£ºDev-C++ ʹÓõıàÒëÆ÷¾ÍÊÇgcc & g++]
4. ²»ÒªÓÃ""´úÌæ<>À´°üº¬ÏµÍ³Í·Îļþ£¬ËäÈ»ÓÐЩ±àÒëÆ÷ÔÊÐíÄãÕâÑù×ö£¬µ«Ëü²»·ûºÏC/C++±ê×¼¡£
´íÎóµÄʾÀý£º#include "stdio.h"£¬#include "iostream"¡£[antigloss×¢£ºÏ°¹ßÉÏ£¬<> ÓÃÓÚ°üº¬±ê׼ͷÎļþºÍϵͳͷÎļþ£¬"" ÓÃÓÚ°üº¬×Ô¶¨ÒåÍ·Îļþ¡£±ê×¼ËƺõûÓÐÃ÷È·¹æ¶¨²»×¼Óà "" °üº¬±ê׼ͷÎļþºÍϵͳͷÎļþ¡£Ê¹Óà "" °üº¬±ê׼ͷÎļþ»òÕßϵͳͷÎļþÖ»ÄÜ˵ÊÇÒ»ÖÖ²»Á¼·ç¸ñ¡£]
5. ²»Òª½«mainº¯ÊýµÄ·µ»ØÀàÐͶ¨ÒåΪvoid£¬ËäÈ»ÓÐЩ±àÒëÆ÷ÔÊÐíÄãÕâÑù×ö£¬µ«Ëü²»·ûºÏC/C++±ê×¼¡£²»Òª½«º¯ÊýµÄint·µ»ØÀàÐÍÊ¡ÂÔ²»Ð´£¬ÔÚC++ÖÐÒªÇó±àÒëÆ÷ÖÁÉÙ¸øÒ»¸ö¾¯¸æ¡£´íÎóµÄʾÀý£ºvoid main() {}£¬main() {} [antigloss×¢£ºC99ºÍC++98¶¼ÒªÇó±àÒëÆ÷¶ÔÊ¡ÂÔintÖÁÉÙ·¢³öÒ»¸ö¾¯¸æ]
Èç¹û²»ÐèÒª´ÓÃüÁîÐÐÖлñÈ¡²ÎÊý£¬ÇëÓÃint main(void) £»·ñÔòÇëÓÃint main( int argc, char *argv[] ) ¡£
6. ²»Òª°ÑVC++ÖÐµÄ #include "stdafx.h" Ìù³öÀ´£¬ËüÊÇÔ¤±àÒëÍ·Îļþ¡£ÈçͬÉϲËʱ²»Òª°Ñ³øʦҲ·Åµ½ÍÐÅÌÖС£
7. [C++]²»Òª#include <iostream.h>£¬²»Òª#include <string.h>£¬ÒòΪËüÃÇÒѾ­±»C++±ê×¼Ã÷È·µÄ·ÏÆúÁË£¬Çë¸ÄΪ #include <iostream> ºÍ #include <cstring>¡£¹æÔò¾ÍÊÇ£º
    a. Èç¹ûÕâ¸öÍ·ÎļþÊǾÉC++ÌØÓеģ¬ÄÇôȥµô.hºó׺£¬²¢·ÅÈëstdÃû×ֿռ䣬
        ±ÈÈç iostream.h ±äΪ iostream¡£
    b. Èç¹ûÕâ¸öÍ·ÎļþÊÇCÒ²Óеģ¬ÄÇôȥµô.hºó׺£¬Ôö¼ÓÒ»¸öcǰ׺£¬±ÈÈç string.h
        ±äΪ


Ïà¹ØÎĵµ£º

ÓÃCдµÄ3DÃÔ¹¬

          Boss˵£¬Òª¿´OpenGL£¬¿´ÁË¿ìÒ»¸öÔ£¬×ÜËã³öÁ˸öÏñÑùµÄ¶«Î÷£¬ÓÃCдÁ˸ö3DÃÔ¹¬£¬
ËäȻֻÓÐ350ÐÐ
       ´úÂ룬²»¹ý±ßѧ±ßд£¬×ã×ãдÁËÒ»ÖÜʱ¼ä£¬»¹ÊÇСÓгɾ͸еģ¬»î»î»î£¡
         &n ......

¹ØÓÚhibernateÅäÖÃc3p0Á¬½Ó³ØÁ¬½ÓmysqlÎÊÌâ

ǰЩÌì¿´ÁËÀî¸Õ<struts2+hibernate+spring>ÄÇÊéÉϵÄhibernate£¬ÅäÖÃÎļþÒ²ÊÇ°´ÕÕÉÏÃæÇýøhibernate.cfg.xmlÎļþµÄ£¬Student.javaÅäÖõÄStudent.hbm.xmlÎļþ¾õµÃҲûʲôÎÊÌ⣬µ«²»Öªµ½Ôõô»ØʾÍÊDZ¨ connection can not open¡£ÓôÃÆ°¡£¬ºóÀ´ÎҾͰÑÊéÀïÃæµÄÅäÖÃÎļþºÍÔ´Â룬¸´ÖƵ½MyEclipseÏÂÃæµÄÒ»¸öÐÂwebÏîÄ¿ÖУ¬ÔËÐ ......

C compiler cannot create executablesµÄ½â¾ö·½·¨

¸ãÁ˼¸ÌìµÄÎÊÌâ¡£±àÒëÒ»¸öÎļþʱ,ÀÏÊdzöÏÂÃæÕâ¸ö´í.
checking for C compiler default output file name… configure: error: C compiler cannot create executables
û·¨×Ó,ÕÒ¸ßÈË°ïÎÒ´¦Àí,¹þ¹þ….¼Ç¼ÏÂÀ´.ÒòΪ64λµÄ»úÆ÷£¬Ä¬È϶ÔCFLAGSµÄÕâÊǽøÐÐÁËÉèÖÃ,ËùÒÔʹÓÃÏÂÃæµÄÃüÁîÇå¿ÕËû¾ÍÐÐÁË£¬ÕâÑùÈí¼þ¾Í²»»á±¨ ......

c/c++Èí¼þ¿ª·¢µÄ×¢ÒâÊÂÏî

µÚÒ»²¿·ÖÈí¼þ±à³ÌµÄʱ¼ä·ÖÅä¸Å¿ö
   ¸ßЧÂʵijÌÐòÔ±²¢²»ÊÇÇüüÅ̵ÄËٶȱȱðÈ˿죬¶øÊÇËûÓÐ×ÅÁ¼ºÃµÄ±à³ÌÏ°¹ß£¬½ÚÊ¡Á˱ðÈËÀ˷ѵÄʱ¼ä¡£Òò´Ë£¬ÒªÏëÌá¸ß×Ô¼ºµÄ±à³ÌЧÂÊ£¬¸ù±¾ÔÚÓÚÔõôÉÙÀË·Ñʱ¼ä¡£Ö»ÒªÄܰѱðÈËÀ˷ѵÄʱ¼ä½ÚÊ¡ÏÂÀ´£¬ÄãµÄЧÂʾͿÉÒÔ¿ì¹ý±ðÈË£¬ÉõÖÁÊý±¶ÓÚ±ðÈË¡£ÒªÏë½Úʡʱ¼ä£¬µ±È»Ê×ÏÈÐèÒªÃ÷°×±à³ÌÖкķ ......

ÔÚÆÁÄ»ÉÏ»­Í¼µÄC££ÊµÏÖ´úÂë


DllImportËùÔÚµÄÃû×Ö¿Õ¼ä using System.Runtime.InteropServices;
[DllImport("User32.dll")]
        public extern static System.IntPtr GetDC(System.IntPtr hWnd);   
        private void button19_Click(obj ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ