Search:

Type: Posts; User: Flaug

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    25,677

    But try this code out: #include ...

    But try this code out:



    #include <iostream>
    #include <string>
    #include <algorithm>

    using namespace std;
  2. Replies
    24
    Views
    25,677

    I understand it now, thanks. It's very useful- I...

    I understand it now, thanks.
    It's very useful- I might do that instead.
  3. Replies
    24
    Views
    25,677

    std::copy().... interesting. It's a bit hard for...

    std::copy().... interesting. It's a bit hard for me to wrap my mind around that though.
  4. Replies
    24
    Views
    25,677

    Well the actual code that I put into the program...

    Well the actual code that I put into the program I'm working on looks like this:



    const int width = 800;
    double points[width][5]; //Active; Start Pos; End Pos; Y Pos1; Y Pos2
    double midpoint...
  5. Replies
    24
    Views
    25,677

    Thanks for all the help! So would this be...

    Thanks for all the help!

    So would this be correct (I know it works, but is there anything I could do better?):



    const int length = 6;
    char temp[length] = {'a','b','c','d','e','f'};
    for(int...
  6. Replies
    24
    Views
    25,677

    (Reply)

    Thanks for the reply!
    This actually looks incredibly simple now...

    So basically you do this:

    (Sorry if there are errors, I wrote this in lua and converted it to C++)


    char temp =...
  7. Replies
    24
    Views
    25,677

    Array Shifting C++

    Hello,
    I'm having a bit of trouble shifting my arrays.
    I need to move everything in an array to the right one. The last part of an array doesn't need to be carried over to the front... it can be...
Results 1 to 7 of 7