Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to implement array of strings Pin
yaminisridaran6-Apr-07 18:29
yaminisridaran6-Apr-07 18:29 
QuestionMemory leak in ADO CreateParameter Pin
voorugonda prashanth4-Apr-07 21:20
voorugonda prashanth4-Apr-07 21:20 
AnswerRe: Memory leak in ADO CreateParameter Pin
Dmitry Khudorozhkov4-Apr-07 23:15
Dmitry Khudorozhkov4-Apr-07 23:15 
QuestionStill need a bit of help please Pin
planetx224-Apr-07 21:14
planetx224-Apr-07 21:14 
AnswerRe: Still need a bit of help please Pin
Nibu babu thomas4-Apr-07 21:27
Nibu babu thomas4-Apr-07 21:27 
GeneralRe: Still need a bit of help please Pin
planetx224-Apr-07 21:31
planetx224-Apr-07 21:31 
GeneralRe: Still need a bit of help please Pin
Nibu babu thomas4-Apr-07 21:35
Nibu babu thomas4-Apr-07 21:35 
GeneralRe: Still need a bit of help please Pin
planetx224-Apr-07 21:55
planetx224-Apr-07 21:55 
thanks alot.. got me on the right track i think.

My function goes like -

double my func(double fahrenheit)
{
if (fahrenheit>100) fahrenheit = 1.8 * celsius + 32;
return fahrenheit;
};

Im just not sure how to make the value the user enters into myarray[0-50] go into fahrenheit and then do the check, then return the value to the array either fixed with the formula or not because it was not greater than 100.
Can I do something like in my for loop before the user chooses to continue or stop, or is that the wrong spot? And would it be something like -

myarray[i]=my func(myarray[i]; ?
Thanks alot for the help.
GeneralRe: Still need a bit of help please Pin
David Crow5-Apr-07 3:09
David Crow5-Apr-07 3:09 
QuestionWhy does WM_PAINT exclude DrawItem? Pin
zouchao11124-Apr-07 20:51
zouchao11124-Apr-07 20:51 
AnswerRe: Why does WM_PAINT exclude DrawItem? Pin
Nibu babu thomas4-Apr-07 21:37
Nibu babu thomas4-Apr-07 21:37 
QuestionListCtrl header height in report view Pin
Nishad S4-Apr-07 20:20
Nishad S4-Apr-07 20:20 
QuestionRe: ListCtrl header height in report view Pin
Nibu babu thomas4-Apr-07 20:31
Nibu babu thomas4-Apr-07 20:31 
AnswerRe: ListCtrl header height in report view Pin
Nishad S4-Apr-07 20:36
Nishad S4-Apr-07 20:36 
GeneralRe: ListCtrl header height in report view Pin
Nibu babu thomas4-Apr-07 20:54
Nibu babu thomas4-Apr-07 20:54 
AnswerRe: ListCtrl header height in report view Pin
Naveen4-Apr-07 20:52
Naveen4-Apr-07 20:52 
GeneralRe: ListCtrl header height in report view [modified] Pin
Nishad S4-Apr-07 21:05
Nishad S4-Apr-07 21:05 
GeneralRe: ListCtrl header height in report view [modified] Pin
bosfan4-Apr-07 21:40
bosfan4-Apr-07 21:40 
GeneralRe: ListCtrl header height in report view Pin
Nishad S4-Apr-07 23:45
Nishad S4-Apr-07 23:45 
GeneralRe: ListCtrl header height in report view Pin
bosfan5-Apr-07 2:20
bosfan5-Apr-07 2:20 
GeneralRe: ListCtrl header height in report view Pin
Nishad S5-Apr-07 2:27
Nishad S5-Apr-07 2:27 
QuestionToolBar problem Pin
david bagaturia4-Apr-07 20:09
david bagaturia4-Apr-07 20:09 
AnswerRe: ToolBar problem Pin
Nishad S4-Apr-07 20:26
Nishad S4-Apr-07 20:26 
GeneralRe: ToolBar problem Pin
david bagaturia4-Apr-07 20:34
david bagaturia4-Apr-07 20:34 
AnswerRe: ToolBar problem Pin
Nibu babu thomas4-Apr-07 20:30
Nibu babu thomas4-Apr-07 20:30 

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.