Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Luc Pattyn20-Jun-09 2:49
sitebuilderLuc Pattyn20-Jun-09 2:49 
yes, that is about right, except you are not sure the variables will appear in the same order every time (one even could be omitted when its coefficient happens to be zero). So you must parse the line into numbers, identifier names and operators; then keep an array of known identifiers (=variable names) which leads you to the right column in the 2D matrix.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

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 
AnswerRe: read a file using Readfile() Pin
Rajesh R Subramanian20-Jun-09 1:00
professionalRajesh R Subramanian20-Jun-09 1:00 

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.