Skip to content
View in the app

A better way to browse. Learn more.

The Armory

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PUNISHER

Armory Member
  • Joined

  • Last visited

Everything posted by PUNISHER

  1. no one knows where I can check my memory for errors?
  2. My brother is going to put in a FX5200 later to see if that works.I never had any problems with that card but with my 5900XT diablo2 crashes, doom 3 crashes, and Far Cry messes up.Don't really know though...
  3. With CS:source I freeze with a memory error, alot of people get this error with source, my RAM checks out ok though.Doom3 crashes to desktop with no error message...I really have no idea what to do.Can someone post a link to another ram checker?
  4. hehe thanks Arnie.When I turn the graphics all the way up I crash while I'm stil at the start-up screen.When I turn them all the way down I can play for while before it crashes.Why would this be?
  5. P4 2.6 800FSBgfx 5900XT512 DDR400game crashes to desktop or freezes with no errros! :twisted: It does the same thing with doom3. I swear to god computers don't like me.
  6. oh my, freezes just like CS:source does for me.I've tried everything...
  7. 5 bucks says wellsy breaks down and gets it!
  8. mine is unlocking now...sigh
  9. Agreed Cow, that cycle is king!
  10. LOL , I could piss off AZN so bad right now!
  11. jesus, I thought I had a bad day.
  12. Right now I'm racking my brain on getting either a new gun or a new comp.If I get a comp I'll spend about $1000 even but a new gun would only cost me $800-1000.Hmm the possibilities...I am ordering another stick of Corsair DDR400 tomorrow though : )about $80 bucks from newegg i think.
  13. here is problem:All input lines except the first line contain a 9-digit student ID number followed by one blankfollowed by their letter answers to the questions. The first line of input contains a dummy studentID, a blank space and then the answer key. For example,000000000 ABCDABCDABCD123123123 ABDCABACDDAD143434193 BACDACDABACD323737347 B A D D AAAAIn this example, there were 12 test questions. Please allow for up to 100 test questions.All answers will be in uppercase letters. Please note that students sometimes fail to answer aquestion. Their corresponding letter is a blank. This means you must use the get() function toretrieve each letter (or blank).After inputting the dummy ID number and using get() to retrieve the blank, make a loopto input each letter answer key and store it in an array called answer_key. You need only thisONE array in this problem. The bounds of the answer_key array should be 100. However, youmust know how many answers there really are on this particular test. Thus, continue inputtinganswer characters and storing them into the array until you input a \n, the new line code. At thispoint, you know the number of questions and their answers.Now write a loop that goes until the end of the file is reached. Input the student IDnumber (nine digits long) and then write a loop to input their answers. Since you now know howmany questions there are, you can use a for loop. As an answer comes in, compare it to thecorrect answer letter and accumulate totals of correct answers for that student. After inputting allthe student answers, print on line that contains the student ID number followed by the percentcorrect answers. (Remember when converting into a percentage, to multiply by 100 before youdivide.)Finally, when the end of the file is reached, print the average percentage correct found bytotaling the individual percent correct scores and dividing by the number of students. Your outputshould look something like:STUDENT PERCENTID CORRECTxxxxxxxxx xxx.xxxxxxxxxxx xxx.xxxxxxxxxxx xxx.xxAVERAGE xxx.xxTest your program with the 2 provided test files, TestGrading1.txt and TestGrading2.txt.-------------------------------------------here is what I have:#include <iostream>#include <fstream>#include <iomanip>#include <cmath>using namespace std;const int QUESTIONS = 100;int main () {cout.setf (ios::fixed, ios::floatfield);cout.setf (ios::showpoint); ifstream testData ("TESTGRADE.TXT"); char answer_key[QUESTIONS], answer; double percent = 0, numQuestions = 0, grandScore = 0, grandQuestions = 0, grandPercent = 0; int count = 0, score = 0; long id = 0; if (!testData) { cerr << "Error opening file\n"; return 1; }cout << " STUDENT PERCENT\n" << " ID CORRECT\n"; testData >> id; testData.get (); while (testData.get(answer_key[count]) && (answer_key[count] != '\n') && (count++ < QUESTIONS)); numQuestions = count; grandQuestions += numQuestions; count = 0; while (testData) { testData >> id; testData.get (); while (count < numQuestions) { testData.get (answer); if (isalpha (answer) && answer_key[count] == answer) { ++score; } ++count; } percent = score / numQuestions * 100; grandScore += score; cout << id << setprecision(2) << setw(8) << percent << endl; count = 0; score = 0; }grandPercent = grandScore / grandQuestions * 10;cout << endl << "AVERAGE" << setprecision(2) << setw(10) << grandPercent << endl; return 0;} ------------------------------------- Here is test data: 0 ABCDEEDCBAACEECABDDB333450001 ABADEEDABAAAEEAABDDB333450002 EBCDEEDCBAACEECABDDB333450003 AA AAAAAAAAAAAAAAAAA333450004 ABCDEEDCBAACEECABDDB333450005 BBCD BDCBBBCBBCBBDDB333450006 EBCDEEDCBAACEECABDDE333450007 ABCDEEDCBAACEECABDDB333450008 CCACCCCACCCACCACCCC 333450009 EEEEEDCBAACEECABDDB333450010 ABCDEEDCBAACEECABCCC---------------------------------------------------My program outputs all 10 id's and scores correctly but it reinputs the 10th id and displays garbage numbers like this: STUDENT PERCENT ID CORRECT333450001 80.00333450002 95.00333450003 20.00333450004 100.00333450005 60.00333450006 90.00333450007 100.00333450008 0.00333450009 80.00333450010 85.00333450010 20.00 <-- this line shouldn't be hereAVERAGE 73.00Press any key to continue-------------------------------------Can somebody tell me whats going on?
  14. I hope Halo 2 for the pc will be amped up a bit.A PC should be able to handle a lil more than an x-box dont ya think?
  15. PUNISHER replied to Kol Klink's topic in Main Hall
    Take m82 and cap legs.I never use it anymore cause I can't stand it but...92f my favorite weapon, when things are going good it can hold its own in most situations, even sniping.
  16. No Cow, I'm tired of no regWhen i shoot some guy for 2 years, 6 weeks, 5 days, 15 mins, and 27 seconds and nothing happens i get pissed and start complaining which isn't good of me.--------------------------------My brother messed with some net settings and I believe that caused the problem but I'm not sure.I just good extremely annoyed because 1 map its fine and the next I can't do anything...I'm not quitting btwsigh...
  17. FA is my favorite game but its being evil to me again. For some reason I'm getting packet loss and warp which makes bullet register really bad.I've tried all the settings and nothing worked so I'm saying good bye for a while.have fun and happy fraggin'
  18. sweet.Welcome Phrogg.may the war of the svd begin
  19. PUNISHER replied to Paradigm's topic in Main Hall
    did we have a match or scrim or something?
  20. Don't know if I should laugh or cry after reading this.9 years is more than some murderers/rapists get...
  21. Thats because it was a hack pic
  22. I read on the FA forums that 3.0 will fix the shotty damage(increase it).Also, the m82 shouldn't fire accurately when standing. Even with the massive recoil it would stil be easy to plant 2 slugs in someone.
  23. I understand what G and AZN are saying but the m82 is supposed to be a defensive weapon not a weapon that fulfils all the roles.
  24. agreed, after 3 skills the famas and m4 are pretty even

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.