user-0 提问: C语言转换问题

回复:
user: user-0
content: 引用 3 楼 colinfang2006 的回复:这是C#代码吧，如果你想移植到C，必须定义 Steema.TeeChart.Axis这些结构  老铁，麻烦教我一下，我该怎么定义呢？

user: user-1
content: 这是C#代码吧，如果你想移植到C，必须定义 Steema.TeeChart.Axis这些结构

user: user-0
content: 引用 1 楼 colinfang2006 的回复:编译错误就把编译错误贴上来啊  --------------------Configuration: wwwwwww - Win32 Debug-------------------- Compiling resources... Compiling... wwwwwwwDlg.cpp C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2065: 'Steema' : undeclared identifier C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2228: left of '.TeeChart' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2228: left of '.Axis' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2146: syntax error : missing ';' before identifier 'axis' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2065: 'axis' : undeclared identifier C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2228: left of '.tChart1' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2228: left of '.Axes' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(158) : error C2228: left of '.Left' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(160) : error C2228: left of '.AxisPen' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(160) : error C2228: left of '.Color' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(160) : error C2228: left of '.Red' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(161) : error C2228: left of '.StartPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(162) : error C2228: left of '.EndPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(165) : error C2065: 'Green' : undeclared identifier C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(165) : error C2061: syntax error : identifier 'TeeChart' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(166) : error C2228: left of '.tChart1' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(166) : error C2228: left of '.Axes' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(166) : error C2228: left of '.Custom' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(166) : error C2228: left of '.Add' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(167) : error C2228: left of '.AxisPen' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(167) : error C2228: left of '.Color' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(167) : error C2228: left of '.Green' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(168) : error C2228: left of '.StartPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(169) : error C2228: left of '.EndPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(171) : error C2065: 'Blue' : undeclared identifier C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(171) : error C2061: syntax error : identifier 'TeeChart' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(172) : error C2228: left of '.tChart1' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(172) : error C2228: left of '.Axes' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(172) : error C2228: left of '.Custom' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(172) : error C2228: left of '.Add' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(173) : error C2228: left of '.AxisPen' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(173) : error C2228: left of '.Color' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(173) : error C2228: left of '.Blue' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(174) : error C2228: left of '.StartPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(175) : error C2228: left of '.EndPosition' must have class/struct/union type C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC\Desktop\新建文件夹\wwwwwwwDlg.cpp(215) : error C2143: syntax error : missing ';' before '}' C:\Users\PC

user: user-1
content: 编译错误就把编译错误贴上来啊