• Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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.
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    Revoked Solved Status for Roll back a ReadLine in a text file?

    How does one roll back a readline from a text file?
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    Replied To a Post in Difference between returning a pointer and a struct?

    Wait now, how did it get on the heap?
  • Member Avatar for overwraith
    overwraith

    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, …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    Marked Solved Status for Roll back a ReadLine in a text file?

    How does one roll back a readline from a text file?
  • Member Avatar for overwraith
    overwraith

    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.
  • Member Avatar for overwraith
    overwraith

    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.
  • Member Avatar for overwraith
    overwraith

    Created Roll back a ReadLine in a text file?

    How does one roll back a readline from a text file?
  • Member Avatar for overwraith
    overwraith

    Began Watching Roll back a ReadLine in a text file?

    How does one roll back a readline from a text file?
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    Replied To a Post in Passing an interface type by reference?

    That was very helpful, thanks.
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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 …
  • Member Avatar for overwraith
    overwraith

    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.