bit-tech.net

Go Back   bit-tech.net Forums > Technology > Software

Reply
 
Thread Tools
Old 21st Jan 2017, 21:30   #1
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Learning C++

Hey guys,

No doubt lots of you here can code so I'm after some advice & recommendations.

The place where I work is moving heavily into VR predominantly using unreal engine along with some custom front ends and apps. So I need to learn to code in C++, particularly focusing on 3D models/environments for VR.

So I'm after some recommendations for books and videos to begin learning, can be paid or free.

Cheers
Archtronics is offline   Reply With Quote
Old 21st Jan 2017, 21:37   #2
theshadow2001
[DELETE] means [DELETE]
 
theshadow2001's Avatar
 
Join Date: May 2012
Posts: 4,809
theshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyan
I found C++ primer plus to be quite a decent and readable book. That's based around the general C++ programming language. You will need something Windows specific as well but I can't help you out there.

Paul Programming on Youtube might prove interesting for you as well.
theshadow2001 is offline   Reply With Quote
Old 21st Jan 2017, 22:31   #3
RedFlames
...is a figment of your imagination
 
RedFlames's Avatar
 
Join Date: Apr 2009
Location: The northern wastes of Geordieland
Posts: 6,683
RedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming SaiyanRedFlames is a Super Spamming Saiyan
These may or may not be of use....

Microsoft Virtual Academy:
C++: A General Purpose Language and Library Jump Start
Introduction to C++ and DirectX Game Development Jump Start
__________________
Why are you still reading this? The post is over. Go Home.

RedFlames is offline   Reply With Quote
Old 22nd Jan 2017, 02:12   #4
Ending Credits
Bunned
 
Ending Credits's Avatar
 
Join Date: Jan 2008
Posts: 5,139
Ending Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming SaiyanEnding Credits is a Super Spamming Saiyan
At the risk of sounding unhelpful, you're probably better off learning something like lua tbh.
__________________
Quote:
Originally Posted by lp1988 View Post
We can conclude that Ending Credits has a niche for ejaculation related quotes.
Ending Credits is offline   Reply With Quote
Old 23rd Jan 2017, 23:16   #5
javaman
May irritate Eyes
 
javaman's Avatar
 
Join Date: May 2009
Location: Belfast
Posts: 2,908
javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.
Depending on your preferred method of learning.

Microsoft Virtual academy is a good place to start as is pluralsite and edx.
Youtube has a few unity based playlists so likely will have some unreal based ones too. From experience YMMV on youtube.
Depending on your programming skills jumping right into project Euler or another challenge based site and using a language to solve problems might be quicker or a better way of learning for yourself.
javaman is offline   Reply With Quote
Old 24th Jan 2017, 00:27   #6
Hawkest_83
Minimodder
 
Join Date: Jan 2016
Location: Newcastle upon Tyne
Posts: 30
Hawkest_83 has yet to learn the way of the Dremel
out of curiosity whats your language of choice?
Hawkest_83 is offline   Reply With Quote
Old 24th Jan 2017, 11:46   #7
javaman
May irritate Eyes
 
javaman's Avatar
 
Join Date: May 2009
Location: Belfast
Posts: 2,908
javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.
C# mostly because I use it in work so it is my strongest language in terms of syntax and development environment used.

