Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiongetting day of week Pin
zon_cpp12-Jul-10 19:35
zon_cpp12-Jul-10 19:35 
AnswerRe: getting day of week Pin
CPallini12-Jul-10 21:27
mveCPallini12-Jul-10 21:27 
AnswerRe: getting day of week Pin
Aescleal12-Jul-10 21:37
Aescleal12-Jul-10 21:37 
QuestionBorland C++ to Visual C++ conversion Pin
coder21k12-Jul-10 19:22
coder21k12-Jul-10 19:22 
AnswerRe: Borland C++ to Visual C++ conversion Pin
hypheni12-Jul-10 21:18
hypheni12-Jul-10 21:18 
AnswerRe: Borland C++ to Visual C++ conversion [modified] Pin
Rolf Kristensen13-Jul-10 6:07
Rolf Kristensen13-Jul-10 6:07 
QuestionCustom DateTime Control Pin
AbhiHcl12-Jul-10 19:08
AbhiHcl12-Jul-10 19:08 
QuestionCan i convert from CStrin to double Pin
raju_shiva12-Jul-10 19:05
raju_shiva12-Jul-10 19:05 
Hi sir,
I am doing some mathematical calculation.
where i am reading values from Dialog edit box control.
Here is .h file
ex.h
Dialog Data
	//{{AFX_DATA(CSourceDetails)
	enum { IDD = IDD_DIALOG_SOURCE_DETAILS };	

	CMSMask	m_val1;
	CMSMask	m_val2;
  	CMSMask	m_val3;

here is .cpp file
m_val1.GetText(); // I am reading  from the editbox
m_val2.GetText();
m_val3.GetText();


I am using this exp to get the result
A = B Exp(-0.693 * t/T)
  B = m_val1.GetText();
 t = m_val2.GetText();
T = m_val3.GetText();

I am trying with this.


h = (-0.693 * t/T);
res = B^h;


Can i pass the values(B,t an T) directly to the expression and get the result or i convert it to double(using atof).

Thanks
Raj
AnswerRe: Can i convert from CStrin to double Pin
«_Superman_»12-Jul-10 19:49
professional«_Superman_»12-Jul-10 19:49 
AnswerRe: Can i convert from CStrin to double Pin
Aescleal12-Jul-10 21:57
Aescleal12-Jul-10 21:57 
QuestionTerminateProcess doesn't work as expected on Windows XP Pin
pubis12-Jul-10 13:18
pubis12-Jul-10 13:18 
AnswerRe: TerminateProcess doesn't work as expected on Windows XP Pin
El Corazon12-Jul-10 14:40
El Corazon12-Jul-10 14:40 
AnswerRe: TerminateProcess doesn't work as expected on Windows XP Pin
«_Superman_»12-Jul-10 16:27
professional«_Superman_»12-Jul-10 16:27 
GeneralRe: TerminateProcess doesn't work as expected on Windows XP Pin
pubis13-Jul-10 4:32
pubis13-Jul-10 4:32 
GeneralRe: TerminateProcess doesn't work as expected on Windows XP Pin
«_Superman_»13-Jul-10 5:43
professional«_Superman_»13-Jul-10 5:43 
QuestionMFC BOOK Pin
mdocvc12-Jul-10 8:41
mdocvc12-Jul-10 8:41 
QuestionRe: MFC BOOK Pin
Maximilien12-Jul-10 8:46
Maximilien12-Jul-10 8:46 
JokeRe: MFC BOOK Pin
Richard MacCutchan12-Jul-10 8:57
mveRichard MacCutchan12-Jul-10 8:57 
AnswerRe: MFC BOOK Pin
Hristo-Bojilov12-Jul-10 9:08
Hristo-Bojilov12-Jul-10 9:08 
GeneralRe: MFC BOOK Pin
Alan Balkany15-Jul-10 4:13
Alan Balkany15-Jul-10 4:13 
AnswerRe: MFC BOOK Pin
Rajesh R Subramanian12-Jul-10 9:11
professionalRajesh R Subramanian12-Jul-10 9:11 
AnswerRe: MFC BOOK Pin
CPallini12-Jul-10 9:13
mveCPallini12-Jul-10 9:13 
QuestionPocketPC 2003 programming on VS 2008?? Pin
AmbiguousName12-Jul-10 8:36
AmbiguousName12-Jul-10 8:36 
AnswerRe: PocketPC 2003 programming on VS 2008?? Pin
Richard MacCutchan12-Jul-10 8:59
mveRichard MacCutchan12-Jul-10 8:59 
QuestionWinsock - Select Which Adapter to use? Pin
Member 259847812-Jul-10 7:52
Member 259847812-Jul-10 7:52 

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.