代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

getlinecoorsthrupnt.m

function [X,Y]=GetLineCoorsThruPnt(x,y,angle,above,below); %function [X,Y]=GetLineCoorsThruPnt(x,y,angle,above,below); %(x,y): coordinates of point %angle: angle of line in radians %above: number of

pizza.c

/* pizza.c -- uses defined constants in a pizza context */ #include #define PI 3.14159 int main(void) { float area, circum, radius; printf("What is the radius of your pizza?\

fft.c.bak

#include "myapp.h" #include "ICETEK-VC5509-EDU.h" #include "scancode.h" #include #define FIRNUMBER 25 #define SIGNAL1F 1000 #define SIGNAL2F 4500 #define SAMPLEF 10000 #define PI 3

5_24.cpp

#include using namespace std; #define PI 3.14159 //宏名PI为符号常量 #define n a //宏名n将用a来替换 #define LENGTH 2*PI*n // 宏名LENGTH将用2*PI*n来替换 int

5_25.cpp

#include using namespace std; #define PI 3.14159 //宏名Pi将替换为3.14159 #define n a #undef PI //取消宏名PI的定义 #define PI 3.1415926 //重新定义宏名PI将替换3.1415926

2_4.cpp

#include using namespace std; int main() { const float PI=3.1415926; //float 型常量 float r=2.0; //用float 型常量初始化变量 cout

3_11.cpp

#include using namespace std; void ComCircle(double&, double&, double); //函数的原型声明 int main() { double r, a, c; cout > r; ComCircle(a, c, r); cout

6_33.cpp

#include using namespace std; void swap(int v1,int v2){int tmp=v2; v2=v1; v1=tmp; cout

6_51.cpp

#include using namespace std; int main() { int *pi=new int(88),*qi; //声明两个整型指针变量 cout

6_27.cpp

#include using namespace std; int main() { //void vobj; //错误1:不能声明void类型的变量 void *pv; //正确:可以声明void类型的指针 int i=10,*pi; pv = &i; //void类型指针指向整型变量 pi = (int *)pv;