1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Programming Classes

Discussion in 'Site Discussion' started by mckill2009, Jul 26, 2013.

  1. busterkomo

    busterkomo

    Joined:
    Jun 17, 2007
    Messages:
    1,423
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Programming and computer science are not synonymous.
     
  2. Rui

    Rui

    Joined:
    Jan 7, 2005
    Messages:
    8,502
    Resources:
    8
    Maps:
    8
    Resources:
    8
    Sometimes it seems like they are, that's why I'm so sad with my uni courses. =<

    Thanks BlinkBoy!
     
  3. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,802
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    To some extent. Although not all computer science is programming, most programming is computer science.

    Effective programming is a summation of everything from management processes to understanding how computer hardware works.
     
  4. MasterTrainer

    MasterTrainer

    Joined:
    Apr 14, 2012
    Messages:
    2,768
    Resources:
    3
    Icons:
    1
    Maps:
    1
    Spells:
    1
    Resources:
    3
    Is anyone interested in making one? (A class)
     
  5. mckill2009

    mckill2009

    Joined:
    Mar 10, 2009
    Messages:
    4,696
    Resources:
    34
    Maps:
    5
    Spells:
    27
    JASS:
    2
    Resources:
    34
    Sorry kid, ever since I opened this thread, none is interested, so better move on :D...
     
  6. Xonok

    Xonok

    Joined:
    Mar 27, 2012
    Messages:
    3,042
    Resources:
    8
    Spells:
    3
    Tutorials:
    5
    Resources:
    8
  7. Magtheridon96

    Magtheridon96

    Joined:
    Dec 12, 2008
    Messages:
    6,006
    Resources:
    26
    Maps:
    1
    Spells:
    8
    Tutorials:
    7
    JASS:
    10
    Resources:
    26
    I wouldn't use LearnCPP if I were you. It makes no mention of smart pointers, even in the C++11 introduction at the end. Consequently, it encourages allowing raw pointers to own memory, which makes C++ code much more prone to human error and it makes the programmer responsible for abiding by things such as the Rule of 3 and the Rule of 5. I follow Rule of 0. If you can't or don't, you're likely doing something wrong.

    However, a lot of the other stuff is mostly sound on LearnCPP. You can use CPPReference for brief information and documentation on a lot of C++ functions and classes. It's the best and most accurate reference for C++ around, seriously.
     
  8. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,802
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    There is nothing wrong with using standard C pointers as long as you know what you are doing.
     
  9. Xonok

    Xonok

    Joined:
    Mar 27, 2012
    Messages:
    3,042
    Resources:
    8
    Spells:
    3
    Tutorials:
    5
    Resources:
    8
    I think I just saw something like smart pointers. Although it wasn't under that name.
     
  10. Magtheridon96

    Magtheridon96

    Joined:
    Dec 12, 2008
    Messages:
    6,006
    Resources:
    26
    Maps:
    1
    Spells:
    8
    Tutorials:
    7
    JASS:
    10
    Resources:
    26
    Of course~
    On large scale projects, that is, hundreds of source files and tens to hundreds of thousands or even millions of lines of code, you'd want to use smart pointers to manage memory though.
    This way, you can cut down on user defined copy constructors and user defined move constructors and all that shit because a lot of your classes wouldn't need to have them anymore.
     
  11. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,802
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    That is if you have access/resources for dynamic memory and are not programming an embedded device.
     
  12. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,693
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    I would gladly pick up some c# tricks if this class stats. However only tutorials or books wont learn you a language you need to have someone to ask when you learn into problems.
     
  13. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,842
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    Also referred to as a search engine.
     
  14. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,693
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    I didnt say it was impossible or something just pointing out.
     
  15. eubz

    eubz

    Map Reviewer

    Joined:
    Mar 29, 2011
    Messages:
    3,177
    Resources:
    135
    Models:
    77
    Icons:
    16
    Packs:
    1
    Tools:
    1
    Maps:
    26
    Spells:
    7
    Tutorials:
    7
    Resources:
    135
    What does "C" stand for in C++? Just, you know, curious.
     
  16. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,842
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
  17. Arhowk

    Arhowk

    Joined:
    Aug 8, 2007
    Messages:
    2,752
    Resources:
    0
    Resources:
    0
    because the first two were "A" and "B" :p
     
  18. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    I'm curious as to why you didn't ask what C stands for in C... hahahaha