Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00420-Jun-09 2:54
chandu00420-Jun-09 2:54 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 3:16
Omar Al Qady20-Jun-09 3:16 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00420-Jun-09 3:27
chandu00420-Jun-09 3:27 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 3:39
Omar Al Qady20-Jun-09 3:39 
GeneralRe: Read coefficients of linear equations into 2d array Pin
ProtoBytes20-Jun-09 4:06
ProtoBytes20-Jun-09 4:06 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 4:22
Omar Al Qady20-Jun-09 4:22 
AnswerRe: Read coefficients of linear equations into 2d array Pin
suthakar5620-Jun-09 2:10
suthakar5620-Jun-09 2:10 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 2:33
Omar Al Qady20-Jun-09 2:33 
So maybe I'd read each line into a string, and then go through it char by char checking for letters and = and if not I'd store in the 2d double array and after I find a letter I move to the next column, and so on till the = and store what's after it in the solutions array. I'm getting a vague idea now of how to do this, but are the signs and decimal points also readable and convertible in the same way? For example when reading -2.9 , the - & . wouldn't fall in the range for the letters and the = but can I convert them along with the numbers into a double??
GeneralRe: Read coefficients of linear equations into 2d array Pin
Luc Pattyn20-Jun-09 2:49
sitebuilderLuc Pattyn20-Jun-09 2:49 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 2:58
Omar Al Qady20-Jun-09 2:58 
AnswerRe: Read coefficients of linear equations into 2d array Pin
«_Superman_»20-Jun-09 2:45
professional«_Superman_»20-Jun-09 2:45 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 3:02
Omar Al Qady20-Jun-09 3:02 
GeneralRe: Read coefficients of linear equations into 2d array Pin
ProtoBytes20-Jun-09 4:09
ProtoBytes20-Jun-09 4:09 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 4:44
Omar Al Qady20-Jun-09 4:44 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00421-Jun-09 18:22
chandu00421-Jun-09 18:22 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady22-Jun-09 0:18
Omar Al Qady22-Jun-09 0:18 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00422-Jun-09 1:32
chandu00422-Jun-09 1:32 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady22-Jun-09 9:29
Omar Al Qady22-Jun-09 9:29 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00422-Jun-09 19:33
chandu00422-Jun-09 19:33 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady23-Jun-09 0:15
Omar Al Qady23-Jun-09 0:15 
AnswerRe: Read coefficients of linear equations into 2d array Pin
David Crow22-Jun-09 4:41
David Crow22-Jun-09 4:41 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady23-Jun-09 0:14
Omar Al Qady23-Jun-09 0:14 
Questionread a file using Readfile() Pin
rahuljin20-Jun-09 0:31
rahuljin20-Jun-09 0:31 
AnswerRe: read a file using Readfile() Pin
chandu00420-Jun-09 0:36
chandu00420-Jun-09 0:36 
AnswerRe: read a file using Readfile() Pin
Sarath C20-Jun-09 0:50
Sarath C20-Jun-09 0:50 

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.