My background before was Visual Basic and Matlab before moving to C and Java (haven't used Java 8 yet). C is a great language tho can be frustrating and Java when I used it was becoming wordy to implement basic ideas. Work forced me to pick up C# which sits nicely in between both C and Java. Visual studio as an IDE is also a big bonus compared to netbeans, JCreator and Eclipse.

Been trying to pick up basic syntax for Python and Powershell and from there will start to build things. The main aim is to try and automate some tasks. However there is an increasing need to pick up Javascript focusing on the React Framework so only last week I started trying to set up an environment for it. SQL is another language I enjoy and will need to invest more time in soon for work as I'm still not fully up to speed with it.

Most of the last year I focused more in pulling the pieces I know and trying to focus more on paradigms such as Procedural and object orientated (you soon learn are pretty meaningless). Another big push in work is test first and refactoring (project I work on is over 10 years old now so needs a lot of time investment).

I'm at the point were a language started to become a tool to complete a task. I could pick up Java again and develop in it and although development would be slightly slower as I relearn memory muscle in how to implement things and get use to a new Development environment. The latest project in work uses a mix of Java and Ruby for the back end tho it's more likely new developers on the project will be front end based working with HTML/CSS/Javascript/SQL.
javaman is offline   Reply With Quote
Old 24th Jan 2017, 11:57   #8
techniana
What's a Dremel?
 
techniana's Avatar
 
Join Date: Jan 2017
Posts: 16
techniana has yet to learn the way of the Dremel
I think the most important thing is finding out which language actually suits you the best. I guess because the list of available options is unending. From C++ to python, Visual basic etc..plus the complexity of all this languages are all very different. I guess C++ is mainly for those interested in learning how to code for image editing programs, games or apps. It makes sense, because anyone who has dealt with C++ before, will learn Java easily. I think this is a great summary that also adds where you could get tutorials on what exactly you want.
techniana is offline   Reply With Quote
Old 24th Jan 2017, 14:18   #9
javaman
May irritate Eyes
 
javaman's Avatar
 
Join Date: May 2009
Location: Belfast
Posts: 2,908
javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.javaman is the Cheesecake. Relix smiles down upon them.
I would argue for a first language it doesn't matter with two the exception of a use specific language like SQL. C/C++ would fall under this as many features C# hasn't fully implemented yet and can't completely replace C++

So many languages support each paradigm and despite the different strengths and weaknesses are pretty much interchangeable. C# and Java are in this position. Microsoft has pushed many Visual Basic and C/C++ developers to C# tho the likes of C/C++ still has it's place. Visual Basic however is a little pointless due to C# web forms.

As such IDE choice is almost more important in comfort in programming than the language itself excluding the exceptions of a specific feature or use case. In work C# was used because the decision to use BizTalk for the ESB. Being a Microsoft product C#, .net and Visual Studio made the technology stack a logical choice at the time. Currently we built our own tool sets so can integrate and support applications developed in other languages with BizTalk.
Yes some of Java's data structures are wordy and convoluted to implement at times and until Java 8 missed some features of C# but it was still an enjoyable and fairly easy language. The IDE's mentioned in the previous post ultimately what make me dislike it. However Jetbrains make excellent products so I would probably go that route for a Java IDE if I was to get back into the language.

Going forward, we are moving off BizTalk and generally away from Microsoft products. However, these decisions are future orientated and based on a specific manager bias towards AWS over Azure (and Microsoft in general) rather than features or strengths of a language.

EDIT: Useful link that Techniana. It sums up what I'm trying (and possibly failing) to say about specific uses. Since the OP has a goal and use in mind. C++ should be fine to start off with as a first language. It's certainly well documented enough.
javaman is offline   Reply With Quote
Old 24th Jan 2017, 21:35   #10
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Cheers for the suggestions folks!

Unfortunately I don't get to choose which language its learn C++ to get the payrise.
Archtronics is offline   Reply With Quote
Old 24th Jan 2017, 23:06   #11
Hawkest_83
Minimodder
 
Join Date: Jan 2016
Location: Newcastle upon Tyne
Posts: 30
Hawkest_83 has yet to learn the way of the Dremel
Quote:
Originally Posted by Archtronics View Post
Cheers for the suggestions folks!

Unfortunately I don't get to choose which language its learn C++ to get the payrise.
I'd be looking for a crossover book or guide as to how best to learn a new language to sit alongside your existing one.

My mind works in a weird way that I like to understand how things work how they compare to other things, rather than simply accepting that that's just the way they are.
Hawkest_83 is offline   Reply With Quote
Old 25th Jan 2017, 19:02   #12
theshadow2001
[DELETE] means [DELETE]
 
theshadow2001's Avatar
 
Join Date: May 2012
Posts: 4,809
theshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyan
Quote:
Originally Posted by Archtronics View Post
Cheers for the suggestions folks!

Unfortunately I don't get to choose which language its learn C++ to get the payrise.
Learn a new language/skill and get a pay rise. Seems like win win to me.
theshadow2001 is offline   Reply With Quote
Old 27th Jan 2017, 01:45   #13
rainbowbridge
I Mod, Therefore I Own
 
Join Date: Apr 2009
Posts: 3,138
rainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyanrainbowbridge is a Super Spamming Saiyan
Quote:
Originally Posted by Archtronics View Post
Cheers for the suggestions folks!

Unfortunately I don't get to choose which language its learn C++ to get the payrise.
Add this into your tool case and have always available via the internet, stay back late after work, get into the office 2 or 3 hours early, log in and go.

The Unreal Engine Developer Course - Learn C++ & Make Games
Learn C++ from scratch. How to make your first video game in Unreal engine. Gain confidence in programming. 4.7 (7,054 ratings) 46,382 students enrolled
Bestselling in Unreal

https://www.udemy.com/unrealcourse/
rainbowbridge is offline   Reply With Quote
Old 5th Feb 2017, 10:29   #14
theshadow2001
[DELETE] means [DELETE]
 
theshadow2001's Avatar
 
Join Date: May 2012
Posts: 4,809
theshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyan
I think I recommended the wrong book. I should have said Object Oriented Programming in C++ by Robert Lafore
theshadow2001 is offline   Reply With Quote
Old 11th Feb 2017, 16:01   #15
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Just started that Unreal Engine course, heavily focused on games but I think a lot of it will translate and its quite good fun.

Also dropped a few s on books

ta all!
Archtronics is offline   Reply With Quote
Old 14th Feb 2017, 18:06   #16
GaryP
RIP Tel
 
GaryP's Avatar
 
Join Date: Aug 2009
Location: Arse end of Nowhere
Posts: 3,962
GaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming SaiyanGaryP is a Super Spamming Saiyan
Quote:
Originally Posted by Archtronics View Post
Just started that Unreal Engine course, heavily focused on games but I think a lot of it will translate and its quite good fun.

Also dropped a few s on books

ta all!

Just started the same course ! Think my brain is gonna bleed but it looks like a decent way to learn.
__________________
Intel i7 5820k @ 4.3Ghz | Corsair H110i GT | 16GB Team Elite 2400Mhz | MSI Titanium X99A | Corsair AX 760 PSU | GTX 970 AMP! Extreme Core| 240 GB Kingston HyperX SSD | 2 x 2TB Hitachi HDD | 2 x 2TB seagate HDD | Asus Xonar D2X Soundcard | NZXT 810 Case | Windows 7 Home Premium 64 bit | Dual 27" Monitors
Steam: HackneyHawks
GaryP is offline   Reply With Quote
Old 15th Feb 2017, 21:24   #17
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Hah mines already out of blood.

Learning about do while loops, could someone confirm my thinking below is correct?

int main()
{
bool bPlayAgain = false;
do
{
PrintIntro();
Playgame();
bPlayAgain = AskToPlayAgain();
}
while (bPlayAgain);
return 0;
}

If AsktoPlayAgain returns 1 (true) then that changes the false (in bold above) to true.
Archtronics is offline   Reply With Quote
Old 15th Feb 2017, 22:14   #18
theshadow2001
[DELETE] means [DELETE]
 
theshadow2001's Avatar
 
Join Date: May 2012
Posts: 4,809
theshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyantheshadow2001 is a Super Spamming Saiyan
That is correct. But you should really focus on the difference between a while and do while loop. A do while loop will always execute the body at least once, where as a while loop will assess the condition before executing the main body. This means that a while loop might never execute what is in the body. So in this case if you replaced the do while loop with a while loop, it would not execute the print intro, play game, etc. methods because the bPlayAgain variable is initialised to false.

replace the methods with std::cout<< "method name here" << endl; Then write the code using both a a while and do while to see the difference.
theshadow2001 is offline   Reply With Quote
Old 16th Feb 2017, 20:51   #19
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Thanks Shadow,

Yeah the difference was covered at the start of the video, apparently its being saved for a later lesson which I haven't reached yet.
Archtronics is offline   Reply With Quote
Old 17th Feb 2017, 21:50   #20
Archtronics
Mod Master
 
Archtronics's Avatar
 
Join Date: Jun 2006
Location: Chester or Nottingham
Posts: 2,261
Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.Archtronics is the Cheesecake. Relix smiles down upon them.
Another on if someone can help me out.

MHWChar - My Hidden Word Character.
GChar - Guess Character.


int32 HiddenWordLength = MyHiddenWord.length() Establishes the length of the word assigned

for (int32 MHWChar = 0; MHWChar < HiddenWordLength; MHWChar++)
{
for (int32 GChar = 0; GChar < HiddenWordLength; GChar++)
Processes for checking through the hidden word for letters
-------------------------------------------------------------------------------------
{
if (Guess[GChar] == MyHiddenWord[MHWChar])
{
if (MHWChar == GChar)
Bit unsure on this bit, I assume this looks to see if character written are in the hidden word. Struggling on how the code knows if its in the word and if its in the right place
-----------------------------------------------------------------------------------------
{
BullCowCount.Bulls++;
}
else
{
BullCowCount.Cows++;
}
}
}
}

return BullCowCount;
}
This bit returns a bull if the characters are there in the right place or (else) returns a cow if they are in the wrong place.
Archtronics is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:47.
Powered by: vBulletin Version 3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.