Click here to Skip to main content
15,921,793 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionIssues with ReadFile function Pin
Aditi48429-Sep-05 3:54
Aditi48429-Sep-05 3:54 
Questiondaemon program on Windows Pin
misha_grewal29-Sep-05 0:08
misha_grewal29-Sep-05 0:08 
AnswerRe: daemon program on Windows Pin
prasad_som29-Sep-05 2:31
prasad_som29-Sep-05 2:31 
Questioniterators in unmanaged C++ Pin
allenmpcx28-Sep-05 15:09
allenmpcx28-Sep-05 15:09 
AnswerRe: iterators in unmanaged C++ Pin
Nemanja Trifunovic28-Sep-05 15:47
Nemanja Trifunovic28-Sep-05 15:47 
GeneralRe: iterators in unmanaged C++ Pin
allenmpcx28-Sep-05 16:50
allenmpcx28-Sep-05 16:50 
GeneralRe: iterators in unmanaged C++ Pin
toxcct28-Sep-05 21:31
toxcct28-Sep-05 21:31 
GeneralRe: iterators in unmanaged C++ Pin
allenmpcx29-Sep-05 5:54
allenmpcx29-Sep-05 5:54 
template< class Iter ><br />
void InsertionSort( Iter first, Iter last )<br />
{<br />
	Iter step;<br />
	Iter i;<br />
	for( step = first; step < last; step++ )<br />
	{<br />
		Iter temp = first;<br />
		for( i = step; i >= first; i = (i-first) )<br />
		{<br />
			if( (*temp) < (*(i-first)) )<br />
			{<br />
				(*i) = (*(i-first));<br />
			}<br />
			else<br />
			{<br />
				break;<br />
			}<br />
		}<br />
		(*i)=(*temp);<br />
	}<br />
}


I'm trying to make it so I can pass in any iterator from any container, however this won't even compile.

Mike - I love to program!
GeneralRe: iterators in unmanaged C++ Pin
toxcct29-Sep-05 20:57
toxcct29-Sep-05 20:57 
GeneralRe: iterators in unmanaged C++ Pin
allenmpcx1-Oct-05 14:17
allenmpcx1-Oct-05 14:17 
QuestionSearch engine inquiry Pin
heskel28-Sep-05 9:16
heskel28-Sep-05 9:16 
AnswerRe: Search engine inquiry Pin
Matt Godbolt2-Oct-05 4:24
Matt Godbolt2-Oct-05 4:24 
Questionlinked list and random numbers Pin
eprt28-Sep-05 6:40
eprt28-Sep-05 6:40 
AnswerRe: linked list and random numbers Pin
Christian Graus28-Sep-05 7:43
protectorChristian Graus28-Sep-05 7:43 
QuestionBeginner C++/CLI Handle Question... Pin
Cheese Weasel28-Sep-05 6:20
Cheese Weasel28-Sep-05 6:20 
AnswerRe: Beginner C++/CLI Handle Question... Pin
Christian Graus28-Sep-05 7:54
protectorChristian Graus28-Sep-05 7:54 
QuestionNeed an example, Please Pin
Funkytroll0127-Sep-05 6:56
Funkytroll0127-Sep-05 6:56 
AnswerRe: Need an example, Please Pin
mikanu27-Sep-05 11:00
mikanu27-Sep-05 11:00 
Questionusing FILE from Managed C++ Pin
IsaacB26-Sep-05 6:42
IsaacB26-Sep-05 6:42 
AnswerRe: using FILE from Managed C++ Pin
prasad_som26-Sep-05 19:31
prasad_som26-Sep-05 19:31 
QuestionExe in debug/release don't work outside VS ! Pin
ZeNiTHaR26-Sep-05 1:02
ZeNiTHaR26-Sep-05 1:02 
AnswerRe: Exe in debug/release don't work outside VS ! Pin
RichardS27-Sep-05 21:22
RichardS27-Sep-05 21:22 
AnswerRe: Exe in debug/release don't work outside VS ! Pin
ArunKumar Yalamarthy29-Sep-05 2:42
ArunKumar Yalamarthy29-Sep-05 2:42 
Questiondifference betwwen static &amp; dynamic in MFC Pin
bujji_bec25-Sep-05 20:50
bujji_bec25-Sep-05 20:50 
AnswerRe: difference betwwen static &amp; dynamic in MFC Pin
Neagoe Gabriel26-Sep-05 3:57
Neagoe Gabriel26-Sep-05 3: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.