Page 1 of 1 [ 9 posts ] 

LjSpike
Pileated woodpecker
Pileated woodpecker

User avatar

Joined: 23 Dec 2016
Age: 23
Gender: Male
Posts: 188
Location: About 55° N, 3° W

16 Apr 2017, 9:31 am

Title sums it up I guess. I've gotten round to beginning to learn C++, I with great aid from a tutorial wrote a little "Hello World" program and am just playing around with it.

Just wondering, nobody happens to have any tutorials lying about in regards to doing slightly more graphical elements, it'd be nice make, say a button perhaps? That'd get me started on learning to build up a UI then.


_________________
Why not visit my blog over here!
-------------------
RDOS Aspie Quiz
Neurodiverse (Aspie) score: 162 of 200
Neurotypical (non-autistic) score: 52 of 200
LINK: http://www.rdos.net/eng/poly10a.php?p1= ... =66&p10=74
-------------------
Score breakdown for RAADS-R
Total: 185.0 | Language: 17.0 | Social Relatedness: 90.0 | Sensory/Motor 45.0 | Circumscribed Interests: 33.0
LINK: http://www.aspietests.org/raads/questions.php


Quiet Water
Raven
Raven

User avatar

Joined: 31 Jul 2016
Age: 53
Gender: Female
Posts: 123
Location: Northern New England, USA

16 Apr 2017, 6:25 pm

I won't be much help, I'm afraid, having taken only the intro course required by my university (and then having forgotten it, not practicing coding regularly.) Still, programming is a good skill for anyone to learn, so congratulations on having written the traditional first program!



LjSpike
Pileated woodpecker
Pileated woodpecker

User avatar

Joined: 23 Dec 2016
Age: 23
Gender: Male
Posts: 188
Location: About 55° N, 3° W

17 Apr 2017, 4:54 am

Quiet Water wrote:
I won't be much help, I'm afraid, having taken only the intro course required by my university (and then having forgotten it, not practicing coding regularly.) Still, programming is a good skill for anyone to learn, so congratulations on having written the traditional first program!


Ah well, thanks! I'm hoping to write my own ray-tracing renderer by the end. Quite an ambitious goal, but hopefully I'll end up getting there.


_________________
Why not visit my blog over here!
-------------------
RDOS Aspie Quiz
Neurodiverse (Aspie) score: 162 of 200
Neurotypical (non-autistic) score: 52 of 200
LINK: http://www.rdos.net/eng/poly10a.php?p1= ... =66&p10=74
-------------------
Score breakdown for RAADS-R
Total: 185.0 | Language: 17.0 | Social Relatedness: 90.0 | Sensory/Motor 45.0 | Circumscribed Interests: 33.0
LINK: http://www.aspietests.org/raads/questions.php


AngryAngryAngry
Velociraptor
Velociraptor

Joined: 11 Feb 2016
Age: 46
Gender: Male
Posts: 496
Location: New Zealand

17 Apr 2017, 8:25 am

Read a book called C programming in easy steps.
Don't learn ++
https://www.youtube.com/watch?v=QM1iUe6IofM



Chichikov
Veteran
Veteran

User avatar

Joined: 27 Mar 2016
Age: 50
Gender: Male
Posts: 1,151
Location: UK

17 Apr 2017, 8:34 am

Maybe have a look here for some articles that might get you more familiar with c++ and graphics

https://www.codeproject.com/search.aspx ... %3b13%3b14



LjSpike
Pileated woodpecker
Pileated woodpecker

User avatar

Joined: 23 Dec 2016
Age: 23
Gender: Male
Posts: 188
Location: About 55° N, 3° W

19 Apr 2017, 4:34 am

Chichikov wrote:
Maybe have a look here for some articles that might get you more familiar with c++ and graphics

https://www.codeproject.com/search.aspx ... %3b13%3b14


Ahh, ok, thanks.

Also, AngryAngryAngry, I'll be learning C++ as it is not dependant on C, it's its own language, and it makes OO more feasible then C.


_________________
Why not visit my blog over here!
-------------------
RDOS Aspie Quiz
Neurodiverse (Aspie) score: 162 of 200
Neurotypical (non-autistic) score: 52 of 200
LINK: http://www.rdos.net/eng/poly10a.php?p1= ... =66&p10=74
-------------------
Score breakdown for RAADS-R
Total: 185.0 | Language: 17.0 | Social Relatedness: 90.0 | Sensory/Motor 45.0 | Circumscribed Interests: 33.0
LINK: http://www.aspietests.org/raads/questions.php


tensordyne
Sea Gull
Sea Gull

Joined: 2 Apr 2017
Age: 48
Gender: Male
Posts: 209
Location: Kirkland, WA

21 Apr 2017, 2:39 am

8) If you learn C first you will understand easier why C++ does what it does. Many projects that use C++ files also use C. C++ is still being developed (C++14 standard, 17 on the way) while C seems more stable as a long term standard (C11 does not look like it needs updating?). 8)

Good Luck Learning C++ however you do it!


_________________
Go Vegan!


tensordyne
Sea Gull
Sea Gull

Joined: 2 Apr 2017
Age: 48
Gender: Male
Posts: 209
Location: Kirkland, WA

21 Apr 2017, 2:39 am

8) If you learn C first you will understand easier why C++ does what it does. Many projects that use C++ files also use C. C++ is still being developed (C++14 standard, 17 on the way) while C seems more stable as a long term standard (C11 does not look like it needs updating?). 8)

Good Luck Learning C++ however you do it!


_________________
Go Vegan!


LjSpike
Pileated woodpecker
Pileated woodpecker

User avatar

Joined: 23 Dec 2016
Age: 23
Gender: Male
Posts: 188
Location: About 55° N, 3° W

21 Apr 2017, 4:27 pm

tensordyne wrote:
8) If you learn C first you will understand easier why C++ does what it does. Many projects that use C++ files also use C. C++ is still being developed (C++14 standard, 17 on the way) while C seems more stable as a long term standard (C11 does not look like it needs updating?). 8)

Good Luck Learning C++ however you do it!


C and C++ are similar, but learning either means learning that language. They share commonalities, but not learning C won't necessarily mean I won't understand C++. Learning C essentially just means it'll take longer to reach the end goal. While C does have it's benefits, it'd appear to have it's disadvantages, people seem to hate pointers and far prefer references as an example, which is only achievable through C++
C++ is also a newer language, and more maintained, so sure it is being developed still, that just shows it isn't redundant and is being maintained.

I do appreciate the input though, it is useful. I aim to begin properly learning it at around the middle of June, although I have written a little "Hello World" window with help of a tutorial.
My next big job is beginning to handle more graphical elements, I really want to make a button, then I can try to build up a simple little toolbar, and after that I'll begin to move onto learning the more complex elements (which in my case will be the parts needed to make a modeller and ray tracer).

On the bright side I have worked out roughly how I think I'll do the modeller and I'm quite happy with the system, it seems it should be able to handle most objects pretty efficiently and might even be a bit easier to model stuff in...


_________________
Why not visit my blog over here!
-------------------
RDOS Aspie Quiz
Neurodiverse (Aspie) score: 162 of 200
Neurotypical (non-autistic) score: 52 of 200
LINK: http://www.rdos.net/eng/poly10a.php?p1= ... =66&p10=74
-------------------
Score breakdown for RAADS-R
Total: 185.0 | Language: 17.0 | Social Relatedness: 90.0 | Sensory/Motor 45.0 | Circumscribed Interests: 33.0
LINK: http://www.aspietests.org/raads/questions.php