Click here to Skip to main content
16,005,473 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: memory leak Pin
Joe Woodbury11-Nov-05 20:19
professionalJoe Woodbury11-Nov-05 20:19 
QuestionCallback with "object" parameter fails Pin
TriLogic7-Nov-05 10:39
TriLogic7-Nov-05 10:39 
QuestionC++ console Pin
iamboy7-Nov-05 9:05
iamboy7-Nov-05 9:05 
AnswerRe: C++ console Pin
Christian Graus7-Nov-05 9:50
protectorChristian Graus7-Nov-05 9:50 
QuestionAccessing control from another file Pin
Eran6-Nov-05 22:49
Eran6-Nov-05 22:49 
AnswerRe: Accessing control from another file Pin
Christian Graus7-Nov-05 9:53
protectorChristian Graus7-Nov-05 9:53 
Questionfstream help Pin
afrodriguez6-Nov-05 15:54
afrodriguez6-Nov-05 15:54 
AnswerRe: fstream help Pin
Christian Graus6-Nov-05 15:58
protectorChristian Graus6-Nov-05 15:58 
If you know the format of the file, you can use the << operator to read the file into the appropriate variable types, which in this case is two strings, and 10 numeric types. As it stands, you're reading a char at a time. The real alternative to what I've suggested is to use getline and then munch the string to extract the data by looking for spaces and using substr and atoi to convert to ints.


Christian Graus - Microsoft MVP - C++
GeneralRe: fstream help Pin
qfegd8-Nov-05 14:28
qfegd8-Nov-05 14:28 
AnswerRe: fstream help Pin
Jeremy Thornton12-Nov-05 14:03
Jeremy Thornton12-Nov-05 14:03 
GeneralRe: fstream help Pin
Jeremy Thornton12-Nov-05 13:13
Jeremy Thornton12-Nov-05 13:13 
QuestionUnicode File I/O problem Pin
scottwalk5-Nov-05 16:56
scottwalk5-Nov-05 16:56 
AnswerRe: Unicode File I/O problem Pin
Jeremy Thornton12-Nov-05 16:14
Jeremy Thornton12-Nov-05 16:14 
QuestionC++ object in C Pin
djtosh5-Nov-05 15:53
djtosh5-Nov-05 15:53 
AnswerRe: C++ object in C Pin
toxcct6-Nov-05 0:29
toxcct6-Nov-05 0:29 
AnswerRe: C++ object in C Pin
Andre xxxxxxx17-Jan-06 0:11
Andre xxxxxxx17-Jan-06 0:11 
Questionquery about giving inputs thru keboard Pin
bug1015-Nov-05 1:49
bug1015-Nov-05 1:49 
AnswerRe: query about giving inputs thru keboard Pin
Christian Graus6-Nov-05 14:05
protectorChristian Graus6-Nov-05 14:05 
QuestionTrain free @Microsoft Pin
vikas amin4-Nov-05 22:43
vikas amin4-Nov-05 22:43 
QuestionHow to set initial size of SDI window? Pin
SheriMarie4-Nov-05 4:57
SheriMarie4-Nov-05 4:57 
Questionwant to include &lt;windows.h&gt; in windows forms app Pin
9ine4-Nov-05 4:49
9ine4-Nov-05 4:49 
AnswerRe: want to include &amp;lt;windows.h&amp;gt; in windows forms app Pin
Sheng Jiang 蒋晟4-Nov-05 7:10
Sheng Jiang 蒋晟4-Nov-05 7:10 
GeneralRe: want to include &amp;amp;lt;windows.h&amp;amp;gt; in windows forms app Pin
9ine6-Nov-05 22:43
9ine6-Nov-05 22:43 
GeneralRe: want to include &amp;amp;lt;windows.h&amp;amp;gt; in windows forms app Pin
9ine7-Nov-05 0:15
9ine7-Nov-05 0:15 
GeneralRe: want to include &amp;amp;amp;lt;windows.h&amp;amp;amp;gt; in windows forms app Pin
Sheng Jiang 蒋晟7-Nov-05 4:50
Sheng Jiang 蒋晟7-Nov-05 4: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.