MitulP91's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
64 (0.1 per day)
Joined:
18-July 12
Profile Views:
943
Last Active:
User is offline Feb 19 2013 05:17 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   MitulP91 has not set their status

Posts I've Made

  1. In Topic: Difficulty with Reading Data From File (0-1 Knapsack Problem)

    Posted 19 Feb 2013

    View Postjimblumberg, on 19 February 2013 - 01:41 PM, said:

    You have several problems, first you are never reading from your file you are getting everything from the standard input (cin) not your file. Also because you are reading from the console and you don't tell the user what value they need to enter you are probably getting lost.

    Jim


    Hello Jim,

    Such a stupid mistake. I appreciate the help and thanks for your time.

    Mitul
  2. In Topic: Difficulty with Reading Data From File (0-1 Knapsack Problem)

    Posted 19 Feb 2013

    I was just testing a few things and I discovered something.

    When I place a simple
    cout << "hello";
    
    before the for statement in main, the program outputs hello, but when I place it after the end of the for statement nothing appears. Seems the issue is rooted in the for statement somewhere.
  3. In Topic: Difficulty with Reading Data From File (0-1 Knapsack Problem)

    Posted 19 Feb 2013

    ** Also if you'd like any of the files (.cpp or .txt), just let me know.
  4. In Topic: Database Table Viewer

    Posted 17 Dec 2012

    View Postg00se, on 17 December 2012 - 10:08 AM, said:

    You're saying that you don't see ANY JList - whether filled or empty?


    Yes. No JList at all. Absolutely nothing there.
  5. In Topic: Database Table Viewer

    Posted 17 Dec 2012

    View Postg00se, on 17 December 2012 - 09:58 AM, said:

    See ABOVE


    If you're asking what I changed, then I created the new JList before calling it to the frame, and then used the setListData method to transfer a String array to the list.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

MitulP91 hasn't added any friends yet.

Comments

MitulP91 has no profile comments yet. Why not say hello?