Search:

Type: Posts; User: cozman

Page 1 of 17 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    18
    Views
    5,334

    I think that trying to make too many improvments...

    I think that trying to make too many improvments to C++ instead of just changing languages will end up speeding up the shift away from C++. If the C++ committee decided that Java was gaining ground...
  2. Replies
    11
    Views
    2,611

    Just because iostream.h will work does not mean...

    Just because iostream.h will work does not mean you should use it. When the h was removed from header files, the standard library was moved inside the std namespace.

    using namespace std;...
  3. Replies
    32
    Views
    3,687

    Guess we may as well start posting them :) ...

    Guess we may as well start posting them :)



    void box(int n)
    {
    for(int i=0; i < n; ++i)
    {
    for(int j=n; j > 0; --j)
    {
  4. Replies
    32
    Views
    3,687

    Has anybody done it using only loops & cout? ...

    Has anybody done it using only loops & cout?

    400!
  5. Replies
    18
    Views
    5,334

    This is untrue, there is a C++ board that decides...

    This is untrue, there is a C++ board that decides on the new standards.

    The next standard is being discussed right now, I heard 2005 is the year when we'll start to see likely changes, but my bet...
  6. Replies
    32
    Views
    3,687

    Are you using math to determine if a -1, 0, or 1...

    Are you using math to determine if a -1, 0, or 1 should be output, or are you using if statements. I took no-loops to mean no-if statements, and wrote it using abs().
  7. Replies
    8
    Views
    1,195

    This is overloading, not polymorphism. The...

    This is overloading, not polymorphism. The compiler can tell which version to call from the parameter types. Think of it like it is generating internally 2 functions Double_int and Double_long...
  8. Replies
    11
    Views
    2,611

    For standard headers, the correct method is to...

    For standard headers, the correct method is to use the #include <whatever> style. Also the C++ standard headers no longer have .h at the end of them, people using iostream.h are now officially...
  9. Replies
    32
    Views
    3,687

    There is no need for an array.. simple output...

    There is no need for an array.. simple output sufficed fine.

    btw, when he says just loops.. what is he excluding? I wrote a version using 1 c library function & 2 for loops.
  10. Replies
    6
    Views
    3,397

    I once read that an array w/ dimensions > 2...

    I once read that an array w/ dimensions > 2 should be avoided, and an array w/ dimensions > 3 is an example of bad coding. I dont think I agree that it's really bad coding, but then again.. I've...
  11. Replies
    8
    Views
    5,536

    keep an eye on those credit cards.. they may...

    keep an eye on those credit cards.. they may claim it's being denied but then be stealing the #s.. Paranoid? probably, but it just seems a little shady.
  12. Replies
    6
    Views
    1,897

    Thanks that's just what I'm looking for.

    Thanks that's just what I'm looking for.
  13. Replies
    6
    Views
    1,897

    Thanks for the link, I'll check that out. are you...

    Thanks for the link, I'll check that out. are you saying 1-2 gigs for a swap disk for Partition Magic or just a standard swap disk? (I already have a swap disk and everything runs great.)
  14. Replies
    6
    Views
    1,897

    Hard Drive Partitioning

    I have a 120GB HD and I initially created a 40gb Windows parition and a 20gb Redhat partition, leaving 60gb available for future expansion. I am getting a TV card and preparing a DVR so I'd like to...
  15. Replies
    8
    Views
    8,146

    the if statement itself won't slow you down.....

    the if statement itself won't slow you down.. it's technically what you're testing that will slow you down.. minimize the needed tests and you should be fine. If statements are never the bottleneck...
  16. Replies
    4
    Views
    2,694

    Hey any idea what the upgrade cost will be? I...

    Hey any idea what the upgrade cost will be? I spent half an hour on Microsoft.com reading about features, and why I should get it, etc.. but I couldn't find any upgrade info.
  17. Replies
    32
    Views
    7,098

    Mozilla is a great browser, and has some little...

    Mozilla is a great browser, and has some little things that people ignore yet they are still great. Tabbed browsing (if you have a middle button/wheel) go into options and look for "middle-click...
  18. Replies
    16
    Views
    3,474

    Using rectangle for enemies is rather common, for...

    Using rectangle for enemies is rather common, for a level I'd design a "map" format that'd look like this.



    o XXX X
    XXXXXXXXX X
    XXXXXXXXX XX

    o = the player
    X = the level itself...
  19. Replies
    4
    Views
    2,694

    I'm aware that there is more, I'm looking for...

    I'm aware that there is more, I'm looking for tutorials on it.. all the .NET stuff out there seems to be VB.net or C#.net.. I'm wondering if a lot of people use C++.net and if so where there are...
  20. Replies
    16
    Views
    3,474

    Yes, if you organize your code so that everything...

    Yes, if you organize your code so that everything has a rectangle that it's inside you could test your scenario in one check.
  21. Replies
    16
    Views
    3,474

    You could do this a few ways.. a) Rectangle...

    You could do this a few ways..

    a) Rectangle based collision: each object has a rectangle associated with it, and you check if the rectangles are colliding using pretty simple math.
    b) Array...
  22. Thread: Memory Resident

    by cozman
    Replies
    2
    Views
    1,982

    There was just an article on GameDev about...

    There was just an article on GameDev about services, maybe it will help
    http://gamedev.net/reference/articles/article1899.asp
  23. Replies
    4
    Views
    2,694

    .NET and all that Jazz

    So I'm bored and feel like learning a new language or API or something soon. I have VC++.net and I don't feel like buying a new compiler, so is anybody using "Managed C++" and if so are there any...
  24. Thread: Old regulars

    by cozman
    Replies
    107
    Views
    21,620

    I'm here, just not that much, I read more than I...

    I'm here, just not that much, I read more than I post, I'm busy when all the questions are asked it seems so when I get here everything I could answer is taken care of.
  25. Replies
    94
    Views
    14,006

    http://conceptofzero.net/james/viris01.jpg My...

    http://conceptofzero.net/james/viris01.jpg

    My tetris clone, I hate the art (if anybody feels like donating some time i'd be thankful ;) ) The blocks become "infected" by a virus. In this shot I...
Results 1 to 25 of 406
Page 1 of 17 1 2 3 4