Click here to Skip to main content
15,911,139 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCDataGrid in C++ Pin
13-Dec-01 12:08
suss13-Dec-01 12:08 
GeneralRe: CDataGrid in C++ Pin
14-Dec-01 0:50
suss14-Dec-01 0:50 
GeneralStupid Compiler Tricks Pin
Cam13-Dec-01 11:51
Cam13-Dec-01 11:51 
GeneralRe: Stupid Compiler Tricks Pin
13-Dec-01 12:33
suss13-Dec-01 12:33 
GeneralRe: Stupid Compiler Tricks Pin
Cam13-Dec-01 13:01
Cam13-Dec-01 13:01 
GeneralRe: Stupid Compiler Tricks Pin
Michael Dunn13-Dec-01 13:15
sitebuilderMichael Dunn13-Dec-01 13:15 
GeneralRe: Stupid Compiler Tricks Pin
Cam13-Dec-01 14:43
Cam13-Dec-01 14:43 
GeneralEdit Box Variables Pin
13-Dec-01 10:38
suss13-Dec-01 10:38 
I'm very new to C++ and need to build a program that performs simple multiplication in edit boxes, there are three allowing the user to enter numerals in 2 and the result being displayed in the third. My problem is, I cannot for the life of me figure out how to correct a mistake I must have made. I keep getting the errors:"error C2440: '=' : cannot convert from 'char [1]' to 'float'". I assume I am supposed to convert somehow the inputs from char to float. Any assistance would be appreciated. I was told by someone something about atoi atof, and have searched for these things in my MSDN to no avail. Am I maybe declaring my variables wrong?Confused | :confused:
GeneralRe: Edit Box Variables Pin
Christian Graus13-Dec-01 11:05
protectorChristian Graus13-Dec-01 11:05 
GeneralRe: Edit Box Variables Pin
Cam13-Dec-01 12:12
Cam13-Dec-01 12:12 
GeneralRe: Edit Box Variables AGAIN Pin
13-Dec-01 12:29
suss13-Dec-01 12:29 
GeneralRe: Edit Box Variables AGAIN Pin
Cam13-Dec-01 12:37
Cam13-Dec-01 12:37 
GeneralRe: Edit Box Variables AGAIN Pin
13-Dec-01 13:38
suss13-Dec-01 13:38 
GeneralRe: Edit Box Variables AGAIN Pin
Cam13-Dec-01 14:40
Cam13-Dec-01 14:40 
GeneralRe: Edit Box Variables AGAIN Pin
Christian Graus13-Dec-01 16:01
protectorChristian Graus13-Dec-01 16:01 
GeneralRe: Edit Box Variables AGAIN Pin
13-Dec-01 16:07
suss13-Dec-01 16:07 
GeneralRe: Edit Box Variables AGAIN Pin
Christian Graus13-Dec-01 16:02
protectorChristian Graus13-Dec-01 16:02 
GeneralRe: Edit Box Variables AGAIN Pin
Cam13-Dec-01 16:22
Cam13-Dec-01 16:22 
GeneralRe: Edit Box Variables Pin
Rick York13-Dec-01 14:28
mveRick York13-Dec-01 14:28 
GeneralRe: Edit Box Variables Pin
Cam13-Dec-01 15:09
Cam13-Dec-01 15:09 
GeneralRe: Edit Box Variables Pin
13-Dec-01 15:15
suss13-Dec-01 15:15 
GeneralRe: Edit Box Variables Pin
Cam13-Dec-01 15:53
Cam13-Dec-01 15:53 
GeneralRe: Edit Box Variables Pin
13-Dec-01 16:01
suss13-Dec-01 16:01 
GeneralRe: Edit Box Variables- typos Pin
13-Dec-01 16:03
suss13-Dec-01 16:03 
GeneralRe: Edit Box Variables Pin
13-Dec-01 16:05
suss13-Dec-01 16:05 

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.