c#ÔõôʵÏÖÕâÑùµÄÂÌÉ«·¢²¼ - .NET¼¼Êõ / C#
c#дµÄ£¬Ö±½Ó¿½±´µ½Ã»Óа²×°.net frameworkµÄ¼ÆËã»úÒ²¿ÉÒÔÓã¬ÔõôʵÏֵģ¬´ó¼Ò¸ø¸øÒâ¼û¹þ
Èí¼þĿ¼ÏÂÓÐÒ»¸öv2.0.50727ÕâÑùµÄĿ¼,ͼƬÎÒÉÔºò·¢
.Net¼¼ÊõȺ108412141
¹²Í¬Ñ§Ï°.Net¼¼Êõ£¬·ÖÏí.Netѧϰ×ÊÁÏ£¬·ÖÏí.Net¹¤×÷»ú»á
ÓÃһЩ´ò°ü¹¤¾ß(»òÊÇ»ìÏý¹¤¾ß)½«NET¿âÒ²´ò°ü½øEXEÖÐ
±ØÐë°²×°
°ï¶¥£¡
ÒÔÇ°¶¼ÓÐÈËÎÊÕâ¸öÎÊÌâÁË£¬²»°²×°²»¿ÉÒÔÓõġ£
²Î¿¼·ÉÐŵijÌÐò
.netÈç¹ûÏë²»°²×°Ê¹ÓÃ,ЧÂʿ϶¨ÊÜÓ°Ïì
Ó¦¸ÃÊÇÀàËÆjavaÐéÄâ»úµÄʵÏÖ·½·¨
ÍƼö°²×°,²»°²×°Ê¹Óà ½µµÍËÙ¶È
ѧϰѧϰ
ѧϰ
ѧϰ
http://hi.csdn.net/attachment/201005/18/750076_12741613266ggd.jpg
http://hi.csdn.net/attachment/201005/18/750076_1274161423am37.jpg
Õâ¸öÊÇÈí¼þĿ¼ͼƬ£¬Èí¼þ¿½±´µ½¼ÆËã»ú¾Í¿ÉÒÔÓÃÁË£¬ÔõôʵÏÖµÄÄØ£¿
ÔçÍíÒª°²×°µÄ£¬»¹ÊÇ×°ÁË°É£¬¡£netÒÔºó¹¦ÄÜÔ½À´Ô½Ç¿£¬Ò»¶¨ÒªÓëʱ´úÍÑÀëÂð
ÓÃһЩ´ò°ü¹¤¾ß(»òÊÇ»ìÏý¹¤¾ß)½«NET¿âÒ²´ò°ü½øEXEÖÐ
ÎÞÂÛÕâÑù±ÈÈç.net framework 2.0 »¹ÊDZØÐëÒª°²×°µÄ
ҪôÊÇ×Ô¼ºÊÖ¶¯°²×°»òÕß°ÑËü´ò°üµ½°²×°³ÌÐòÖÐ×Ô¶¯°²×°¡£¡£¡£
ÓÃһЩ´ò°ü¹¤¾ß(»òÊÇ»ìÏý¹¤¾ß)½«NET¿âÒ²´ò°ü½øEXEÖÐ
¾Ù¸öÀý×Ó £¿
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
ÓÐÒ»10*10¾ØÕ󣬳ýÈ¥µÚÒ»¸öµã£¨0£¬0£©ºÍ×îºóÒ»µã£¨9£¬9£©£¬»¹Óа˸öµãΪ1£¬ÆäËû¶¼Îª0£¬ÒªÇóÓöþάÊý×é±íʾ¡£°Ë¸öµãÊÇËæ»úÉú³ÉµÄ£¬±àдÏà¹Ø³ÌÐò±íʾ¾ØÕóËùÓпÉÄÜÇé¿ö¡£
ÕæÐÄÇó½Ì¸÷λ¸ßÊÖ£¬°¥£¡±¾ÈËÌ«²ËÁË£¡ºÇºÇ£¡
......
ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......
ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......
ÎÒ¸Õ°ÑÌ·ºÆÇ¿µÄµÚÈý°æµÄÊéѧÍ꣬ÎÒÖªµÀµÄÓÐC++£¬CºÍÖ¸Õë CȱÏݺÍÏÝÚå Cר¼Ò±ä³É£¬»¹ÓÐÊý¾Ý½á¹¹£¬ÎÒÏëÎÊÎÊÎÒÓ¦¸ÃÒÔʲô˳ÐòÀ´Ñ§ÄØ
CȱÏݺÍÏÝÚå Cר¼Ò±à³Ì
Êǽø½×µÄ£¬²»Óü±×Å¿´
ÖÁÓÚ
CºÍÖ¸Õë
Äã²»Àí½âÖ ......