Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check the ASCII value ?? Pin
Parthi_Appu29-Mar-07 22:22
Parthi_Appu29-Mar-07 22:22 
GeneralRe: How to check the ASCII value ?? [modified] Pin
Suresh H29-Mar-07 22:25
Suresh H29-Mar-07 22:25 
GeneralRe: How to check the ASCII value ?? [modified] Pin
Parthi_Appu29-Mar-07 23:17
Parthi_Appu29-Mar-07 23:17 
GeneralRe: How to check the ASCII value ?? Pin
toxcct29-Mar-07 23:24
toxcct29-Mar-07 23:24 
JokeRe: How to check the ASCII value ?? Pin
Parthi_Appu29-Mar-07 23:27
Parthi_Appu29-Mar-07 23:27 
GeneralRe: How to check the ASCII value ?? Pin
Suresh H29-Mar-07 23:46
Suresh H29-Mar-07 23:46 
GeneralRe: How to check the ASCII value ?? Pin
Parthi_Appu30-Mar-07 0:02
Parthi_Appu30-Mar-07 0:02 
GeneralRe: How to check the ASCII value ?? Pin
Suresh H30-Mar-07 0:27
Suresh H30-Mar-07 0:27 
Hi Appu,,

Thank you very much, code is working i made the changes as below

while(!fin.eof())<br />
	{<br />
		fin >> word; <br />
		//strlwr(word);<br />
		wsize =  strlen(word);<br />
		offset=fin.tellg();	<br />
		offset = offset - wsize + 1;<br />
		//Insert Words and its offset in to Map<br />
		stemp = word;<br />
<br />
		 bool bValid = true;<br />
 <br />
		 for (int j = 0; j < wsize; j++)<br />
		{<br />
			 if (!isalpha(stemp[j]))<br />
			{<br />
                bValid = false;<br />
                break;<br />
			}<br />
		 }<br />
  <br />
		 if (bValid)<br />
         FMap[stemp] = offset;<br />
	}

GeneralRe: How to check the ASCII value ?? Pin
ThatsAlok1-Apr-07 20:51
ThatsAlok1-Apr-07 20:51 
AnswerRe: How to check the ASCII value ?? Pin
prasad_som29-Mar-07 23:59
prasad_som29-Mar-07 23:59 
JokeRe: How to check the ASCII value ?? Pin
toxcct30-Mar-07 0:00
toxcct30-Mar-07 0:00 
GeneralRe: How to check the ASCII value ?? Pin
prasad_som30-Mar-07 0:08
prasad_som30-Mar-07 0:08 
GeneralRe: How to check the ASCII value ?? Pin
Suresh H30-Mar-07 0:30
Suresh H30-Mar-07 0:30 
AnswerRe: How to check the ASCII value ?? Pin
prasad_som29-Mar-07 21:41
prasad_som29-Mar-07 21:41 
GeneralRe: How to check the ASCII value ?? Pin
Suresh H29-Mar-07 21:50
Suresh H29-Mar-07 21:50 
GeneralRe: How to check the ASCII value ?? Pin
Parthi_Appu29-Mar-07 22:10
Parthi_Appu29-Mar-07 22:10 
GeneralRe: How to check the ASCII value ?? Pin
cp987629-Mar-07 22:52
cp987629-Mar-07 22:52 
GeneralRe: How to check the ASCII value ?? Pin
ThatsAlok1-Apr-07 20:50
ThatsAlok1-Apr-07 20:50 
AnswerRe: How to check the ASCII value ?? Pin
Don Box30-Mar-07 1:18
Don Box30-Mar-07 1:18 
AnswerRe: How to check the ASCII value ?? Pin
prasad_som30-Mar-07 2:07
prasad_som30-Mar-07 2:07 
Questiongetting LAN speed Pin
sanjaylk29-Mar-07 21:02
sanjaylk29-Mar-07 21:02 
AnswerRe: getting LAN speed Pin
ThatsAlok29-Mar-07 22:27
ThatsAlok29-Mar-07 22:27 
GeneralRe: getting LAN speed Pin
Programm3r30-Mar-07 0:27
Programm3r30-Mar-07 0:27 
GeneralRe: getting LAN speed Pin
ThatsAlok30-Mar-07 1:15
ThatsAlok30-Mar-07 1:15 
AnswerRe: getting LAN speed Pin
Rajesh R Subramanian30-Mar-07 19:29
professionalRajesh R Subramanian30-Mar-07 19:29 

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.