Jump to content

Alexperson123

Member
  • Posts

    47
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Alexperson123's Achievements

  1. Budget (including currency): US$ 75 Country: Games, programs or workloads that it will be used for: triple A games and programming Other details I need a new PSU as I recently got a 7900xt and I thought my current one would be good enough but when I go to play most games, my PC hard crashes. I just want something cheap that can run my GPU until I can scrape the money up to buy a good quality one. Any all recommendations are greatly appreciated
  2. Just as a test, is there way to essentially underclock the GPU to a place that should make it never spike to a level that would upset my PSU? If there is this should tell me if its my PSU or something else without having to rip apart my system before I have to
  3. That's the most annoying thing, I don't know. I have a non modular PSU and all the labels are on the inside of the case so I'd have to remove the PSU to see and with how short all the cables are, that would require me to unplug most things and I really want to avoid that until it's the last option. I was pretty certain I had either a 700W or 750W PSU though. I was talking to a friend and he's convinced it could be from one of my HDDs. I have 2 well used HDDs in my system that are very slow and those hold all my games (which is the only time it crashes) what do you think the odds are that that's the issue?
  4. So the other day I bought myself the 7900 xt and everything for the most part has been great, but last night I tried playing Shadow of War and the sound to the cutscenes where extremely out of sync. At first I just thought it was a weird glitch with it being an old game and well AMD drivers are just generally buggy. Today is making me think it might be bigger. I was trying to play cyberpunk and as soon as I try to get into actual gameplay my computer hard crashes. No blue screen or anything. My first reaction was my PSU can't handle the card under that load since it is an older PSU and probably doesn't have the wattage it should but what made me start second guessing this was I check event viewer to see of I could find any errors and I found: The AMDRyzenMasterDriverV22 service failed to start due to the following error: The system cannot find the file specified. This error is timestamped right before the crash (it crashed on me 3 times and all 3 times it's there) I scrolled through event viewer and this error has never popped up unless my PC hard crashed. I did a complete system wipe right before installing the GPU and I made sure my PC had the latest drivers installed. Does anyone know what is going on? My specs are: XFX 7900 xt Ryzen 5 5600x ROG Strix B450-F DDR4 32GB 3200Mhz If it matters I'm running dual monitor setup with one being at 1080p and the other is 1440p
  5. Thank you. I did manage to get it to work the way I wanted, but I really appreciate the help and advice with the naming. I thought that naming convention was good but I'll try breaking that habit and find better names
  6. Thank you. After reading what you wrote I was able to make some more progress. I am stuck at another point though. #include <iostream> #include <fstream> using namespace std; void pullData(int* array, int fSIZE); void doubledArray(int* array, int fSIZE, int aSIZE); void arrayPrint(int* array, int fSIZE); void inputCommand(int &userInput); int main(){ int userInput = 51; inputCommand(userInput); const int SIZE = userInput; const int SIZE2 = userInput * 2; int array2[SIZE2]; int array[SIZE]; pullData(array, SIZE); arrayPrint(array, SIZE); cout << endl << endl; doubledArray(array2, SIZE2, SIZE); arrayPrint(array2, SIZE2); return 0; } void pullData(int* array, int fSIZE){ string inFileName = "data.txt"; ifstream inFile; inFile.open(inFileName.c_str()); if(inFile.is_open()){ for(int counter = 0; counter < fSIZE; counter++){ inFile >> array[counter]; } } } void doubledArray(int* array, int fSIZE, int aSIZE){ string inFileName = "data.txt"; ifstream inFile; inFile.open(inFileName.c_str()); if(inFile.is_open()){ for(int counter = 0; counter < aSIZE; counter++){ inFile >> array[counter]; } } for(int counter = 0; counter < fSIZE; counter++){ array[counter] = counter; } } void arrayPrint(int* array, int fSIZE){ for(int counter = 0; counter < fSIZE; counter++){ cout << array[counter] << "\n"; } } void inputCommand(int &userInput){ while(userInput < 0 || userInput > 50){ cout << "Enter a number between 0-50: \n"; cin >> userInput; if(userInput < 0 || userInput > 50){ cout << "Invalid input, please try again.\n\n"; } } } This is what I have now, but when it asks for a number and I type (lets say 5), I want the arrays to print as such: 0 1 2 3 4 0 1 2 3 4 0 0 0 0 0 but I get: 0 1 2 3 4 0 0 0 0 0 0 0 0 0 0 Where am I going wrong?
  7. I have a homework assignment where I need to pull data from a different file and put it in an array, then create another array with double the amount of space and fill in the extra amount with 0's. (I'm technically suppose to do this with pointers but I'm so lost on how to do that, I decided to do it this way until I am getting the right outcome then I'm going to find a way to translate it unless your willing to show me how to now) #include <iostream> #include <fstream> using namespace std; int SIZE = 10; void pullData(int array[], int SIZE){ string inFileName = "data.txt"; ifstream inFile; inFile.open(inFileName.c_str()); if(inFile.is_open()){ for(int counter = 0; counter < SIZE; counter++){ inFile >> array[counter]; } } } void doubledArray(int array[], int SIZE){ string inFileName = "data.txt"; ifstream inFile; inFile.open(inFileName.c_str()); if(inFile.is_open()){ for(int counter = 0; counter < SIZE; counter++){ inFile >> array[counter]; } } SIZE = SIZE * 2; for(int counter = 10; counter < SIZE; counter++){ array[counter] = 0; } } void arrayPrint(int array[], int SIZE){ for(int counter = 0; counter < SIZE; counter++){ cout << array[counter] << "\n"; } } int main(){ int array2[SIZE]; int array[SIZE]; pullData(array, SIZE); arrayPrint(array, SIZE); cout << endl << endl; doubledArray(array2, SIZE); arrayPrint(array2, SIZE); return 0; } I get the outcome: 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 When I want it to be: 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 0 0 0 0 0 0 0 0 0 0 Any help is greatly appreciated
  8. Thank you, This has given me a start. I'm just now struggling with the pointers
  9. I'm just having a hard time understanding what the question is. I was hoping you guys could help pretty much rewrite the problem in a way that makes a bit more sense to me I guess
  10. Yes this is a C++ class. I've heard a lot online that my teacher is teaching everything oddly
  11. I am currently in my first C++ class in college. I am struggling to understand what my teacher wants me to do with my assignment and I was hoping someone could help me break it down. Our current chapter is covering pointers and my last one was on arrays, but i think it also wants me to use file streaming but I was completely lost in that chapter. Below here is exactly what was written for my assignment: Write a function that accepts an int array and the arrays’ size arguments. The function should: 1. create a new array that is twice the size of the argument array. 2. copy the contents of the argument array to the new array and initialize the unused elements of the second array with 0. 3. return a pointer to the new array. Demonstrate the function by using it in a main program that reads an integer N (that is not more than 50) from standard input and then reads N integers from a file named data into an array (DO NOT use an absolute path to the data file). The program then passes that array to your array expander function, and displays the values of the new expanded array, one value per line. You may assume that the file data has at least N values. If the integer read in from standard input exceeds 50 or is less than 0 the program terminates with an appropriate message.
  12. I am trying to replace the ram on a laptop I have since I'm getting an error code indicating some of the ram when bad. I have never tried replacing soldered ram and I'm aware of the difficulty, but I was hoping someone knew of a place I can order the parts from within the states
  13. Ok to start off here, this type of repair (appears) to be new territory for me. I am trying to fix this HP Elitebook x360 G2 that I received that won't post. When I power it on the fan starts to spin at full RPM and someone I know said they have seen this happen before if it's having cooling issues and told me to try cleaning the fan and thermal paste and reapplying it which I did and got nothing out of it. I believe there is something wrong with the main board and I am trying to find a schematic and a boardview to figure out what the voltage should be for what and what should or shouldn't be shorted. I'm aware that that's already a very difficult task in of itself, but I gotta learn how to at some point right? I've spent quite some time trying to look and found a couple of sites that have both the schematic and boardviews but not for this computer. Anyone know where I can go to find this or know of other models that have practically the same layout that I can use that instead? If you have other ideas that could fix this I'm all ears. The computer doesn't me any kind of error code either so I'm trying to guess and check. I have a lot of experience in fixing computers but not to this level, I tend to stick to more part replacements and fixing the software side of the computers
  14. Hi, I'm trying to create a display for a ton of monitors I have. I want them all to show the same image but in quadrants, so that the top left screen will only show the top left of the picture and the bottom right screen will only show the bottom right picture. What's the best way to do this that doesn't take a lot of money and hopefully not a ton of system resources to do. Or at the very least what's the formal name of this so I can research this better myself?
  15. heres the card running and seeing what it's being reported as. also all drivers seems to be installing right
×