|
I want to use parallel port,so I
vi main.cpp
- #include <linux/parport.h>
- int main()
- {
- struct parport pp;
- }
复制代码
g++ main.cpp
main.cpp: In function `int main()':
main.cpp:5: aggregate `parport pp' has incomplete type and cannot be defined
HOW CAN I TO USE the struct parpart ????
thank you! |
|