CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mgau0047

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,005

    Not getting items from the list

    I have 2 lists one for JuniorStudents and one for SeniorStudents. In the JuniorStudents I have a method for promoting a juniorstudent to a seniorStudent. I am first deleting the juniorstudent and...
  2. Replies
    1
    Views
    1,205

    Adding To A List From Another Class

    I have a program which contains JuniorStudents and SeniorStudents. I've made seperate classes and in each class there is a list. Now when the student is year 6 or year 7 I shall promote it to senior...
  3. Replies
    6
    Views
    2,509

    Re: Writng a list to a text file

    Yes that is what I wanted to do. Can you please give me an example of how can I do it because I didn't understand well with words
  4. Replies
    6
    Views
    2,509

    Re: Writng a list to a text file

    Also I am getting an authorize access exception in the Read method. Do you know why this is so?
  5. Replies
    6
    Views
    2,509

    Re: Writng a list to a text file

    Ok thanks but do you think the Write method is implemented correctly?
  6. Replies
    6
    Views
    2,509

    Writng a list to a text file

    Hi I have the following code which adds student details and their marks to a list and then save it to a text file. I am not implementing the WriteAll() method correctly. Could someone help me in...
  7. Replies
    16
    Views
    3,141

    Re: Java text file

    Can you show me how can I do that pls becuase I haven't done it before
  8. Replies
    16
    Views
    3,141

    Re: Java text file

    I did it now. Can you pls help me in fixing the problem now pls?
  9. Replies
    16
    Views
    3,141

    Re: Java text file

    AVLProcess ap = new AVLProcess();
    AVLTree at = ap.ReadInputFile("E:\\Java files txt\\input.txt", "E:\\Java files txt\\output2.txt");
    String input = JOptionPane.showInputDialog(null, "Please select...
  10. Replies
    16
    Views
    3,141

    Re: Java text file

    I can't do it sry. Pls help me solving the problem because I'm fed up of trying different solutions
  11. Replies
    16
    Views
    3,141

    Re: Java text file

    [AVLProcess ap = new AVLProcess();
    AVLTree at = ap.ReadInputFile("E:\\Java files txt\\input.txt", "E:\\Java files txt\\output2.txt");
    String input = JOptionPane.showInputDialog(null, "Please select...
  12. Replies
    16
    Views
    3,141

    Re: Java text file

    How do I post it pls because I don't know. Forgive me for this time only pls
  13. Replies
    16
    Views
    3,141

    Re: Java text file

    Sorry I will not do it again. Cam you pls help me but?
  14. Replies
    16
    Views
    3,141

    Re: Java text file

    I don't want this type of answer. I want my answer to the question regardless of the tagging. Can you give it?
  15. Replies
    16
    Views
    3,141

    Java text file

    Hi all I did a program containing text files and now I want to make it on a cd. When I did so an error occured when I ran the program from my cd telling me that access is denied. My program is on...
  16. Thread: Java AVL bug

    by mgau0047
    Replies
    2
    Views
    2,032

    Re: Java AVL bug

    Solved it thanks anyways
  17. Thread: Java AVL bug

    by mgau0047
    Replies
    2
    Views
    2,032

    Java AVL bug

    Hi i'm writing this code for an AVL tree. The program is working fine but it is not displaying the left and right child. Can you help me in fixing the problem. Here is my code:
    package testavltree;...
  18. Thread: Java bug

    by mgau0047
    Replies
    8
    Views
    1,621

    Re: Java bug

    Yes exactly it is an AVL tree. I am trying to insert nodes into the array and I have an error in the insert method that I have. I want to implement that one in the brackets but I don't know how.Can...
  19. Thread: Java bug

    by mgau0047
    Replies
    8
    Views
    1,621

    Re: Java bug

    This is the node class:


    public class Node {

    public int value;
    public Node leftNode;
    public Node rightNode;

    public Node() {
  20. Thread: Java bug

    by mgau0047
    Replies
    8
    Views
    1,621

    Re: Java bug

    Can you give me an example of how I can do that because I've never done it
  21. Thread: Java bug

    by mgau0047
    Replies
    8
    Views
    1,621

    Re: Java bug

    Error: Method AVLInsert in class testavltree.AVLInsert cannot be applied to given types;
    required: testavltree.Node, testavltree.Node
    found: int
    reason: actual and formal argument lists differ in...
  22. Thread: Java bug

    by mgau0047
    Replies
    8
    Views
    1,621

    Java bug

    Hi I have the following code and I am getting an error (line in comments). Could someone arrange it for me pls

    public static void AvlInsert(Node nd, Node newNode) {
    if (newNode.value <...
  23. Replies
    31
    Views
    4,658

    Re: AVL Tree Help pls

    Can you check if these rotations methods are correct pls and if the balance method return the right root. I arranged them a bit

    public Node balance(Node node) {
    if...
  24. Replies
    31
    Views
    4,658

    Re: AVL Tree Help pls

    So in my code could you please tell me where I should do this
  25. Replies
    31
    Views
    4,658

    Re: AVL Tree Help pls

    So, in my program where should I apply the balance method pls if not on the root? Which subtrees?
Results 1 to 25 of 39
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured