Abudahim Posted February 12, 2004 Posted February 12, 2004 I want a simple example that demonstrate how to use Pointers and memory ? thanks Quote
mocella Posted February 12, 2004 Posted February 12, 2004 Here's the language specs on how C# allocates memory: http://www.superdotnet.com/csharp_onlinespec/2514.aspx Are you trying to perform your own memory allocation/deallocation in .Net, or are you using java or pure C/C++ and you're just asking about it here? Quote
Abudahim Posted February 13, 2004 Author Posted February 13, 2004 thats what I want but in VB.NET . THANKS Quote
Administrators PlausiblyDamp Posted February 13, 2004 Administrators Posted February 13, 2004 VB.Net doesn't give you direct access to pointers in the language - what are you trying to do that requires pointers? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Abudahim Posted February 14, 2004 Author Posted February 14, 2004 Just for learning purpose. but I don't understand "direct access to pointers" . what will be the difference if I can access directly to the memory ? Quote
mocella Posted February 14, 2004 Posted February 14, 2004 You'd probably be better served to use something like C/C++ outside of .Net. There used to be a fairly cheap Borland C compiler that I picked up in college (think it ran me like $40). That way, you'll be responsible for everything - memory allocation, stacks, pointers all that good stuff, without .Net taking those liberties for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.