Search:

Type: Posts; User: matsp

Search: Search took 0.04 seconds.

  1. Replies
    51
    Views
    11,665

    Can I just point out that there are other ways to...

    Can I just point out that there are other ways to create a safety-net than to use C++?

    --
    Mats
  2. Replies
    51
    Views
    11,665

    Yeah, well, I think we'll just agree to disagree...

    Yeah, well, I think we'll just agree to disagree on this one. There are plenty of places where an array is fine.

    A very clear example is a constant array - they are known size at compile-time,...
  3. Replies
    51
    Views
    11,665

    It is VALID, compilable in C and C++ - and don't...

    It is VALID, compilable in C and C++ - and don't tell me that you use vector for every single array that you ever need? There are cases when vector is the right solution, there are others where an...
  4. Replies
    51
    Views
    11,665

    But as mike_g says: There are many, many ways...

    But as mike_g says: There are many, many ways that you can screw up in C++ that won't happen in other languages:


    int i;
    int arr[10];
    for(i = 1; i <= 10; i++) arr[i] = i;

    Just as one...
  5. Replies
    51
    Views
    11,665

    I haven't got Python on this machine, but I...

    I haven't got Python on this machine, but I thought the Python code to do the same as your C++ example would be about the same number of lines.

    --
    Mats
  6. Replies
    51
    Views
    11,665

    But if you get it wrong in Java or Python, there...

    But if you get it wrong in Java or Python, there is (assuming we avoid the bugs in the implementation of the language) a safety-net to catch the user's errors in a way that is normally not available...
  7. Replies
    51
    Views
    11,665

    The basics: A couple of weeks or so. Fully - a...

    The basics: A couple of weeks or so. Fully - a few years or so (assuming you "ever" learn it all).

    Note also that learning a language is generally considered the easy part - learning how to...
  8. Replies
    51
    Views
    11,665

    Almost all games, nowadays, are developed in C++....

    Almost all games, nowadays, are developed in C++.

    To properly learn C++, you will also need to learn C, as 99.9% of all things you can do in C, will work equally well in C++ (of course, purist...
Results 1 to 8 of 8