Using a loop to create an object and initialize object with file...
I have a pre-lab assignment and I just want to confirm whether I've done this right or not and if I haven't I would appreciate tips and advice on how to fix it here is all we were given for the...
View ArticleMIPS assembly multiplication
mult $t3,$t4 # multiply 32-bit quantities in $t3 and $t4, and store 64-bit # result in special registers Lo and Hi: (Hi,Lo) = $t3 * $t4 So, the result of a multiplication is a 64bit number. Is it...
View ArticleHow to free the unused occupied memory?
I had opened the task manager, watching how the memory usage of my program changes as I work with it - and it was only ever going up. I thought using Dispose() will free up the memory, but apparently...
View ArticleFactorial w/ Exception Handlers [ Please Help ]
Howdy Friends; Here is part one of my two piece assignment for this week. I have posted the instructions and my attempt below. I believe that I have successfully completed sections 1 - 4. However; I am...
View Articlejava fractions
I fixed the errors..etc the program compiles and run but I am not getting the correct out put. It looks like it is not combining the two fractions together because the output only show.. the first...
View ArticleGetting a webpage title using httpwebrequest
Hello everyone, I've been playing with this for a few hours now and haven't gotten any results. I'm trying to use a HttpWebRequest and HttpWebResponse to get what is in between the...
View ArticleQuestion with Java assignment, complies but with logic error.
I have an assignment due in a couple of days and just need help with a small step in the code. My code compiles but there is an error that gives me a false output that should give me a true output....
View Articleproblem with .sdf database
Hello guys. I'll try to explain my problem. I have program where you entering people contacts and storing then into .sdf database. Im inserting some data directly from server explorer and other data...
View ArticleCompiler error and Money class assignment
I keep getting an error in my MoneyDemo class, it reads, "Method checkMoney in class Money cannot be applied to given types; required: no arguments; found int, int; reason:actual and formal argument...
View ArticleI compiled my java program and it won't run the program
I recently made a chatbot and compiled it. I went into the command prompt and tryed to run my program. As a result, i got this error. Can anyone help? The picture of this is error is below. If anyone...
View ArticleIs this CMS approach ok?
I'm making a CMS for my computing project and I am thinking of ways that I can go about coding it. I came up with the idea of each section having its own class and communicating with the database...
View ArticleSecond form item_check event problem.
Hello all, I have two forms.On first form i am listing rooms and second form is for editing room. I am passing Room object from first form to second form. But before second form unload the secondForm...
View ArticlePointers/arrays
I'm trying to go through a text file I'm passing and keep track of it and the frequency it occurs in the 12 number file. The problem I'm running into is at the frequency part. When I compile and run...
View ArticleImage as property in class
Hello, I am trying to set up an image as a property of my "Player" class, just so i can modify any new "Player" i create by its properties. This is kinda the code im using imports system.drawing...
View ArticleSearch for words and change format
So basically i have a file with a lot of names and ages and other unnecessary stuff with this kind of format: Name: Example Age: 20 Hobbies: Blahblah Other stuff: jashdjahsdj And i want to grab the...
View ArticleComparing 2 Rows, Slices
I have a numPy ndarray with the arbitrary values [1,2,3], [4,5,6]. Is there a way to compare "slices" ? For example, I would want to compare 1 to 4 or 2 to 5. I've been tinkering with numpy.max() for a...
View ArticleAn expert to take a look at my java program
I need help to make Each thread will first create an array (size = 30) and populate it with a sequence of numbers ?? I need to create three threads which i showed here and trying to connect in some...
View Articleproblems while opening visual studio project damaged file
hi, maybe it is not the proper place to ask this question but maybe you got into this situation before and yoy can help me i wuold be very grateful. i am getting a strange problem tonight, i try to...
View ArticleGetting a String from a TreeView
Hello, I have been trying some code on how to get a String from a TreeView. The String would have all The TreeNodes with a "\n" in between each one. It is irrelevant which order the TreeNodes are in....
View ArticleReversing a string
class Stack: def __init__(self): self.items=[] def isEmpty(self): return self.items==[] def push(self,item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return...
View Article