Click here to Skip to main content
15,893,564 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
lolici7-Apr-17 11:05
lolici7-Apr-17 11:05 
QuestionRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
Richard MacCutchan7-Apr-17 6:03
mveRichard MacCutchan7-Apr-17 6:03 
QuestionHow to efficiently map to original indices of an array after modification? Pin
Member 131008342-Apr-17 6:50
Member 131008342-Apr-17 6:50 
AnswerRe: How to efficiently map to original indices of an array after modification? Pin
Victor Nijegorodov2-Apr-17 7:26
Victor Nijegorodov2-Apr-17 7:26 
Questiongauge pressure and absolute pressure calculations in C++ Pin
Member 131006682-Apr-17 3:29
Member 131006682-Apr-17 3:29 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
leon de boer2-Apr-17 4:10
leon de boer2-Apr-17 4:10 
GeneralRe: gauge pressure and absolute pressure calculations in C++ Pin
harold aptroot2-Apr-17 4:28
harold aptroot2-Apr-17 4:28 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
Jochen Arndt2-Apr-17 22:26
professionalJochen Arndt2-Apr-17 22:26 
There are mathematical formulas for these which can be simply implemented as C code.

The gauge pressure formula should be provided by the manufacturer of the gauge because it contains gauge specific constants.

Calculating pressure from depth is rather seldom in the oceanographic area. Depth sensors are measuring pressure and the pressure value itself is recorded in dbar (because 1 dbar corresponds to about 1 metre). To get the absolute pressure these sensors usually measure the offset (air pressure) before deployed and subtract this offset from all under water measurements. The advantage of this method is that this eliminates also offset drift errors.

See the Unesco technical papers in marine Science 44: Algorithms for computation of fundamental properties of seawater (PDF)[^] for formulas.

Some of them might be required for the gauge pressure calculation.

It contains also a formula for calculating depth from pressure in seawater which is shown on his own also at Code10[^].
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
Munchies_Matt2-Apr-17 23:30
Munchies_Matt2-Apr-17 23:30 
QuestionMessage: Failed to set up the execution context to run the test. Pin
HaraldGalda31-Mar-17 2:16
professionalHaraldGalda31-Mar-17 2:16 
QuestionRe: Message: Failed to set up the execution context to run the test. Pin
David Crow31-Mar-17 5:23
David Crow31-Mar-17 5:23 
AnswerRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 9:30
zezba90003-Dec-18 9:30 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
David Crow3-Dec-18 10:21
David Crow3-Dec-18 10:21 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 10:59
zezba90003-Dec-18 10:59 
QuestionSave strings and integer in text file Pin
lolici25-Mar-17 11:01
lolici25-Mar-17 11:01 
SuggestionRe: Save strings and integer in text file Pin
David Crow25-Mar-17 11:12
David Crow25-Mar-17 11:12 
GeneralRe: Save strings and integer in text file Pin
lolici25-Mar-17 11:27
lolici25-Mar-17 11:27 
SuggestionRe: Save strings and integer in text file Pin
Premnath Mali14-Apr-17 1:40
professionalPremnath Mali14-Apr-17 1:40 
QuestionCMFCToolBarComboBoxButton dont work on some machines Pin
vojtee24-Mar-17 3:21
vojtee24-Mar-17 3:21 
SuggestionRe: CMFCToolBarComboBoxButton dont work on some machines Pin
Richard MacCutchan24-Mar-17 3:40
mveRichard MacCutchan24-Mar-17 3:40 
GeneralRe: CMFCToolBarComboBoxButton dont work on some machines Pin
vojtee24-Mar-17 3:46
vojtee24-Mar-17 3:46 
GeneralRe: CMFCToolBarComboBoxButton dont work on some machines Pin
Richard MacCutchan24-Mar-17 4:02
mveRichard MacCutchan24-Mar-17 4:02 
AnswerRe: CMFCToolBarComboBoxButton dont work on some machines Pin
_Flaviu9-Apr-17 21:53
_Flaviu9-Apr-17 21:53 
QuestionSave the content from List Control in text file vc++ Pin
lolici22-Mar-17 4:16
lolici22-Mar-17 4:16 
SuggestionRe: Save the content from List Control in text file vc++ Pin
David Crow22-Mar-17 4:48
David Crow22-Mar-17 4:48 

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.