Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Program- Reach a target.

Posted on 1998-07-16
4
Medium Priority
?
215 Views
Last Modified: 2010-04-01
I would like to know how can I structure a program into two void functions to calculate the
distance to a target in 5 tries by giving the velocity and  angle. I know the formulas but
my functions are not working well.  
0
Comment
Question by:felicianop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:felicianop
ID: 1167996
I can send what I have by email. I need some help to fix the errors ASAP.
0
 
LVL 8

Expert Comment

by:trestan
ID: 1167997
Pls me the codes to:trestan@hotmail.com
But pls don't if it is a course assignment.
0
 
LVL 8

Accepted Solution

by:
trestan earned 200 total points
ID: 1167998
After Windows 95, all the float point data type can be double (because of the new architecture). Also the fuction declaration should keep uniform as well as other identifiers. This is essantial.
0
 
LVL 8

Expert Comment

by:trestan
ID: 1167999
What's wrong with your account? I write message here. There should be a email sent by EE to you. If you forget your password, you can ask to Linda for a new one. See help for detailed information.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question