- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
15 Posted Topics
Hi, I am trying to create a method to check if a binary tree is an AVL tree without using the height method of the author's binary tree. This is my code USING the height: [code] public boolean isAVL(BinaryNode<AnyType> t) { int leftSubtreeHeight; int rightSubtreeHeight; if (t == null) return …
Hi I am trying to get which checkboxes the user checked from one page to another. If that doesn't make sense then let me explain. On one aspx page, lets call it page1.aspx ...i have a checkboxlist; on the other aspx.page, lets call it page2.aspx...Page2 has to know which checkboxes …
Hey guys, I am trying to read a skel file and create a skeleton from it, but I don't understand how to do the joint class. Here is what i have now: this is the main class. [code] public static void main(String[] args) { // Frame frame = new Frame("Simple …
Hi I am new to javascript and I am trying to get rid of an object expected error. Here is the line I'm getting an error at [code] <td></td><td></td><td align="center">To print this quote click <a href="/broker/OfferSummary.asp?QuoteKey=<%=vQuoteKey%>" target="blank" onChange="enablePRINT()" checked = "checked"> HERE.</a></td> [/code] here is the function enablePRINT() [code] function …
I've started it for you and I think you can work on from here...if this is what you're intending to do: [code] System.out.println("Enter your first quiz grade: "); Scanner sc = new Scanner(System.in); int firstQ = sc.nextInt(); System.out.println("Enter your second quiz grade: "); int secondQ = sc.nextInt(); System.out.println("Enter your third …
Hi guys, I have this project question that is just REALLY boggling me and I am getting nowhere :( The project description is really large and I can't post all of it hear but I'd just like to post the part I'm on and how far I've gotten with the …
i think you can use a StringTokenizer and use the delimiter of " " to divide the string into three parts and put it in three different fields. The psedocode would be: initialize a string tokenizer ---> StringTokenizer scT = new StringTokenizer(name of file being read. delimeter); while (scT.hasmoreTokens()) field …
Hey...this works for a string...maybe you can modify it to what you are wanting: [code] int count = 0; int UpperCaseCount = 0; char[] newCharArray = new char[100]; do { System.out.println("Enter a string: "); Scanner sc = new Scanner(System.in); String theString = sc.nextLine(); for (int i=0; i< theString.length(); i++) { …
for a factorial program, its always best to create a recursive factorial method that returns the answer to the factorial. here is a recursive method for a factorial: [code] public static long factorial(int n) { if (n <= 1) return 1; else return n * factorial( n – 1 ); …
Hi I am having trouble creating a pseudocode for this question, but I did give it a shot. I hope someone can help. This is the question. Consider the concurrent logical channels protocol. This protocol does not guarantee that messages are delivered in order. Modify the protocol to ensure that …
Hi I am trying to find out a way to swap two nodes in an unordered linked list. I want to find out a way where i can change the links of the two nodes so they are swapped. I know I am supposed to use the previous and next …
Hi I am trying to sort a generic object. When the object is created, it is created with three generic parameters and I want the parameters to be sorted when it is created. Here is my code: [code] import java.util.*; public class SortedTrio<T> extends Trio { T firstST; T secondST; …
Hi there, I am trying to delete all internet temporary files but when i go to internet properties and attempt to do that, it says "Windows Host Process Rundll32 has stopped working". I have run HijackThis and am posting the log here. Could someone please help me? Logfile of Trend …
The End.
imclumsy