POV-Ray : Newsgroups : povray.off-topic : Learning C++ Server Time
5 Nov 2024 14:22:34 EST (-0500)
  Learning C++ (Message 1 to 10 of 57)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Darren New
Subject: Learning C++
Date: 11 Dec 2008 18:46:20
Message: <4941a64c$1@news.povray.org>
OK, so I downloaded MS's "express" dev env for C# and C++. I figure it's 
time to practice some C++, learn the ways of the STL, and so on.  Mainly 
because it's that or Erlang or Python, and nobody is going to pay me to code 
any Erlang, and Python looks pretty trivial to learn.

Sadly, I'm utterly uninspired about what to write past my first usual 
program, namely "Jotto".  Any suggestions?

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Learning C++
Date: 11 Dec 2008 19:55:47
Message: <4941b693@news.povray.org>
Darren New wrote:
> Sadly, I'm utterly uninspired about what to write past my first usual
> program, namely "Jotto".  Any suggestions?

Fix POV-Ray 3.7 radiosity?

*runs*


Post a reply to this message

From: stbenge
Subject: Re: Learning C++
Date: 11 Dec 2008 20:01:23
Message: <4941b7e3@news.povray.org>
Darren New wrote:
> OK, so I downloaded MS's "express" dev env for C# and C++. I figure it's 
> time to practice some C++, learn the ways of the STL, and so on.  Mainly 
> because it's that or Erlang or Python, and nobody is going to pay me to 
> code any Erlang, and Python looks pretty trivial to learn.
> 
> Sadly, I'm utterly uninspired about what to write past my first usual 
> program, namely "Jotto".  Any suggestions?

For learning C++, this looks like a good tutorial:
http://www.cplusplus.com/doc/tutorial/

I'm working my way through it now, to glean information I might have 
missed in my haste to jump straight into more difficult applications. 
It's best to have a solid understanding of C++ before using third-party 
libraries. Avoiding memory leaks is my #1 concern, so trudging through 
the basics seems like a good idea :)

As for inspiration, what kinds of programs inspire you? I like 2D video 
games and cellular automation sims. I'm guessing you might like to make 
graphics programs as well, since you are here and not somewhere else :) 
Once you start becoming more familiar with C++, you might want to 
download SDL to make some graphics programs. CA sims are easy to make, 
and you might even stumble upon something new.

Good luck!

Sam


Post a reply to this message

From: nemesis
Subject: Re: Learning C++
Date: 11 Dec 2008 22:00:53
Message: <4941d3e5$1@news.povray.org>
Darren New wrote:
> OK, so I downloaded MS's "express" dev env for C# and C++. I figure it's 
> time to practice some C++, learn the ways of the STL, and so on.

WTF?!  I thought you were a C/C++ ace!! o_O


Post a reply to this message

From: nemesis
Subject: Re: Learning C++
Date: 11 Dec 2008 22:01:23
Message: <4941d403@news.povray.org>
Nicolas Alvarez wrote:
> Darren New wrote:
>> Sadly, I'm utterly uninspired about what to write past my first usual
>> program, namely "Jotto".  Any suggestions?
> 
> Fix POV-Ray 3.7 radiosity?
> 
> *runs*

mwahahahaha :D


Post a reply to this message

From: Darren New
Subject: Re: Learning C++
Date: 11 Dec 2008 22:27:28
Message: <4941da20$1@news.povray.org>
nemesis wrote:
> Darren New wrote:
>> OK, so I downloaded MS's "express" dev env for C# and C++. I figure 
>> it's time to practice some C++, learn the ways of the STL, and so on.
> 
> WTF?!  I thought you were a C/C++ ace!! o_O

I know C inside and out. C++ is quite a bit different. Except for the parts 
that are C of course.

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

From: nemesis
Subject: Re: Learning C++
Date: 11 Dec 2008 22:50:18
Message: <4941df7a@news.povray.org>
Well, in that case:

http://mindview.net/Books/TICPP/ThinkingInCPP2e.html

But you probably already know of that.  :)


Post a reply to this message

From: Darren New
Subject: Re: Learning C++
Date: 11 Dec 2008 23:19:51
Message: <4941e667$1@news.povray.org>
nemesis wrote:
> Well, in that case:
> 
> http://mindview.net/Books/TICPP/ThinkingInCPP2e.html
> 
> But you probably already know of that.  :)

Thanks. Already downloaded it, haven't waded thru it very far. :-) I've been 
finding motivation a bit hard to come by lately.

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

From: Kevin Wampler
Subject: Re: Learning C++
Date: 12 Dec 2008 00:08:21
Message: <4941f1c5$1@news.povray.org>
Darren New wrote:
> Sadly, I'm utterly uninspired about what to write past my first usual 
> program, namely "Jotto".  Any suggestions?

How about a program that takes a multivariate polynomial as input and 
determines if it has any roots over the integers ;-)


Post a reply to this message

From: Darren New
Subject: Re: Learning C++
Date: 12 Dec 2008 00:36:46
Message: <4941f86e$1@news.povray.org>
Kevin Wampler wrote:
> How about a program that takes a multivariate polynomial as input and 
> determines if it has any roots over the integers ;-)

I know you're joking, but I'm not sure how that would be more useful in 
learning C++ than in learning C.

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.