Search:

Type: Posts; User: Syneris

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: new Struct?

    by Syneris
    Replies
    11
    Views
    11,194

    Most the people i've been talking to are...

    Most the people i've been talking to are surprised that structs are value types created on the stack. However, they still insist that more memory is allocated each time new is used and that the GC...
  2. Thread: new Struct?

    by Syneris
    Replies
    11
    Views
    11,194

    Is there a way to show that it does this? I have...

    Is there a way to show that it does this? I have VS 2008 pro, VS 2010 ultimate, and various VS team editions available to me.
  3. Thread: new Struct?

    by Syneris
    Replies
    11
    Views
    11,194

    new Struct?

    I was in a discussion about using new on structs and no one was able to be exactly sure what happens. What does it do? Does it allocate a new block of memory every time you call new on an existing...
  4. Replies
    4
    Views
    786

    Wont he need to declare a variable of BaseList...

    Wont he need to declare a variable of BaseList type?
    BaseList MyList;Then use Mylist
    Mylist.pushback(createABaseObject());

    EDIT: oops, and like anon mentions, you'll need an instance of base to...
  5. Replies
    10
    Views
    6,547

    topic is 2 years old.

    topic is 2 years old.
  6. Replies
    7
    Views
    829

    hopefully, choice2 is an int. void Shop();...

    hopefully, choice2 is an int.
    void Shop(); ...Can you do that there?
  7. Replies
    5
    Views
    1,132

    How much different is this than the PhysX card?...

    How much different is this than the PhysX card? Or better yet, How much potential could this have used in conjunction with a PhysX card?
  8. Replies
    5
    Views
    1,406

    Anti-Piracy Company Links to Piracy Site

    After an immensly successful launch of Stardock's new game, Galactic Civilizations 2, someone posted on Starforce's forums about how the game was a hit without having any copy protection on it's CDs....
  9. Replies
    28
    Views
    1,680

    Newline...

    Newline

    And there is a problem with your dataOK in // Testing section for services
    I could enter any invalid answer for the first 2 questions. If I answer yes to the 3rd then the bill would be...
  10. Replies
    18
    Views
    10,918

    @Magos: Try running your test using a struct or...

    @Magos: Try running your test using a struct or class and see how the results come out. Also, what libs does your code need? I'm getting linker errors when compiling it in VC++ 2005
    For an unknown...
  11. Replies
    28
    Views
    1,680

    look at // Testing section for services and see...

    look at // Testing section for services
    and see what is different in // Assigning values to billing
  12. Replies
    19
    Views
    2,412

    I think it's EFI, and Vista is supposed to...

    I think it's EFI, and Vista is supposed to support it. If Vista can run on a Mactel, then Microsoft just expanded it's consumer market.
  13. Thread: Circular array

    by Syneris
    Replies
    5
    Views
    1,655

    If for some reason you don't want to use an STL...

    If for some reason you don't want to use an STL container, you need to know the size of the array. Instead of count+front, you do back-count(and also -1 if count isn't 0 based like arrays are).
  14. Replies
    19
    Views
    2,412

    I did some searching about this and it seems that...

    I did some searching about this and it seems that Vista might be able to run on a Mactel (that's what it seems they will be called), but Mac has no intention of designing their OS to work on a...
  15. Replies
    11
    Views
    1,135

    I'd so tearup that car ;)

    I'd so tearup that car ;)
  16. Replies
    28
    Views
    1,680

    if (dataOK)

    if (dataOK)
  17. Replies
    19
    Views
    2,412

    Intel on a Mac?

    I don't get it. Aren't the instructions different?
  18. But wouldn't a vector of pointers to a class run...

    But wouldn't a vector of pointers to a class run much faster than a vector of the class. For some situations this probably isn't correct, but if the vector is very large, the class is large, and the...
  19. Replies
    14
    Views
    1,496

    the PSDK comes with the OpenGL SDK?

    the PSDK comes with the OpenGL SDK?
  20. Replies
    29
    Views
    4,240

    can you use setprecision...

    can you use setprecision
  21. Replies
    5
    Views
    897

    periods aren't valid in #ifndef and #define,...

    periods aren't valid in #ifndef and #define, that's why _ is used. Besides that, I added the std namespace to the needed variables in the header. Using VC++ 2005 express starting with an empty...
  22. Replies
    5
    Views
    897

    looks mostly correct, minus a few typos. Headers...

    looks mostly correct, minus a few typos. Headers usually start with #ifndef, then a #define, and end with #endif to prevent things from being included more than once. So for your example big.h would...
  23. Replies
    5
    Views
    650

    you could move the vector to count. Each line...

    you could move the vector to count. Each line read in by getline could be added to the vector. If you need to edit the strings inside random, you could pass the vector by reference, or const...
  24. Replies
    5
    Views
    650

    getline's default delimiter is a newline. it will...

    getline's default delimiter is a newline. it will read up to the newline and put all that into the string. getline also removes the newline from the stream, so it will not showup in your string. Also...
  25. Replies
    3
    Views
    968

    If you are writing the client then you should...

    If you are writing the client then you should have control of it.
    If not, Many telnet programs seperate input and output into different sections. Telnet.exe is really a horrible app and many free...
Results 1 to 25 of 203
Page 1 of 9 1 2 3 4