Name: n00b 2009-01-26 23:37
Is there a way to declare an array in C so the indexing starts at something besides zero? Like if I wanted the array to be a[-10] to a[10] instead of a[0] to a[20]?
#error hiss preprocessor#include <unordered_map>
#include <utility>
#include <vector>
using std::tr1::unordered_map;
using std::pair;
using std::vector;
int main() {
unordered_map<int, int> golfclap;
golfclap[-10] = 9001;
unordered_map<std::string, int> stdclap;
stdclap["AIDS"] = 9001;
unordered_map< vector< pair<string, string> >, pair<int, int> > gagglefuck;
vector< pair<string, string> > bob;
pair<string, string> faggot;
pair<int, int> faggot2;
faggot.first = "dohoho";
faggot.second = "HISS PREPROCESSOR";
faggot2.first = 9001;
faggot2.second = 8001;
bob.push_back(faggot);
gagglefuck[bob] = faggot2;
return 0;
}