Click here to Skip to main content
15,898,371 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Console Application Help Pin
Dave Kreskowiak5-Dec-08 3:28
mveDave Kreskowiak5-Dec-08 3:28 
AnswerRe: Console Application Help Pin
Dan Suthar5-Dec-08 5:53
professionalDan Suthar5-Dec-08 5:53 
GeneralRe: Console Application Help Pin
Wendelius5-Dec-08 7:55
mentorWendelius5-Dec-08 7:55 
QuestionException handling Pin
Umangj3-Dec-08 15:34
Umangj3-Dec-08 15:34 
GeneralRe: Exception handling Pin
Luc Pattyn3-Dec-08 16:08
sitebuilderLuc Pattyn3-Dec-08 16:08 
GeneralRe: Exception handling Pin
Umangj3-Dec-08 17:45
Umangj3-Dec-08 17:45 
QuestionPointers and arrays problem Pin
Boo102-Dec-08 19:28
Boo102-Dec-08 19:28 
AnswerRe: Pointers and arrays problem Pin
Simon P Stevens2-Dec-08 23:00
Simon P Stevens2-Dec-08 23:00 
Sorry, we don't do homework for you here.

Boo10 wrote:
Am using Microsoft Visual Basic C++ (.NET)


I think this is your problem. What the hell is "visual basic c++ .net"? Laugh | :laugh: I think you may be slightly confused about what language you're using. (Check with your lecturer that you are using the same language as them. You will struggle to do this in the wrong language. As far as I'm aware, visual basic doesn't support pointers)

Break it down into steps. If you understand pointer basics like you say, each step should be fairly straight forward to write.

You need to write a function that take a pointer to an array of integers and an integer to search for. You need to loop through the array and check if any of the values it contains matches the integer you are searching for. When you find a match, you need to get a pointer to that value and return the pointer. If you don't find a match and get to the end of the array, you just return a null pointer.

Simon

GeneralRe: Pointers and arrays problem Pin
Paul Conrad3-Dec-08 4:48
professionalPaul Conrad3-Dec-08 4:48 
AnswerRe: Pointers and arrays problem Pin
Paul Conrad3-Dec-08 4:49
professionalPaul Conrad3-Dec-08 4:49 
NewsReceive Windows 7 Beta 1 at a Local MSDN Developer Conference Pin
concordmfg2-Dec-08 12:24
concordmfg2-Dec-08 12:24 
QuestionNotSupportedException Pin
Developer6112-Dec-08 10:16
Developer6112-Dec-08 10:16 
AnswerRe: NotSupportedException Pin
Dave Kreskowiak2-Dec-08 10:41
mveDave Kreskowiak2-Dec-08 10:41 
GeneralRe: NotSupportedException Pin
Member 53148902-Dec-08 18:40
Member 53148902-Dec-08 18:40 
GeneralRe: NotSupportedException Pin
Dave Kreskowiak3-Dec-08 1:46
mveDave Kreskowiak3-Dec-08 1:46 
QuestionDynamic picturebox allocation Pin
Umangj2-Dec-08 8:08
Umangj2-Dec-08 8:08 
QuestionPls Reply guyz Pin
Umangj3-Dec-08 2:43
Umangj3-Dec-08 2:43 
AnswerRe: Pls Reply guyz Pin
Paul Conrad3-Dec-08 4:52
professionalPaul Conrad3-Dec-08 4:52 
AnswerRe: Dynamic picturebox allocation Pin
Gideon Engelberth3-Dec-08 3:20
Gideon Engelberth3-Dec-08 3:20 
GeneralRe: Dynamic picturebox allocation Pin
Umangj3-Dec-08 15:35
Umangj3-Dec-08 15:35 
QuestionVB6 to VB.NET - DLL function arguments conversion Pin
boris.sclauzero2-Dec-08 6:00
boris.sclauzero2-Dec-08 6:00 
QuestionDoubt on Textbox Control !!!!! Pin
Suave_Shiva1-Dec-08 17:32
Suave_Shiva1-Dec-08 17:32 
AnswerRe: Doubt on Textbox Control !!!!! Pin
Simon P Stevens1-Dec-08 22:51
Simon P Stevens1-Dec-08 22:51 
GeneralRe: Doubt on Textbox Control !!!!! Pin
TJS4u4-Dec-08 19:10
TJS4u4-Dec-08 19:10 
QuestionDataTable.Update throws "duplicate value cannot be inserted into a unique index" Pin
gongchengshi1-Dec-08 12:24
gongchengshi1-Dec-08 12:24 

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.