But try this code out:
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
Type: Posts; User: Flaug
But try this code out:
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
I understand it now, thanks.
It's very useful- I might do that instead.
std::copy().... interesting. It's a bit hard for me to wrap my mind around that though.
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...
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...
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 =...
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...