#include <stdio.h>
void main(){
double h;
double r;
printf("Plese input h:\n");
scanf("%f", &h);
printf("\nPlese input r:\n");
scanf("%f", &r);
double m;
m = 2 * 3.14 * r * h;
printf("\nmain ji shi:\t%f", m);
}
Î ......
¼¸¸öC/C++ÃæÊÔÌâ
£±£© What is the size of the following structs
struct foo{
int a;
char[3] b;
};
2£© What is the size of class foo{
public:
int a;
char[3] b;
v ......
ÕâÒ»¶Î´úÂëÊÇÓÃÔÚÓÎÏ·ÀïµÄ,
¾ÍÊÇÁ÷ÐǺûµû½£Õâ¿îµ¥»úÓÎÏ·,
ÇëÇó°ïæ°ÑÕâ¶Î´úÂëת»»³ÉVB´úÂë!
´úÂëÈçÏÂ
C# code:
#include <windows.h>
#define BUTTON1 101
#define EDIT1 201
#define EDIT2 202
#define EDIT3 203
#define HOTKEYIDCHEAT 200
#define HOTKEYIDRECOVER 201
LRESULT CALLBACK Wn ......
c±Ò¼¼Êõ·ÖʲôÒâ˼£¬Ôõô¶Ò»»°¡£¿
¡°C±Ò¡±ºÍ¡°ÒøÐС±ºÃÏó¶¼ÕÒ²»µ½ÁË£¬²»ÖªÊDz»ÊÇÈ¡ÏûÁË£¿
×ð¾´µÄÓû§xinzaiyiqi£¬ÄúºÃ£º
ÏÖÔÚ²»ÌṩC±ÒÁË¡£
¸ÐлÄúÖ§³ÖCSDN ÉçÇø!
Regards
====================================
ok£¬¸Ðл¸÷λÁË£¡
......
ÏÂÃæÊÇVBÖеĴúÂë
Public Delegate Sub EventHandler(ByVal sender As Object, ByVal e As EventArgs)
Public my_eh As EventHandler
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'winceÏÂʵÀý
my_eh = New EventHa ......
Sub do_DateReceivced()
Dim oo As Object = Nothing
Me.BeginInvoke(my_eh, New Object() {oo, EventArgs.Empty}) 'Òì²½µ÷ÓÃ.
End Sub
C#ÖÐÈçºÎ·ÒëÒÔÉϵÄVBµÄ´úÂëÄØ
ллÁË{{ ......