Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System() in MFC Pin
RomTibi29-Jun-07 10:52
RomTibi29-Jun-07 10:52 
QuestionTree Control problem Pin
Abhijeet Pathak29-Jun-07 6:36
Abhijeet Pathak29-Jun-07 6:36 
AnswerRe: Tree Control problem Pin
Maximilien29-Jun-07 7:24
Maximilien29-Jun-07 7:24 
GeneralRe: Tree Control problem Pin
Abhijeet Pathak29-Jun-07 7:59
Abhijeet Pathak29-Jun-07 7:59 
QuestionHow to output message in Visual Studio's "Debug" of output window Pin
zipliu29-Jun-07 6:35
zipliu29-Jun-07 6:35 
AnswerRe: How to output message in Visual Studio's "Debug" of output window Pin
led mike29-Jun-07 6:37
led mike29-Jun-07 6:37 
GeneralRe: How to output message in Visual Studio's "Debug" of output window Pin
zipliu29-Jun-07 6:40
zipliu29-Jun-07 6:40 
QuestionStripping from a text file Pin
awah29-Jun-07 4:19
awah29-Jun-07 4:19 
Stripping <items in="" here=""> from a text file

what i wan to do is get rid of items in <items in="" here="">
for example, for the string "dsafgsgwrgh<itema>grsgwrhhwr<itemb>fsdf"

i want to get rid of "itema" and "itemb"
here is my code
- open file
- copy file to a CString
- look for <
- look for >

	CString file_string;<br />
	CString file_string_temp;<br />
	int start_index;<br />
	int end_index;<br />
	f.Read(file_string.GetBuffer(f.GetLength()),f.GetLength());<br />
<br />
	start_index = file_string.Find("<");<br />
	end_index = file_string.Find(">");<br />
	file_string_temp = file_string.Left(start_index);<br />
<br />
	int aaa = file_string.GetLength();<br />
	int b=5;


but unfortunately it doesnt work
is the file too big? the file is about 2,000,000,000 in f.GetLength
[B]file_string.Left(start_index);[/B] copies the entire file_string instead of only copying left strings

can somebody tell me what's wrong?
QuestionLocalization issue Pin
Neeraj Sinha29-Jun-07 3:35
Neeraj Sinha29-Jun-07 3:35 
QuestionRe: Localization issue Pin
Hamid_RT29-Jun-07 3:58
Hamid_RT29-Jun-07 3:58 
AnswerRe: Localization issue Pin
Neeraj Sinha29-Jun-07 5:06
Neeraj Sinha29-Jun-07 5:06 
GeneralRe: Localization issue Pin
Hamid_RT29-Jun-07 5:37
Hamid_RT29-Jun-07 5:37 
AnswerRe: Localization issue Pin
Michael Dunn29-Jun-07 7:49
sitebuilderMichael Dunn29-Jun-07 7:49 
AnswerRe: Localization issue Pin
Sameerkumar Namdeo29-Jun-07 22:30
Sameerkumar Namdeo29-Jun-07 22:30 
QuestionRename (copy?) entire project/workspace Pin
ldsdbomber29-Jun-07 3:30
ldsdbomber29-Jun-07 3:30 
AnswerRe: Rename (copy?) entire project/workspace Pin
Hamid_RT29-Jun-07 3:51
Hamid_RT29-Jun-07 3:51 
Questionwhere to download libavutil.lib libavcodec.lib libavformat.lib [modified] Pin
Rajprabhu29-Jun-07 2:32
Rajprabhu29-Jun-07 2:32 
AnswerRe: where to download libavutil.lib libavcodec.lib libavformat.lib [modified] Pin
aak1127-Mar-12 12:21
aak1127-Mar-12 12:21 
QuestionCOM Pin
KASR129-Jun-07 2:29
KASR129-Jun-07 2:29 
AnswerRe: COM Pin
Programm3r29-Jun-07 2:35
Programm3r29-Jun-07 2:35 
QuestionDelay in video transmission using DirectShow Pin
Maynka29-Jun-07 2:08
Maynka29-Jun-07 2:08 
AnswerRe: Delay in video transmission using DirectShow Pin
Mark Salsbery1-Jul-07 10:54
Mark Salsbery1-Jul-07 10:54 
Questionhow open a website page in MFC Pin
Y_Kaushik29-Jun-07 1:49
Y_Kaushik29-Jun-07 1:49 
AnswerRe: how open a website page in MFC Pin
baerten29-Jun-07 1:52
baerten29-Jun-07 1:52 
GeneralRe: how open a website page in MFC Pin
Y_Kaushik29-Jun-07 1:57
Y_Kaushik29-Jun-07 1:57 

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.