?
Solved

Grid display using C++

Posted on 2004-07-30
9
Medium Priority
?
809 Views
Last Modified: 2006-11-17
My senior project partner and I need some help in programming a grid display using C++. A quick overview of our project: we are making a RF PET LEASH.
We are going to have 2 antennas which we will have fixed at 2 sides of a house and 3 transmitters doing their thing. The angles from the 2 transmitters to "Transmitter 3" (pet) will be the used to calculate the coordinates.

On the grid one of the antennas will be used as the zero axis and then there is the other one at a fixed distance away and then we have our "Transmitter 3" (x coord.) bopping away somewhere in the middle so ideally when "Transmitter 3" breaches the boundaries... we send out a warning signal.

So in one sentence "All the antenna's send data out to the pc, which parses them and displays it on the grid, calculating where the dot is and sounding an alarm when required."

We have a partial program right now that computes the coordinates of "Transmitter 3" and we would like to display this computed result relative to 2 fixed reference points on the grid. I did ask a few friends who are very familiar with C++ but it seems that grid/graph display is something they don't use or know much about.

Are there any specific books or websites you would suggest for this? Or better still do you know of a program that does something similar to this?

thanks in advance.
0
Comment
Question by:asharasas
[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
9 Comments
 
LVL 5

Expert Comment

by:EOL
ID: 11677641
I understand that you need a visual representation of something you've a datastructure for? How to display this information then largly depends on what gui-toolkit you're using.

However, I've made the observation that most people who need somewhat more then ordinary spreadsheets tend to programm a their own representation on 2d or 3d canvanases like GDI or OpenGL.
0
 
LVL 13

Expert Comment

by:SteH
ID: 11677841
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11677850
Definitively you don't need a special library for this simple task. Just choose a C++ compiler and use simple primitive drawing functions (lines, points, etc.) to represent your grid and calculated point.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Accepted Solution

by:
SteH earned 1000 total points
ID: 11677859
0
 

Author Comment

by:asharasas
ID: 11678281
Thanks, let me chekc it :-)
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11925952
Still waiting for author's feedback
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  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 use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

762 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