Click here to Skip to main content
15,881,424 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: Parsing the Command Line Pin
David Crow27-Apr-20 3:31
David Crow27-Apr-20 3:31 
AnswerRe: Parsing the Command Line Pin
Graham Breach27-Apr-20 4:34
Graham Breach27-Apr-20 4:34 
GeneralRe: Parsing the Command Line Pin
Richard Andrew x6427-Apr-20 5:13
professionalRichard Andrew x6427-Apr-20 5:13 
PraiseRe: Parsing the Command Line Pin
David Crow27-Apr-20 7:16
David Crow27-Apr-20 7:16 
QuestionHow to count occurences of a number and its most frequent pair in a text file? Pin
kangkongflea25-Apr-20 0:31
kangkongflea25-Apr-20 0:31 
AnswerRe: How to count occurences of a number and its most frequent pair in a text file? Pin
Richard MacCutchan25-Apr-20 0:38
mveRichard MacCutchan25-Apr-20 0:38 
AnswerRe: How to count occurences of a number and its most frequent pair in a text file? Pin
Stefan_Lang27-Apr-20 0:32
Stefan_Lang27-Apr-20 0:32 
SuggestionRe: How to count occurences of a number and its most frequent pair in a text file? Pin
David Crow27-Apr-20 2:08
David Crow27-Apr-20 2:08 
I'm sure there are many ways to skin this cat, but how about a loop that reads each line of the file into a string type, then calls string::find() for things like "49-" and "-49"? If one of those is found, then do something similar with the 13. Would that work?

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


Questionarray of 32bit container Pin
Member 1481234224-Apr-20 6:28
Member 1481234224-Apr-20 6:28 
AnswerRe: array of 32bit container Pin
Richard MacCutchan24-Apr-20 6:56
mveRichard MacCutchan24-Apr-20 6:56 
AnswerRe: array of 32bit container Pin
jeron124-Apr-20 7:07
jeron124-Apr-20 7:07 
GeneralRe: array of 32bit container Pin
Richard Andrew x6424-Apr-20 13:09
professionalRichard Andrew x6424-Apr-20 13:09 
GeneralRe: array of 32bit container Pin
jeron124-Apr-20 14:27
jeron124-Apr-20 14:27 
GeneralRe: array of 32bit container Pin
Member 1481234224-Apr-20 20:48
Member 1481234224-Apr-20 20:48 
GeneralRe: array of 32bit container Pin
Victor Nijegorodov24-Apr-20 21:24
Victor Nijegorodov24-Apr-20 21:24 
GeneralRe: array of 32bit container Pin
Member 1481234224-Apr-20 20:52
Member 1481234224-Apr-20 20:52 
GeneralRe: array of 32bit container Pin
Member 1481234224-Apr-20 20:53
Member 1481234224-Apr-20 20:53 
GeneralRe: array of 32bit container Pin
Richard MacCutchan24-Apr-20 22:07
mveRichard MacCutchan24-Apr-20 22:07 
QuestionFile Explorer Properties Dialog - SOLVED Pin
Richard Andrew x6424-Apr-20 4:27
professionalRichard Andrew x6424-Apr-20 4:27 
QuestionOpenGL stencil not working... Pin
Vaclav_22-Apr-20 10:38
Vaclav_22-Apr-20 10:38 
AnswerRe: OpenGL stencil not working... Pin
leon de boer22-Apr-20 19:16
leon de boer22-Apr-20 19:16 
GeneralRe: OpenGL stencil not working... Pin
Vaclav_23-Apr-20 3:10
Vaclav_23-Apr-20 3:10 
GeneralRe: OpenGL stencil not working... Pin
Vaclav_23-Apr-20 8:11
Vaclav_23-Apr-20 8:11 
QuestionCross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Hans99922-Apr-20 0:57
Hans99922-Apr-20 0:57 
AnswerRe: Cross Reference/Reporting Tool avaiable which does not resolve macros? Pin
Richard MacCutchan22-Apr-20 3:47
mveRichard MacCutchan22-Apr-20 3:47 

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.