?? powtest.c
字號:
#include <vxWorks.h>
#include <math.h>
#include "../../../include/drv/pc1394Card/OHCIDesc.h"
void powTest(void)
{
double a;
int powResult;
a = pow(2.0, 8.0);
powResult = (int)a;
printf("powTest: a = %6f\n", a);
printf("powTest: powResult = %d\n", powResult);
}
void sizeofTest(void)
{
int iSize;
iSize = sizeof(struct ASY_INPUT_MORE);
printf("sizeofTest: size of ASY_INPUT_MORE = %d\n", iSize);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -