简体   繁体   English

linux下C++启动

[英]C++ start under linux

Hi everyone I tried start old program under linux, but it just closed after start without any error, can someone help me?大家好,我尝试在 linux 下启动旧程序,但启动后它就关闭了,没有任何错误,有人可以帮助我吗?

g++ CForwarder.cpp udpsend.cpp -o CForward -lftd2xx

Then然后

cat CForward

Return many trash information返回很多垃圾信息

https://pastebin.com/vCjkhwu3 https://pastebin.com/vCjkhwu3

This command这个命令

g++ CForwarder.cpp udpsend.cpp -o CForward -lftd2xx -v

Return this information https://pastebin.com/DuDCUxy9返回此信息https://pastebin.com/DuDCUxy9

No idea why, please help不知道为什么,请帮忙

cat CForward doesn't execute CForward, but it writes it to the terminal output (stdout). cat CForward不执行 CForward,而是将其写入终端输出 (stdout)。 You want to execute CForward use ./CForward directly要执行./CForward直接使用./CForward

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM