Tips and Advice for C++
-
Syntax Explanation:
- #include <iostream> is a header file library. This allows us to be able to use input and output statements such as cout.
- using namespace std allows us to use names for variables and/or objects from a standard library.
- int main is a function that is executed using curly braces {}.
- cout is an object that is associated with the insertion operator (<<).
- return 0 ends the function in which the line following would have the final curl brace.
- In C++, we always end a line with a semi-colon (;).
-
Software help for C++:
- Visual Studio
- Integrating C++ code from Visual Studio to GitHub: https://code.visualstudio.com/docs/editor/github
Bonus Link!
- Integrating Autodesk Maya Project to Unreal Engine Project (may have to be in different project to avoid getting lost but didn’t want to lose it):
Syntax Explanations
Topic | Description | Link (if applicable) |
---|---|---|
Syntax Explanation; #include <iostream> | #include <iostream> is a header file library. This allows us to be able to use input and output statements such as cout. | N/A |
Syntax Explanation; using namespace std | using namespace std allows us to use names for variables and/or objects from a standard library. | N/A |
Syntax Explanation; int main | int main is a function that is executed using curly braces {}. | N/A |
Syntax Explanation; cout | cout is an object that is associated with the insertion operator (<<). | N/A |
Syntax Explanation; return 0 | return 0 ends the function in which the line following would have the final curl brace. | N/A |
C++ Helpful Tips and Tricks
Topic | Description | Link |
---|---|---|
Quick tip for C++ | In C++, we always end a line with a semi-colon (;). | N/A |
Software Help C++; Visual Studio | This link will take you to Visual Studio’s site where they have walkthroughs on any problems that occurred in any versions of the software. |
https://learn.microsoft.com/en-us/cpp/overview/visual-cpp-in-visual-studio?view=msvc-170 |
Software Help C++; Sending Code from Visual Studio to GitHub |
This link will guide you on how to send your code to GitHub. Great for pull requests when working in team projects. | https://code.visualstudio.com/docs/sourcecontrol/github |
** This is the Bonus Link; Put in animation sheet ** Software Help; Integrating Maya projects to Unreal Engine |
This link will guide you on how to integrate Maya projects into an Unreal Engine game project. | https://docs.unrealengine.com/4.27/en-US/AnimatingObjects/SkeletalMeshAnimation/LiveLinkPlugin/ConnectingUnrealEngine4toMayawithLiveLink/ |
Need More Help?
Click here to schedule a 1:1 with a tutor, coach, and or sign up for a workshop. *If this link does not bring you directly to our platform, please use our direct link to "Academic Support" from any Brightspace course at the top of the navigation bar.