代码搜索结果
找到约 10,000 项符合
R 的代码
circle.r
#ifndef CIRCLE_R
#define CIRCLE_R
#include "Point.r"
struct Circle { const struct Point _; int rad; };
#endif
new.r
#ifndef CLASS_R
#define CLASS_R
#include
struct Class {
size_t size;
void * (* ctor) (void * self, va_list * app);
void * (* dtor) (void * self);
void (* draw) (const void * self);
};
point.r
#ifndef POINT_R
#define POINT_R
struct Point {
const void * class;
int x, y; /* coordinates */
};
#define x(p) (((const struct Point *)(p)) -> x)
#define y(p) (((const struct Point *)(p)) -> y)
r.c
#include
void main()
{
float a; /*a为金额*/
int i,j,k;
char *s[]={" "," ","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninty"}; /*定义字符数组*/
char *t[]={"zero","one","