Eclipse C++
When placing my original c++ program into the eclipse ide is this the correct way to implement the program or should I move "#include ..." with the others at the top?
Edit: Also when implementing my program should I delete my void main function or leave it?
Edit: Also when implementing my program should I delete my void main function or leave it?
Comments
#include is a pre-processor directive in 'C/C++', please don't include it into method!
The "Execute" method will be called as "program" in a cyclic or event Task (see task configuration in PLCnext Engineer). The "main" program will be don't needed, please remove it!
Please see the following description, E-Learning and Videos, I think it will help you:
1. PLCnextInfoCenter
2. Tutorial Videos
3. E-Learning
4. C++ Examples
5. C Programming tutorial
Best Regards
Eduard