-
Created libnet troubles
So I am working on an old project that uses libnet, actually it is a book example, and I cannot find a version 1.1 or 1.0 of libnet. I am … -
Began Watching libnet troubles
So I am working on an old project that uses libnet, actually it is a book example, and I cannot find a version 1.1 or 1.0 of libnet. I am … -
Replied To a Post in Writing aggregate classes to a file
You are probably right. Any other ways of doing it? Just wondering what other programmers do in this situation. -
Created Writing aggregate classes to a file
So, I recently wrote a program for a class that involved writing an aggregate class to a file. This particular program had an order object, and each order could have … -
Began Watching Writing aggregate classes to a file
So, I recently wrote a program for a class that involved writing an aggregate class to a file. This particular program had an order object, and each order could have … -
Replied To a Post in Roll back a ReadLine in a text file?
I have been looking at an example on MSDN, and I have some code. Lines 27 through 30 are throwing overflow exceptions. I do not know why I cannot use … -
Replied To a Post in Roll back a ReadLine in a text file?
Sorry to be resurrecting this post, but I have been buisy lately, and didn't have time to persue this any farther. Can anybody provide some code for how to roll … -
Revoked Solved Status for Roll back a ReadLine in a text file?
How does one roll back a readline from a text file? -
Replied To a Post in Difference between returning a pointer and a struct?
I wrote this bit of code while I was in the class. If I ever did it over, there are a few things that I would change, but there is … -
Replied To a Post in Difference between returning a pointer and a struct?
> Yeah, sure it doesn't. I'm just imagining int, double, char, and all the structs I can think of :) The cirriculum at my school says so, it might be … -
Marked Solved Status for Difference between returning a pointer and a struct?
Is there any difference between returning a pointer to a struct, and returning a struct? Aside from the derefrenceing that is done would they both be working with the same … -
Replied To a Post in Difference between returning a pointer and a struct?
C doesn't have objects silly! But basically yes, if you choose to allocate your struct without the malloc method, on the stack (I'm not saying that's what I did in … -
Replied To a Post in Difference between returning a pointer and a struct?
But what if you don't use malloc? Does the variable then get copied to the heap? What if you deliberately place the struct on the stack? It has been a … -
Replied To a Post in Difference between returning a pointer and a struct?
Wait now, how did it get on the heap? -
Replied To a Post in Difference between returning a pointer and a struct?
I am actually looking back at one of my old C programs that I wrote in a C/C++ data structures class. Apparently it was very efficient according to the teacher, … -
Replied To a Post in Difference between returning a pointer and a struct?
Ok, I think I see, so when the code leaves the method it actually has to copy the struct from where it has been allocated to the method that called … -
Created Difference between returning a pointer and a struct?
Is there any difference between returning a pointer to a struct, and returning a struct? Aside from the derefrenceing that is done would they both be working with the same … -
Began Watching Difference between returning a pointer and a struct?
Is there any difference between returning a pointer to a struct, and returning a struct? Aside from the derefrenceing that is done would they both be working with the same … -
Marked Solved Status for Roll back a ReadLine in a text file?
How does one roll back a readline from a text file? -
Created Calling C++ from C#
I am relatively new to C#, does anybody have a simple example of how calling C++ from C# would be done? I heard that C# can call other languages. -
Began Watching Calling C++ from C#
I am relatively new to C#, does anybody have a simple example of how calling C++ from C# would be done? I heard that C# can call other languages. -
Created Roll back a ReadLine in a text file?
How does one roll back a readline from a text file? -
Began Watching Roll back a ReadLine in a text file?
How does one roll back a readline from a text file? -
Marked Solved Status for Passing an interface type by reference?
So, I wrote some code for appending to an array, and I thought to myself, would be cool to make the method more generic using an interface. I keep getting … -
Replied To a Post in Passing an interface type by reference?
That was very helpful, thanks. -
Edited Passing an interface type by reference?
So, I wrote some code for appending to an array, and I thought to myself, would be cool to make the method more generic using an interface. I keep getting … -
Created Passing an interface type by reference?
So, I wrote some code for appending to an array, and I thought to myself, would be cool to make the method more generic using an interface. I keep getting … -
Began Watching Passing an interface type by reference?
So, I wrote some code for appending to an array, and I thought to myself, would be cool to make the method more generic using an interface. I keep getting … -
Replied To a Post in When does it become more efficient to pass by reference?
I wrote my own program to test this out, and you were right, if one want's to save processing cycles, this is not the place to do it with primitive … -
Marked Solved Status for When does it become more efficient to pass by reference?
I am wondering, when does it become more efficient to pass by value in C#? I was reading this article: http://msdn.microsoft.com/en-us/library/4d43ts61%28v=vs.90%29.aspx The article suggests that passing by reference actually generates … -
Replied To a Post in When does it become more efficient to pass by reference?
So I have read what you both posted, and they had some very good points. I also asked my C# teacher more about pass by reference, and I had some … -
Created When does it become more efficient to pass by reference?
I am wondering, when does it become more efficient to pass by value in C#? I was reading this article: http://msdn.microsoft.com/en-us/library/4d43ts61%28v=vs.90%29.aspx The article suggests that passing by reference actually generates … -
Began Watching When does it become more efficient to pass by reference?
I am wondering, when does it become more efficient to pass by value in C#? I was reading this article: http://msdn.microsoft.com/en-us/library/4d43ts61%28v=vs.90%29.aspx The article suggests that passing by reference actually generates …
The End.