Search:

Type: Posts; User: White_Eskimo; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    18,916

    #include #define CUBE(x) (x*x*x) ...

    #include <iostream.h>
    #define CUBE(x) (x*x*x)

    int main (void)
    {
    double x;
    x=2;
    cout << x << " cubed ";
    cout << "is " << CUBE(x);
    }
  2. Replies
    10
    Views
    18,916

    well i dont know what to write my next one...

    well i dont know what to write my next one about...i have already covered pointers and reading/writting to files. Anyways if you have anything that you want to learn, maybe i already know it, just...
  3. Replies
    10
    Views
    18,916

    slatry, thanks for pointing that out...lol i...

    slatry, thanks for pointing that out...lol i meant to type


    const double PI = 3.141592654;


    damn that was an embarrassing mistake...well when you type a tutorial that long you gotta make a...
  4. Replies
    10
    Views
    18,916

    The C/C++ Preprocessor

    Well, it defiently took me a long time to write this tutorial...it covers the preprocessor and what it does and how to use it. Also, this tutorial will cover how to make comments in C++ using...
Results 1 to 4 of 4