Project Bases to Land Planet Hopper Class star ships

How long should the Moon base runway be?


  • Total voters
    7
Status
Not open for further replies.

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,641
Reaction score
2,356
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Ok then. I'll see what I can do. This is getting quite annoying. I can't compile the thing! Here's a screenshot explaining the details. Did I miss anything or do anything wrong?


Yes, you have forgotten to learn C++. It is annoying, because you waste our time while you are NOT doing your homework.

Learn what header files and class definitions are. Where is Dome defined?
 

TCR_500

Making my own racing simulator.
Joined
Mar 3, 2009
Messages
144
Reaction score
0
Points
28
Website
gaming.tchapman500.com
I don't know anything about what's going on with the code. And skipping through that C++ book wasn't a good idea.

Warning: C++ Overload
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,641
Reaction score
2,356
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
I don't know anything about what's going on with the code. And skipping through that C++ book wasn't a good idea.

Warning: C++ Overload

Skipping? And which book?
 

escapetomsfate

OBSP Developer
Addon Developer
Joined
Jun 21, 2008
Messages
282
Reaction score
0
Points
0
Location
GB
Why don't you just leave the dome thing for now, spend a few months learning c++ properly, and then try it again?

Your problem was that the code I gave you is just one function as a member of a class. Dome is a VESSEL2 class, as I said before. Have a look at the ShuttlePB example - change ShuttlePB to Dome, add in clbkPreStep as a public class member, and do the same for SimulateAirDrag(). Also, find the dome's radius and make that a member of the class (as a double).

But, seriously, if you don't know stuff like classes and where to put the code, this project is way too hard for you. Do the smart thing and leave it.
 

garyw

O-F Administrator
Administrator
Moderator
Addon Developer
Tutorial Publisher
Joined
May 14, 2008
Messages
10,485
Reaction score
209
Points
138
Location
Kent
Website
blog.gdwnet.com
Ok then. I'll see what I can do. This is getting quite annoying. I can't compile the thing! Here's a screenshot explaining the details. Did I miss anything or do anything wrong?

Which is why most programmers spend years learning the craft. If you really want to be a programmer then you can't learn it all from a single book or a few web pages. You'll need to go to classes.
 

tl8

Addon Developer
Addon Developer
Tutorial Publisher
Joined
Oct 16, 2007
Messages
3,645
Reaction score
25
Points
88
Location
Gold Coast QLD
And that comment will sum up the whole thread.

Thread Locked
 
Status
Not open for further replies.
Top