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

C / C++ / MFC

 
QuestionRe: Registry Pin
David Crow10-May-08 6:17
David Crow10-May-08 6:17 
AnswerRe: Registry Pin
CPallini10-May-08 7:38
mveCPallini10-May-08 7:38 
QuestionDisable Tap and Hold (MFC) Pin
abupriabi@yahoo.com9-May-08 16:35
abupriabi@yahoo.com9-May-08 16:35 
AnswerRe: Disable Tap and Hold (MFC) Pin
Rajkumar R9-May-08 20:34
Rajkumar R9-May-08 20:34 
QuestionClass that defines a location?? Pin
codedecode9-May-08 16:27
codedecode9-May-08 16:27 
AnswerRe: Class that defines a location?? Pin
Garth J Lancaster9-May-08 17:31
professionalGarth J Lancaster9-May-08 17:31 
QuestionRe: Class that defines a location?? Pin
codedecode10-May-08 6:46
codedecode10-May-08 6:46 
AnswerRe: Class that defines a location?? Pin
Garth J Lancaster10-May-08 16:28
professionalGarth J Lancaster10-May-08 16:28 
so why wouldnt you have something like :-

//location.h

class location
{
private:
(some appropriate data type) longitude;
(some appropriate data type) latitude;

its not impossible to continue with what you've got though if thats what you really want - then you could do

//location.h

class location
{
private:
int lat_degrees;
int lat_minutes;
int lat_seconds;
int long_degrees;
int long_minutes;
int long_seconds;

but that means now you've got 3 set/get routines for 'lat' d/m/s and 3 for 'long'

.. Im sure somewhere in those links I gave you was a better way of storing lat/longs than d/m/s, but I didnt read them fully, they were for ideas ....


'g'
Questionerror doing resource update Pin
alex7869-May-08 10:38
alex7869-May-08 10:38 
Questionhelp on exe generation form other exe..... Pin
alex7869-May-08 4:53
alex7869-May-08 4:53 
AnswerRe: help on exe generation form other exe..... Pin
CPallini9-May-08 4:58
mveCPallini9-May-08 4:58 
GeneralRe: help on exe generation form other exe..... Pin
alex7869-May-08 5:09
alex7869-May-08 5:09 
GeneralRe: help on exe generation form other exe..... [modified] Pin
Rajkumar R9-May-08 5:17
Rajkumar R9-May-08 5:17 
GeneralRe: help on exe generation form other exe..... Pin
CPallini9-May-08 5:36
mveCPallini9-May-08 5:36 
GeneralRe: help on exe generation form other exe..... Pin
alex7869-May-08 5:54
alex7869-May-08 5:54 
RantSorry, we don't help to produce malicious software. Pin
CPallini9-May-08 6:27
mveCPallini9-May-08 6:27 
GeneralRe: Sorry, we don't help to produce malicious software. Pin
alex7869-May-08 6:46
alex7869-May-08 6:46 
JokeRe: help on exe generation form other exe..... Pin
Hamid_RT9-May-08 6:56
Hamid_RT9-May-08 6:56 
GeneralRe: help on exe generation form other exe..... Pin
CPallini9-May-08 8:28
mveCPallini9-May-08 8:28 
GeneralRe: help on exe generation form other exe..... Pin
Hamid_RT9-May-08 20:33
Hamid_RT9-May-08 20:33 
GeneralRe: help on exe generation form other exe..... Pin
CPallini9-May-08 20:44
mveCPallini9-May-08 20:44 
AnswerRe: help on exe generation form other exe..... Pin
Rajesh R Subramanian9-May-08 5:00
professionalRajesh R Subramanian9-May-08 5:00 
GeneralRe: help on exe generation form other exe..... Pin
alex7869-May-08 5:07
alex7869-May-08 5:07 
GeneralRe: help on exe generation form other exe..... Pin
Hamid_RT9-May-08 6:53
Hamid_RT9-May-08 6:53 
QuestionCurrent location Pin
capint9-May-08 4:40
capint9-May-08 4:40 

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.