Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hide a window from Taskbar Pin
Perspx25-May-07 5:29
Perspx25-May-07 5:29 
Questionread an parse html page using VC++ Pin
swarup24-May-07 8:18
swarup24-May-07 8:18 
QuestionRe: read an parse html page using VC++ Pin
David Crow24-May-07 8:39
David Crow24-May-07 8:39 
AnswerRe: read an parse html page using VC++ Pin
Hamid_RT24-May-07 11:02
Hamid_RT24-May-07 11:02 
AnswerRe: read an parse html page using VC++ Pin
swarup24-May-07 22:32
swarup24-May-07 22:32 
QuestionDifferent results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 8:03
Immunity1824-May-07 8:03 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 8:33
David Crow24-May-07 8:33 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 8:36
Immunity1824-May-07 8:36 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 8:42
David Crow24-May-07 8:42 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 8:58
Immunity1824-May-07 8:58 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:08
David Crow24-May-07 10:08 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 13:12
Immunity1824-May-07 13:12 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 2:40
David Crow25-May-07 2:40 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 2:44
Immunity1825-May-07 2:44 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 2:56
David Crow25-May-07 2:56 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 3:17
Immunity1825-May-07 3:17 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 3:23
David Crow25-May-07 3:23 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 3:30
Immunity1825-May-07 3:30 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 9:02
Immunity1824-May-07 9:02 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 9:51
David Crow24-May-07 9:51 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 9:53
Immunity1824-May-07 9:53 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:01
David Crow24-May-07 10:01 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 10:04
Immunity1824-May-07 10:04 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:10
David Crow24-May-07 10:10 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 10:15
Immunity1824-May-07 10:15 
about the debug yes its debug arrestion (how it is spelled:P)
my code is
int CInfoRecoverDlg::Compare( CString line , CString str2)
{
	int nCount = 0;
	int index=0;
	for (int i = 0 ; i < line.GetLength() ; i++)
	{
		index=line.Find(str2,index);
		if( index!= -1 )
		{
			if( !isalpha(line.GetAt(index-1)) && !isalpha(line.GetAt(index+ str2.GetLength())))
			{
				nCount++;
				index++;
			}
		}
		else
		return nCount;
	}
	return nCount ;
}


Well yes i just want to complete the project (so i can give it ) and then i try to fingure out (my University teacher dont want to see C code correction but a program that work like google machine (give some words and return 10 top files.txt in chance to be what you want )

He asked us to make it in Visual Basic but as he teach us the Basic i felt i would confuse even more the C/C++ so i decide to make it in C/C++ Big Grin | :-D

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.