Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using ShellExecute to close... Pin
tolw31-May-09 23:34
tolw31-May-09 23:34 
AnswerRe: using ShellExecute to close... Pin
CPallini31-May-09 21:48
mveCPallini31-May-09 21:48 
QuestionRefresh Desktop programatically Pin
krishnakumartm31-May-09 21:05
krishnakumartm31-May-09 21:05 
AnswerRe: Refresh Desktop programatically Pin
«_Superman_»31-May-09 21:10
professional«_Superman_»31-May-09 21:10 
AnswerRe: Refresh Desktop programatically Pin
khan++31-May-09 21:59
khan++31-May-09 21:59 
QuestionString check Pin
pandit8431-May-09 20:55
pandit8431-May-09 20:55 
AnswerRe: String check Pin
«_Superman_»31-May-09 21:17
professional«_Superman_»31-May-09 21:17 
AnswerRe: String check Pin
Nibu babu thomas31-May-09 22:13
Nibu babu thomas31-May-09 22:13 
pandit84 wrote:
How to check whether a string does not contain any data other that 'A' - 'Z' or '0' - '9'


You can use _istalnum, _isalnum function...

bool IsValidAlNumStr( LPCTSTR lpctszStr )
{
  while( *lpctszStr )
  {
     if( !_istalnum(*lpctszStr ))
        return false;

     ++lpctszStr;
  }

  return true;
}



Nibu babu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

QuestionHow to retrive console's code page? Pin
birajendu31-May-09 20:43
birajendu31-May-09 20:43 
AnswerRe: How to retrive console's code page? Pin
«_Superman_»31-May-09 21:08
professional«_Superman_»31-May-09 21:08 
GeneralRe: How to retrive console's code page? Pin
birajendu1-Jun-09 1:35
birajendu1-Jun-09 1:35 
AnswerRe: How to retrive console's code page? Pin
norish1-Jun-09 6:06
norish1-Jun-09 6:06 
QuestionIncorrect argc if "\" is not appended by escape character [modified] Pin
s v joshi31-May-09 20:01
s v joshi31-May-09 20:01 
AnswerRe: Incorrect argc if "\" is not appended by escape character Pin
«_Superman_»31-May-09 20:18
professional«_Superman_»31-May-09 20:18 
QuestionRe: Incorrect argc if "\" is not appended by escape character Pin
David Crow1-Jun-09 3:46
David Crow1-Jun-09 3:46 
QuestionWhat triggers CAsyncSocket::OnSend Pin
ForNow31-May-09 12:36
ForNow31-May-09 12:36 
AnswerRe: What triggers CAsyncSocket::OnSend Pin
«_Superman_»31-May-09 19:32
professional«_Superman_»31-May-09 19:32 
GeneralRe: What triggers CAsyncSocket::OnSend Pin
ForNow31-May-09 22:40
ForNow31-May-09 22:40 
AnswerRe: What triggers CAsyncSocket::OnSend Pin
hanq_3891013031-May-09 19:33
hanq_3891013031-May-09 19:33 
AnswerRe: What triggers CAsyncSocket::OnSend Pin
norish31-May-09 19:37
norish31-May-09 19:37 
Questiongsm program Pin
agetina31-May-09 7:12
agetina31-May-09 7:12 
AnswerRe: gsm program Pin
CPallini31-May-09 20:24
mveCPallini31-May-09 20:24 
QuestionAuto Scroll Vertical to the last line Pin
susanne131-May-09 5:48
susanne131-May-09 5:48 
AnswerRe: Auto Scroll Vertical to the last line Pin
«_Superman_»31-May-09 19:30
professional«_Superman_»31-May-09 19:30 
GeneralRe: Auto Scroll Vertical to the last line Pin
susanne12-Jun-09 4:56
susanne12-Jun-09 4:56 

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.