1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
#include <iostream>
#include <string>
#include <windows.h>
#include <string.h>
#include <tchar.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
void dharok()
{
int dharok[8] = {4716, 4717, 4718, 4719, 4720, 4721, 4722, 4723}, x=0, y=0;
string Names[4] = {"Dharok's Helm: ", "Dharok's GreatAxe: ", "Dharok's PlateBody: ", "Dharok's PlateLegs: "};
for(int Loop=0;Loop<4;Loop++)
{
cout << Names[x] << dharok[y] << " - Noted: " << dharok[y++] << endl;
x++; y++;
}
}
void god()
{
int Godswords[8] = {11694, 11695, 11696, 11697, 11698, 11699, 11670, 11671}, x=0, y=0;
string Names[4] = {"Armadyl Godsword: ", "Bandos Godsword: ", "Zamorak Godsword: ", "Saradomin Godsword: "};
for(int Loop=0;Loop<4;Loop++)
{
cout << Names[x] << Godswords[y] << " - Noted: " << Godswords[y++] << endl;
x++; y++;
}
}
int main()
{
string ids;
cout << "Search for your item(only currently supports Godswords LOL).\n";
cin >> ids;
cin.ignore();
if (ids == "dharok" || ids == "greataxe") {
dharok();
cin.get();
system("CLS");
main();
}
else if (ids == "godsword" || ids == "god" || ids == "armadyl" || ids == "bandos" || ids == "zamorak" || ids == "saradomin") {
god();
cin.get();
system("CLS");
main();
}
cin.get();
main();
}
|