Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 #include filename does not match when moving impl
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

wjthomas
Starting Member

1 Posts

Posted - Jan 30 2025 :  08:19:44 AM  Show Profile  Reply with Quote
1. Create a header file using "Create File...".
2. Name the file using ".hpp" as the extension.
3. In the new header file, add code with implementation.
4. Move the implementation to a new ".cpp" file using "Move Implementation to Source File".
5. When the ".cpp" file is created, the #include directive at the top will have the filename as ".h" instead of the expected ".hpp".
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000