Jump to content

Vriff

Members
  • Posts

    254
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Vriff

  1. This is completely silly, just use the console to add experience or give handmaiden robes. It's incredible what people will bitch about. "ohh wah wah I can't spend more time doing something repetitive to gain that could be done in less than a second".
  2. Couldn't you...just use the cheat console?..
  3. So I decided to do the phonebook thing in c++. This reads a file, stores it, sorts it, and then writes it. I have my own implementation for sort, but for readability I have used the STL sort in what I'm posting here. I also need to clean up the output using iomanip, but this is fine. Searching to find a name is just implementing a custom find(), wouldn't be difficult but I didn't include it. #include <iostream> #include <vector> #include <istream> #include <fstream> #include <ostream> #include <iomanip> #include <algorithm> using namespace std; class record { public: record() {} bool operator<(const record &)const; friend istream& operator>>(istream &, record &); friend ostream& operator<<(ostream &, const record &); // friend declarations private: string firstname; string lastname; string phonenum; }; bool record::operator<(const record & values)const{ if (lastname < values.lastname) return true; if(lastname == values.lastname && firstname < values.firstname) return true; } istream & operator>>(istream &in, record & values){ in >> values.firstname >> values.lastname >> values.phonenum; } ostream & operator<<(ostream &out, const record & values){ out << left << values.lastname << " " << values.firstname << " " << values.phonenum; } int main(int argc, char *argv[]) { string line, firstname, lastname, phonenum; record values; vector<record> A; if(argc < 2){ cerr << "Incorrect usage, please try again at a later time. Optionally, do not try again and go directly to ja\ il. Do not pass go, do not collect 200 dollars." << endl; // parse command-line arguments } ifstream in(argv[1]); // open file while(in >> values){ A.push_back(values); } in.close(); // close file sort(A.begin(), A.end()); // sort data for(int i = 0; i < A.size(); i++){ cout << A[i] << endl; // write data to stdout { array index [] based } } }
  4. http://projecteuler.net/problems Is a great way to learn new languages, challenge yourself to solve all the problems in the new language you're learning.
  5. Pretty much, not just Perl though, influenced heavily by C also.
  6. I've written similar programs and it definitely looks less syntax-heavy than C++, interesting.
  7. I know C++ & C, so I'd be interested seeing some real functional C# code, I don't have much practical coding experience, just academically.
  8. Will your tools be open source?
  9. What language(s) will you be writing your tools in?
  10. Beautiful textures, keep up the good work man. The way this looks it'll be one of those "forever" mods that you just can't play TSL without.
  11. This is the options on the $799 AMD custom desktop. Final cost is $986, you could actually upgrade the CPU a bit and do deferred shipping (Won't get here until after Christmas) and get it for $2 cheaper with a better CPU, lol. Note: Some of these are sales so I'm not sure if they'll still be on sale whenever. (Ugh, the forum is seriously breaking the formatting.) Case 1 x ARC 647 Gaming Case - Black Processor 1 x AMD FX-8320 CPU (8x 3.50GHz/8MB L3 Cache) Processor Cooling 1 x Liquid CPU Cooling System [AMD] - Standard 120mm Fan Memory 1 x 8 GB [4 GB X2] DDR3-1600 Memory Module - Corsair or Major Brand Video Card 1 x AMD Radeon R9 270X 2GB - Single Card Motherboard 1 x ASUS M5A97 R2.0 -- AMD 970 Power Supply 1 x 500 Watt - Corsair CX500 V2 - 80 PLUS Bronze Primary Hard Drive 1 x 1 TB HARD DRIVE -- 32M Cache, 7200 RPM, 6.0Gb/s - Single Drive Optical Drive 1 x 24x Dual Format/Double Layer DVD±R/±RW + CD-R/RW Drive - Black Sound Card 1 x 3D Premium Surround Sound Onboard Network Card 1 x Onboard LAN Network (Gb or 10/100) Operating System 1 x Microsoft Windows 7 Home Premium + Office Starter 2010 (Includes basic versions of Word and Excel) - 64-Bit Keyboard 1 x iBUYPOWER Standard Gaming Keyboard Mouse 1 x iBUYPOWER Standard Gaming Mouse Warranty 1 x 3 Year Standard Warranty Service Rush Service 1 x No Rush Service - Do Not Guarantee Christmas Delivery
  12. I would recommend ibuypower.com if you don't want to build one yourself, but would still like to control the parts going into it. and as I said earlier, and will continue to say, there's not really a difference between Windows 7 and Windows 8/8.1 after a google search and a few tweaks it looks and functions the same. It is faster, afterall. My self build, for reference's sake: CPU: i7 4770k Intel RAM: 16 GB Vengeance Corsair DDR3 Primary Storage/OS Drive: 250GB Intel 530 SSD Secondary Storage: 2TB Seagate Barrucuda Motherboard: Gigabyte GA-Z87X-UD4H ATX LGA1150 GPU: Radeon R9 280X Other:....unimportant stuff like blu-ray, fans, card readers, etc etc OS(es):Windows 8.1/Arch (Linux Distro) It all depends on budget, if we knew your's it would probably help in finding a computer.
  13. Windows 8 is faster than Win7, and you can make it almost exactly like Win7. Do you have a budget for the system?
  14. That GPU will not be able run SWTOR without it looking like a powerpoint presentation, unless you have it in all the lowest settings, then it will still look crappy. Remember that SWTOR is truly horribly optimized. but it looks like an okay AMD build, but you may want to go with a bit better of a GPU, if money is an issue, choose AMD on your GPU also.
  15. It's a good place to mirror your mods, and it's a really popular site, so there's a chance of it bringining new modders and players to KOTOR and TSL.
  16. Amazing, the exile has ascended to a higher form, he has became one with his light sabers he now has.....lightfingers.
  17. Love it, love it, love it. Marble and red velvet for some reason always comes to mind when I think of Coruscant, now just if Sithspecter's Coruscant exterior was in working condition we'd have a worthy Coruscant planet! The first thought that came to mind about the statue being in the way would be to have the masters on a higher plane (which imo would make more sense anyway, what with them arrogantly believing that they have the moral high ground, and it would give it more of a feeling of a trial, but I'm going to take a guess that it's probably impossible lol.
  18. Mass Effect - As far as I'm concerned, this is the only Mass Effect game. KOTOR 2 Morrowind
  19. Some things are not meant to be restored. Everything looks good here, Kainzor. I really like you're addressing the duplicates everywhere.
  20. We've pulled level 50s through, but if you want to contribute, anything between 61s-66s would be fine lol.
  21. Well, SH, you're on JC, right? I'm sure if you wanted to that we could take you through TFB or S&V Storymode.
  22. Not sure how many of you do operations, but for those interested here's a twitch of my guild downing 2 bosses in NiM TFB. http://www.twitch.tv/araulos/b/459091894 Anyone else have some ops videos around here?
  23. So you two do nightmare modes? That's impressive, what guild are you with? Also, I saw Hassat post on the SWTOR forums before, so you've had to be a subscriber at one point, lol.
  24. By NM I'm guessing you mean normal mode? There are never any ops passes on the GTN on JC, they popped up for a bit after that bundle went up, but they've dried up here.
  25. I'm not talking about flashpoints, I'm talking about Hard and Nightmare Mode operations.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.