c#µ÷ÓÃcдµÄdll,Ò»¸ö½á¹¹²»»áд - .NET¼¼Êõ / C#
vcÀ
typedef struct _FontAttr{
char fontname[64]; //×ÖÌåÃû
int fontsize; //×ÖÌå´óС
}FontAttr;
°ÑËüת»»³Éc#µÄstruct Ó¦¸ÃÔõôд£¿
struct _FontAttr
{
Char [] fontname = new Char[64];
Int32 fontsize;
}
public struct PostalAddress
{
char fontname[64]; //×ÖÌåÃû
int fontsize; //×ÖÌå´óС
}
struct _FontAttr
{
public Char [] fontname = new Char[64];
public Int32 fontsize;
}
C# code:
public struct _FontAttr
{
public char [] fontname = new char[64] ; //×ÖÌåÃû
public int fontsize; //×ÖÌå´óС
}
//ʹÓÃ
_FontAttr f;
public Char [] fontname = new Char[64];
---------------
Èç¹ûÕâÑùд£¬ÈçºÎ°Ñ¡°ËÎÌ塱´«½øÈ¥£¿
C# code:
public struct _FontAttr
{
public string fontname ; //×ÖÌåÃû
public int fontsize; //×ÖÌå´óС
}
//ʹÓÃ
_FontAttr f;
f.fontname="ËÎÌå"
ÄãÒª°Ñ¡°ËÎÌ塱´æÔÚchar Êý×éÖУ¿
{{---
Ïà¹ØÎÊ´ð£º
ÇëÎÊVFPÖÐÈçºÎµ÷ÓÃC/C++º¯Êý£¿
ÄãÒªµ÷ÓÃʲô¹¦Äܵĺ¯Êý£¿Òª¿´¿´VFPÖÐÓÐûÓжÔÓ¦µÄº¯Êý£¬Èç¹ûÓоÍÊ¡×ÅÔÙµ÷ÓÃÁË¡£Èç¹ûûÓУ¬¿ÉÒÔ½«C/C++º¯Êýд¸öDLL»òFLL£¬È»ºóÔÚVFPµ÷Óü´¿É¡£
Ê®¶¹Èý ÀÏʦ£¬Ôõô²ÅÄÜÐÞ¸Ä×Ô¼ºµÄ ......
SHIFT¼ÓF10ÓëÄǸö¼üÓÒctrl±ßÉϵÄÄǸö¼ü¹¦ÄÜÒ»Ñù£¬ÏëÆÁÕâ¸ö
µ«²»ÖªÒªÔõôдÄǸö×éºÏ¼ü£¡
ÓÐûÄĸö´óÏÀ·ÅÒ»¶ÎÕâ¸öµÄ´úÂë»òдһ¶Î
http://topic.csdn.net/u/20090609/15/7dc9fb70-243f-4070-9cfd-34e48b66e6c6.html
......
˼·£ºÒªÓÃc#Éú³ÉÒ»¸ö²¥·Å»úµÄ²¥·ÅÁбíµÄxml£¬ÀýÈ磺
<daty datys='2010-04-05' datye='2010-05-01' > //ÕâÊDz¥·ÅµÄÈÕÆÚ¶Î
<time times='01:12:00' timee='02:30:00'> ......
ËÄܰïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......
ÊäÈë10ѧÉúµÄ³É¼¨£¬¹²4¿Æ£¬°´ÕÕÒªÇó±àдʵÏÖÏÂÁй¦ÄܵijÌÐò£¨ÓÃ×Óº¯ÊýʵÏÖ£©
1 Çó³öÿ¿ÆµÄƽ¾ù³É¼¨ ½«Æ½¾ù·Ö¡µ90µÄͬѧµÄÅÅÐò
×÷ÒµÌù~£¡
àÅ ÎÒͬѧ¸øÎÒ·¢µÄ×÷Òµ ÎÒ×òÌì×öÁË µ«Êǽá¹ûÔËÐв»¶Ô ×òÌìÓкö ......