Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,142 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Liamardo

Random Programming Questions

Recommended Posts

K^2

The problem with game developers (having been one myself) is that they use MS Visual Studio. Often not by choice, because you pretty much have to for XBox development, and supporting multiple dialects at once is problematic. Unfortunately, C++ features are added to MSVS sluggishly. It's better than it used to be, but MSVS 2015 still doesn't support about half of the C++14 features. Although, to their credit, they have dropped support for trigraphs as far back as 2013, and that's a C++17 feature. (This was sarcasm, by the way.)

 

Worse yet, because games take a while to develop, and Microsoft is very bad at backwards compatibility, game developers very frequently aren't using the latest version of Visual Studio. Last studio I've worked at only switched to MSVS 2012 last year, and they were basically forced into that version by XBOne development. Up to that point, studio was using 2010, which has actual compiler bugs that aren't being fixed by MS because the version is no longer supported. So they had to switch from one outdated version to another, encountering new unsupported compiler bugs along the way, some of which I had to fix personally.

 

So the problem really isn't with the language so much as with the tools available to game developers for that language. That's not to say that C++ is perfect. But right now, I work at a company that's all C++14 under clang. Between new language features, clang's helpful error messages, and tools like clang-format, it's a completely different work process. I hope, game developers working exclusively on PS4 titles are making the best of this as well.

Share this post


Link to post
Share on other sites
SeroH

I have a question about a PHP:

 

In a combo box connected with MYSQL, I use a while to pick the data from a column, but I wonder how much data can pick the "while"? If I have a table with +100 data, the while will pick all the data and print on the combo box or pick less?

 

Sorry for my english...

Share this post


Link to post
Share on other sites
K^2

Depending on exact implementation of the SQL DB, there can be a limit to how many rows you can fetch with a single SELECT statement. As far as I know, MySQL will let you iterate through as many as the DB will provide, memory limitations notwithstanding.

 

With big data sets, it is sometimes desirable to set a limit to how many rows you fetch.

 

SELECT * FROM table_name LIMIT 1000;
will return the first 1000 rows. You can combine it with WHERE and some index to break up data into pages. This is often done to reduce memory requirements and to otherwise improve performance.

 

However, 100+ rows are usually no problem to get in one query. You only really start having to think about it at 1000+ mark.

Share this post


Link to post
Share on other sites
Star-Lord

Need some advice A.S.A.P please on how to implement Parse on Android to push notifications? Working on my own app.

T.I.A. and appreciate the help.

Share this post


Link to post
Share on other sites
trip

Are you trying to parse something from xml or json and fire off a notification? Or is Parse some android package that has passed me by since it's been years since I've written for android.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.