#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++面试题
1) 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币”和“银行”好象都找不到了,不知是不是取消了?
尊敬的用户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的代码呢
谢谢了{{ ......