Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
PIEBALDconsult12-Jan-09 19:49
mvePIEBALDconsult12-Jan-09 19:49 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
J4amieC12-Jan-09 22:19
J4amieC12-Jan-09 22:19 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Alan Balkany13-Jan-09 4:28
Alan Balkany13-Jan-09 4:28 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Luc Pattyn14-Jan-09 3:24
sitebuilderLuc Pattyn14-Jan-09 3:24 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 9:43
Garry Freemyer14-Jan-09 9:43 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 9:51
sitebuilderLuc Pattyn14-Jan-09 9:51 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 10:28
Garry Freemyer14-Jan-09 10:28 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 10:40
sitebuilderLuc Pattyn14-Jan-09 10:40 
Garry Freemyer wrote:
x % y will not compile


Sorry, my mistake.

For 0=North, 90=East, 180=South, 270=West, this is what I would add after bearing=180.0*bearing/Math.PI;:

bearing=90.0-bearing;             // range is now -90 ... + 270
if (bearing<0.0) bearing+=360.0;


Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text (not TextBoxes), and PictureBoxes for pictures (not drawings).


modified on Friday, June 10, 2011 12:31 PM

GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:05
Garry Freemyer14-Jan-09 11:05 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 11:03
sitebuilderLuc Pattyn14-Jan-09 11:03 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:16
Garry Freemyer14-Jan-09 11:16 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Luc Pattyn14-Jan-09 11:30
sitebuilderLuc Pattyn14-Jan-09 11:30 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:44
Garry Freemyer14-Jan-09 11:44 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn19-Jan-09 11:00
sitebuilderLuc Pattyn19-Jan-09 11:00 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 11:34
sitebuilderLuc Pattyn14-Jan-09 11:34 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
RickNash27-Apr-09 4:27
RickNash27-Apr-09 4:27 
QuestionSplit Mp3 File Pin
Muhammad Noor12-Jan-09 15:12
Muhammad Noor12-Jan-09 15:12 
AnswerRe: Split Mp3 File Pin
Dragonfly_Lee12-Jan-09 17:46
Dragonfly_Lee12-Jan-09 17:46 
AnswerRe: Split Mp3 File Pin
Guffa12-Jan-09 20:11
Guffa12-Jan-09 20:11 
QuestionC# Socket diconnect Help needed Pin
alb1081112-Jan-09 14:19
alb1081112-Jan-09 14:19 
Questionhow can made clinic project in c#.net? Pin
mohammedali200612-Jan-09 13:17
mohammedali200612-Jan-09 13:17 
AnswerCP IGNORE: Idiot. Pin
leckey12-Jan-09 14:56
leckey12-Jan-09 14:56 
AnswerRe: how can made clinic project in c#.net? Pin
Dave Kreskowiak12-Jan-09 16:49
mveDave Kreskowiak12-Jan-09 16:49 
Questiongo to next Pin
abu rakan12-Jan-09 10:55
abu rakan12-Jan-09 10:55 
AnswerRe: go to next Pin
Colin Angus Mackay12-Jan-09 11:14
Colin Angus Mackay12-Jan-09 11:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.