You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to learn how the robot works and I noticed that the source code is in the header files. Would it not be better to have separate .cpp files for the implementation?
The text was updated successfully, but these errors were encountered:
Ideally, it's better to have separate CPPs from the headers. The current
codes for each module are relatively short so I'm writing them in each
header directly. Another reason is that I may use the modules from other
projects. It's easier to import a single header than to have separate CPPs.
On Thu, Jul 21, 2022 at 3:54 PM vChavezB ***@***.***> wrote:
I am trying to learn how the robot works and I noticed that the source
code is in the header files. Would it not be better to have separate .cpp
files for the implementation?
—
Reply to this email directly, view it on GitHub
<#27>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKLZGALSZUL6OFLD3OERCDVVD62VANCNFSM54GUEN2A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
I am trying to learn how the robot works and I noticed that the source code is in the header files. Would it not be better to have separate .cpp files for the implementation?
The text was updated successfully, but these errors were encountered: