Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to set Version Information to my Console Application EXE developed using VC6.0 Pin
«_Superman_»2-Aug-10 20:11
professional«_Superman_»2-Aug-10 20:11 
QuestionHow to Remove TitleIcon for CDialog if border is Resized VC++ Pin
janaswamy uday2-Aug-10 19:15
janaswamy uday2-Aug-10 19:15 
AnswerRe: How to Remove TitleIcon for CDialog if border is Resized VC++ Pin
Cool_Dev2-Aug-10 19:45
Cool_Dev2-Aug-10 19:45 
GeneralRe: How to Remove TitleIcon for CDialog if border is Resized VC++ Pin
janaswamy uday2-Aug-10 19:56
janaswamy uday2-Aug-10 19:56 
GeneralRe: How to Remove TitleIcon for CDialog if border is Resized VC++ Pin
Cool_Dev2-Aug-10 20:14
Cool_Dev2-Aug-10 20:14 
AnswerRe: How to Remove TitleIcon for CDialog if border is Resized VC++ Pin
KingsGambit2-Aug-10 20:35
KingsGambit2-Aug-10 20:35 
QuestionExport CListCtrl data into pdf and doc format Pin
Abinash Mohanty2-Aug-10 19:10
Abinash Mohanty2-Aug-10 19:10 
AnswerRe: Export CListCtrl data into pdf and doc format Pin
KingsGambit2-Aug-10 19:42
KingsGambit2-Aug-10 19:42 
GeneralRe: Export CListCtrl data into pdf and doc format Pin
Abinash Mohanty2-Aug-10 19:55
Abinash Mohanty2-Aug-10 19:55 
GeneralRe: Export CListCtrl data into pdf and doc format Pin
KingsGambit2-Aug-10 20:20
KingsGambit2-Aug-10 20:20 
QuestionINT TO STRING?... help Pin
lgmanuel2-Aug-10 17:46
lgmanuel2-Aug-10 17:46 
AnswerRe: INT TO STRING?... help Pin
Cool_Dev2-Aug-10 18:16
Cool_Dev2-Aug-10 18:16 
AnswerRe: INT TO STRING?... help Pin
steviewang2-Aug-10 18:28
steviewang2-Aug-10 18:28 
GeneralRe: INT TO STRING?... help Pin
Cool_Dev2-Aug-10 18:30
Cool_Dev2-Aug-10 18:30 
Questionbind data in List Box Pin
steviewang2-Aug-10 17:42
steviewang2-Aug-10 17:42 
AnswerRe: bind data in List Box Pin
Cool_Dev2-Aug-10 18:13
Cool_Dev2-Aug-10 18:13 
GeneralRe: bind data in List Box Pin
steviewang2-Aug-10 18:24
steviewang2-Aug-10 18:24 
GeneralRe: bind data in List Box Pin
Cool_Dev2-Aug-10 18:28
Cool_Dev2-Aug-10 18:28 
QuestionRead String Pin
AbhiHcl2-Aug-10 3:30
AbhiHcl2-Aug-10 3:30 
AnswerRe: Read String Pin
«_Superman_»2-Aug-10 3:50
professional«_Superman_»2-Aug-10 3:50 
AnswerRe: Read String Pin
Aescleal2-Aug-10 3:51
Aescleal2-Aug-10 3:51 
std::count is your friend. It does exactly what you'd expect it to do from it's name. The only problem you're likely to have is working out where the end of the characters in memory are, but if you're feeling lazy bung the characters in a std::string first:

std::string s( str );
std::cout << "There are " << std::count( s.begin(), s.end(), ',' ) << " commas in " << s << std::endl;


Cheers,

Ash
AnswerRe: Read String Pin
Luc Pattyn2-Aug-10 3:57
sitebuilderLuc Pattyn2-Aug-10 3:57 
AnswerRe: Read String Pin
Chris Losinger2-Aug-10 4:14
professionalChris Losinger2-Aug-10 4:14 
GeneralRe: Read String Pin
Cedric Moonen2-Aug-10 4:33
Cedric Moonen2-Aug-10 4:33 
GeneralRe: Read String Pin
Iain Clarke, Warrior Programmer3-Aug-10 2:09
Iain Clarke, Warrior Programmer3-Aug-10 2:09 

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.