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

C / C++ / MFC

 
AnswerRe: Link Errors Pin
«_Superman_»20-Jun-09 17:14
professional«_Superman_»20-Jun-09 17:14 
QuestionTrying to create a Tool bar using the class CToolBar Pin
BobInNJ20-Jun-09 7:02
BobInNJ20-Jun-09 7:02 
Questiontext on a toolbar button not vertically centered Pin
AnantheswarG20-Jun-09 4:29
AnantheswarG20-Jun-09 4:29 
QuestionRead coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 1:51
Omar Al Qady20-Jun-09 1:51 
AnswerRe: Read coefficients of linear equations into 2d array Pin
chandu00420-Jun-09 2:01
chandu00420-Jun-09 2:01 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Omar Al Qady20-Jun-09 2:23
Omar Al Qady20-Jun-09 2:23 
GeneralRe: Read coefficients of linear equations into 2d array Pin
chandu00420-Jun-09 2:41
chandu00420-Jun-09 2:41 
GeneralRe: Read coefficients of linear equations into 2d array Pin
Luc Pattyn20-Jun-09 2:46
sitebuilderLuc Pattyn20-Jun-09 2:46 
I don't think so.
First you don't need to create a file in order to read and parse an existing file.
Second, there is no guarantee the variables are ordered the same in every line and/or a coefficient of zero gets mentioned at all, so one really has to check the variable names.

All it takes is reading the characters of a line, then parse it into numbers, identifiers and operators.

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
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 
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 

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.