Click here to Skip to main content
15,921,276 members
Home / Discussions / C#
   

C#

 
GeneralError:Unsafe code may only appear if compiling with /unsafe Pin
zeeShan anSari28-Dec-07 1:59
zeeShan anSari28-Dec-07 1:59 
GeneralRe: Error:Unsafe code may only appear if compiling with /unsafe Pin
boersnoes28-Dec-07 2:47
boersnoes28-Dec-07 2:47 
GeneralRe: Error:Unsafe code may only appear if compiling with /unsafe Pin
Luc Pattyn28-Dec-07 3:58
sitebuilderLuc Pattyn28-Dec-07 3:58 
Questionhow to get a view on a vector Pin
edaw28-Dec-07 0:32
edaw28-Dec-07 0:32 
GeneralRe: how to get a view on a vector Pin
Colin Angus Mackay28-Dec-07 1:10
Colin Angus Mackay28-Dec-07 1:10 
GeneralRe: how to get a view on a vector Pin
edaw28-Dec-07 1:41
edaw28-Dec-07 1:41 
GeneralRe: how to get a view on a vector Pin
Luc Pattyn28-Dec-07 4:03
sitebuilderLuc Pattyn28-Dec-07 4:03 
GeneralRe: how to get a view on a vector Pin
edaw28-Dec-07 4:18
edaw28-Dec-07 4:18 
Ok thanks, I think that is easiest way.
I think I need to pass the vector and the indexBegin and endEnd.
public void Test(	double[] vec,int indexBegin,int indexEnd)<br />
{<br />
}<br />

So If one has a big vector It can call the method without copy the vector just doing
Test( vector, 2,3).
So there is no more elegant way to do this in C# as in C++( using STL).
GeneralRe: how to get a view on a vector Pin
Luc Pattyn28-Dec-07 4:50
sitebuilderLuc Pattyn28-Dec-07 4:50 
QuestionHow to extend Math class Pin
Chesnokov Yuriy28-Dec-07 0:00
professionalChesnokov Yuriy28-Dec-07 0:00 
GeneralRe: How to extend Math class Pin
Colin Angus Mackay28-Dec-07 0:02
Colin Angus Mackay28-Dec-07 0:02 
GeneralRe: How to extend Math class Pin
User 665828-Dec-07 4:01
User 665828-Dec-07 4:01 
AnswerRe: How to extend Math class Pin
Leyu28-Dec-07 4:02
Leyu28-Dec-07 4:02 
GeneralRe: How to extend Math class Pin
Paul Conrad28-Dec-07 7:02
professionalPaul Conrad28-Dec-07 7:02 
GeneralBuiltInDocumentProperties with WdPropertyTimeLastSaved Pin
Arun Abraham Jose27-Dec-07 23:48
Arun Abraham Jose27-Dec-07 23:48 
GeneralRe: BuiltInDocumentProperties with WdPropertyTimeLastSaved Pin
KaptinKrunch28-Dec-07 4:05
KaptinKrunch28-Dec-07 4:05 
GeneralDll Pin
sindhutiwari27-Dec-07 22:28
sindhutiwari27-Dec-07 22:28 
GeneralRe: Dll Pin
JoeRip27-Dec-07 23:02
JoeRip27-Dec-07 23:02 
GeneralRe: Dll Pin
sindhutiwari27-Dec-07 23:10
sindhutiwari27-Dec-07 23:10 
GeneralRe: Dll Pin
KaptinKrunch28-Dec-07 4:02
KaptinKrunch28-Dec-07 4:02 
Generalhosting a webapplication in Asp.net along with database Pin
mrcsn27-Dec-07 22:23
mrcsn27-Dec-07 22:23 
GeneralRe: hosting a webapplication in Asp.net along with database Pin
Paul Conrad28-Dec-07 10:18
professionalPaul Conrad28-Dec-07 10:18 
Questionhow to retrieve data from database for every one minutes. Pin
ramesh_imayam27-Dec-07 22:22
ramesh_imayam27-Dec-07 22:22 
AnswerRe: how to retrieve data from database for every one minutes. Pin
sindhutiwari27-Dec-07 22:30
sindhutiwari27-Dec-07 22:30 
AnswerRe: how to retrieve data from database for every one minutes. Pin
Colin Angus Mackay28-Dec-07 0:00
Colin Angus Mackay28-Dec-07 0:00 

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.