I need to understand C++?

  • NF
    21st Nov 2012 Member 0 Permalink

    before, i make the mod can anyone help me understand it.

  • MasterMind555
    21st Nov 2012 Member 0 Permalink

    @NUCLEAR_FOX (View Post)

     You only need to know Lua if you make a Lua 'mod', which is a lot simpler.

     

    If you really want to make a C++ mod, then just Google for video tutorials/guides/references. Learning it yourself is way better then waiting on someone to teach you a bit of C++ when you both have free time. 

     

    Asking questions and getting your code inspected is a great way to improve after you've done what you can do yourself.

  • NF
    21st Nov 2012 Member 0 Permalink

    #include <RADI>
    #include <CRYS>

  • boxmein
    21st Nov 2012 Former Staff 0 Permalink
    @NUCLEAR_FOX (View Post)

    @NUCLEAR_FOX (View Post)
    This isn't C++, it's the C preprocessor asking to include two headers which most likely don't exist on your machine. :(
    You will be TONS easier off making a lua mod. The new APIs are super powerful - check them out!
    http://tpt.io/:14540
    https://powdertoy.co.uk/Wiki/W/Powder_Toy_Lua_API.html
  • NF
    22nd Nov 2012 Member 0 Permalink

    Ok i'll test those API'S

  • nmd
    22nd Nov 2012 Member 0 Permalink

    @NUCLEAR_FOX (View Post)

     Have you coded in other languages before? Because certain things (like for loops and if statements) are similar across multiple programming languages.

    If not, if you want to be really serious about coding, buy a book. it helps a lot.

     

    I can give you this to get you started, but you need a compiler to see the result:

    #include <iostream> //imports iostream. Very important
    using namespace std; //begins your program
    
    int main () //this is your main function. You code inside it
    {
      cout << "Hello World!";  //This is how you tell the computer to display something. Don't forget the quotes
      return 0; //tells the computer to stop the program
    } //You can take it from here NUCLEAR_FOX. 
  • NF
    22nd Nov 2012 Member 0 Permalink

    Ok thank's where there i go to download this? Yes i have read a book on programming but it did not turn out as easy so i'll watch a video on it btw thanks for the tips guys.