Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CRichEditCtrl and UNICODE Pin
sstoyan15-Mar-04 3:50
sstoyan15-Mar-04 3:50 
GeneralRe: CRichEditCtrl and UNICODE Pin
Steve S15-Mar-04 22:15
Steve S15-Mar-04 22:15 
GeneralRe: CRichEditCtrl and UNICODE Pin
sstoyan15-Mar-04 23:15
sstoyan15-Mar-04 23:15 
QuestionHow can i save a text string as a tga file Pin
Orochi14-Mar-04 3:39
Orochi14-Mar-04 3:39 
AnswerRe: How can i save a text string as a tga file Pin
Christian Graus14-Mar-04 15:55
protectorChristian Graus14-Mar-04 15:55 
GeneralURL Does not use a Recognized protocol Pin
muckmail14-Mar-04 2:44
muckmail14-Mar-04 2:44 
GeneralRe: URL Does not use a Recognized protocol Pin
Ravi Bhavnani14-Mar-04 9:20
professionalRavi Bhavnani14-Mar-04 9:20 
Generalisalpha, isalnum Pin
nss14-Mar-04 2:17
nss14-Mar-04 2:17 
1.These two are supposed to take int args: Yet I see them being used a as isalpha('t') etc, i.e we are giving it a char arg. Why is that?


2.I did:
  char r[256] ;
  int t;
  cout << " enter string  ";
  char c = cin.peek();
  cin >> r;
  while (c != '\n')


    {
      c = cin.peek();
      if (isalpha(c))cin >> r;
    }
  cout  << " tr" << r << endl;
}


but when I put in 'abc%def' i got back the identical thing, not 'abcdef' which is what I expected...

3.Also I wanted to weed out spl chars using isalnum so that an input like
abd$ef would get fed in and come out like abdef:

char s[256];
cin >>s;

but isalnum wont work either...
Confused | :confused: Confused | :confused:
thanks,
ns
GeneralRe: isalpha, isalnum Pin
Michael Dunn14-Mar-04 4:43
sitebuilderMichael Dunn14-Mar-04 4:43 
GeneralRe: isalpha, isalnum Pin
Antti Keskinen14-Mar-04 10:32
Antti Keskinen14-Mar-04 10:32 
GeneralRe: isalpha, isalnum Pin
nss15-Mar-04 12:40
nss15-Mar-04 12:40 
QuestionHow do i create window with menu styles Pin
anematollahi14-Mar-04 0:16
anematollahi14-Mar-04 0:16 
AnswerRe: How do i create window with menu styles Pin
Prakash Nadar14-Mar-04 0:27
Prakash Nadar14-Mar-04 0:27 
Generaldoc-view and database problem Pin
heuriskeinner13-Mar-04 23:59
heuriskeinner13-Mar-04 23:59 
GeneralRe: doc-view and database problem Pin
Prakash Nadar14-Mar-04 0:25
Prakash Nadar14-Mar-04 0:25 
GeneralRequired header <conio.h> of C-library Pin
oOomen13-Mar-04 23:48
oOomen13-Mar-04 23:48 
GeneralRe: Required header &lt;conio.h&gt; of C-library Pin
Prakash Nadar14-Mar-04 0:23
Prakash Nadar14-Mar-04 0:23 
GeneralRe: Required header &lt;conio.h&gt; of C-library Pin
oOomen14-Mar-04 2:02
oOomen14-Mar-04 2:02 
GeneralRe: Required header &lt;conio.h&gt; of C-library Pin
Prakash Nadar14-Mar-04 2:20
Prakash Nadar14-Mar-04 2:20 
GeneralRe: Required header <conio.h> of C-library Pin
oOomen14-Mar-04 3:57
oOomen14-Mar-04 3:57 
GeneralRe: Required header &lt;conio.h&gt; of C-library Pin
Prakash Nadar14-Mar-04 6:01
Prakash Nadar14-Mar-04 6:01 
GeneralMFC: Problem using CWnd::SendMessage Pin
Davex_13-Mar-04 17:20
Davex_13-Mar-04 17:20 
GeneralRe: MFC: Problem using CWnd::SendMessage Pin
Ravi Bhavnani13-Mar-04 17:28
professionalRavi Bhavnani13-Mar-04 17:28 
GeneralRe: MFC: Problem using CWnd::SendMessage Pin
Davex_14-Mar-04 4:16
Davex_14-Mar-04 4:16 
GeneralProperty Pages/Sheets/Tab Controls Pin
Anonymous13-Mar-04 14:41
Anonymous13-Mar-04 14:41 

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.