# C++ Code Examples

**URL:** <https://forums.unrealengine.com/t/c-code-examples/3356>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [April 27, 2014, 2:59pm UTC](https://forums.unrealengine.com/t/c-code-examples/3356 "2014-04-27T14:59:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhi\_GCIIIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Abhi\_GCIIIT](https://forums.unrealengine.com/u/Abhi_GCIIIT)\
**Post date:** [April 27, 2014, 2:59pm UTC](https://forums.unrealengine.com/t/c-code-examples/3356/1 "2014-04-27T14:59:40Z")

</div>

Hey guys,  
I am completely new to Unreal Engine 4. I have a very little knowledge of UDK and UnrealScript (which i didnt find easy). Though i have programming experience in C++ and would love to start with that. So if you guys can tell me some source to get me started in C++ or maybe a few code examples that would be great.

---

<div class="post-metadata">

**Author:** ![Daganar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daganar](https://forums.unrealengine.com/u/Daganar)\
**Post date:** [April 27, 2014, 3:06pm UTC](https://forums.unrealengine.com/t/c-code-examples/3356/2 "2014-04-27T15:06:35Z")

</div>

Google Is your friend 😉  
The best place to find UE4 tutorials is on the documentation and wiki:

> **[Unreal Engine 4 Documentation](https://docs.unrealengine.com/4.27/en-US/)**
>
> Complete resources for learning to use Unreal Engine 4

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

https://www.youtube.com/embed/videoseries?list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

Any UE4 questions you should ask on here or the AnswerHub.

Here’s a couple of links to get you started on C++:  
[http://www.cplusplus.com/doc/tutorial/](http://www.cplusplus.com/doc/tutorial/)  
[http://www.learncpp.com/](http://www.learncpp.com/)

Also if you have any questions regarding C++ then the Stack Overflow website is the best, literally if you have a question put it in Google and it will redirect you to a Stack Overflow topic:

> **[Stack Overflow - Where Developers Learn, Share, & Build Careers](https://stackoverflow.com/)**
>
> Stack Overflow | The World’s Largest Online Community for Developers

And on a final note, you should probably look into getting a good book if you are serious and some Math wouldn’t help either 😉

---

<div class="post-metadata">

**Author:** ![Abhi\_GCIIIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Abhi\_GCIIIT](https://forums.unrealengine.com/u/Abhi_GCIIIT)\
**Post date:** [April 28, 2014, 12:29am UTC](https://forums.unrealengine.com/t/c-code-examples/3356/3 "2014-04-28T00:29:44Z")

</div>

Thanks for the resources! 🙂 Though i didnt get what you meant by “Math wouldnt help either”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d44e7f33](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d44e7f33](https://forums.unrealengine.com/u/anonymous_user_d44e7f33)\
**Post date:** [April 28, 2014, 1:50am UTC](https://forums.unrealengine.com/t/c-code-examples/3356/4 "2014-04-28T01:50:14Z")

</div>

> [@Abhi\_GCIIIT;24167](#):
>
> Thanks for the resources! 🙂 Though i didnt get what you meant by “Math wouldnt help either”.

I’m guessing he meant to type hurt instead of help? If he did, then he’s right, getting a handle on vector maths, trigonometry, and a whole host of other stuff can be really useful. That being said, it’s probably not vital to game programming, since you can usually just google the stuff you need.

---

<div class="post-metadata">

**Author:** ![Meltdown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Meltdown](https://forums.unrealengine.com/u/Meltdown)\
**Post date:** [April 28, 2014, 2:36am UTC](https://forums.unrealengine.com/t/c-code-examples/3356/5 "2014-04-28T02:36:13Z")

</div>

Also checkout [pluralsight.com](http://pluralsight.com). They have a C++ video beginners course that is many hours and well explained. A one month subscription should be all you need to get the courses done and get comfortable with the language.

---

<div class="post-metadata">

**Author:** ![Daganar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daganar](https://forums.unrealengine.com/u/Daganar)\
**Post date:** [April 28, 2014, 10:14am UTC](https://forums.unrealengine.com/t/c-code-examples/3356/6 "2014-04-28T10:14:41Z")

</div>

> [@Abhi\_GCIIIT;24167](#):
>
> Thanks for the resources! 🙂 Though i didnt get what you meant by “Math wouldnt help either”.

Sorry, yeah I meant go brush up on your Math skills for games programming you are going to need to a fair bit at the very basic you should brush up on trigonometry, alegebra, vectors and matrices.
