阅读背景:

错误:C2228:“必须有类/结构体/联合”的左边

来源:互联网 

I'm a long time Java user learning C++ with Qt and I'm having a lot of trouble understanding how methods work. Right now, I'm trying to figure out databases, and tried to simplify my code with a header. Normally in Java I would just have a class called DatabaseControl with a void method that would execute whatever I wanted. For example, adding an employee to a database, as I'm doing now. I'd instantiate the class, by doing something likeI'm a long time Java user learning C++ with Qt




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: