Forum: C# Dec 12th, 2008 |
| Replies: 13 Views: 1,502 PS. I have a homework assignment due by Tuesday and final project due by next Sunday. I will have to shelve this a little so my replies might take days or even a week to get back to anyone. |
Forum: C# Dec 12th, 2008 |
| Replies: 13 Views: 1,502 I've tried to use that in my savTransaction and chckTransaction methods to no avail. I tried setting it to close Form1 and open a new one, but as I've learned (and web verified it is by design) when... |
Forum: C# Dec 10th, 2008 |
| Replies: 13 Views: 1,502 The problem is not fixed in this version either. No real reason to submit it other than it is prettier and easier to look at. I put the gridviews on a new form and it makes Form1 less cluttered in... |
Forum: C# Dec 10th, 2008 |
| Replies: 13 Views: 1,502 I looked a little at the BeginEdit (still going to read a little more), but I would say no I'm doing any editing with the DataGrid so I'm not using BeginEdit, EndEdit and CommitEdit methods. I'm... |
Forum: C# Dec 9th, 2008 |
| Replies: 13 Views: 1,502 Not sure I follow the question? |
Forum: C# Dec 9th, 2008 |
| Replies: 13 Views: 1,502 That didn't work. It doesn't matter if I point it to the root mdb, the one in Release or Debug. It will update the database in any of the three locations. I can open it in access and see the updates.... |
Forum: C# Dec 8th, 2008 |
| Replies: 13 Views: 1,502 Yes I'm using Microsoft Visual C# Express 2008. |
Forum: C# Dec 8th, 2008 |
| Replies: 13 Views: 1,502 I've tried various things to get the datagrids to update. If I close the application and reload it then I see the changes to the database. If I do a transactions I don't see them until I reload it.... |
Forum: C# Nov 26th, 2008 |
| Replies: 5 Views: 477 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
... |
Forum: C# Nov 12th, 2008 |
| Replies: 5 Views: 477 I figured it out. I took some liberties in interpreting the assignment. It says to make two constructors, but doesn't explicitly state I had to implement them both in making only one savings and one... |
Forum: C# Nov 11th, 2008 |
| Replies: 5 Views: 477 Here are my parameters to follow: Every Account at the bank keeps track of a balance. In addition, each Account allows users to deposit and withdraw money. Accounts are subdivided into:
... |
Forum: C# Nov 5th, 2008 |
| Replies: 13 Views: 891 Figured it out!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 I think I found it, I'm using the counter from the for statements which of course are -1 by the time they hit the if, I'm really not thinking today!
Nope the counter produces the right values that... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 I streamlined the max and min methods but still getting duplicate data.
public void maxNumber()
{
for (int j = 0; j < 1000; ++j)
{
for... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 I added this to take care of the error you spotted LizR, thanks!
for (int i = 0; i < 10; ++i)
{
minNumbers[i, 1] = 5000;
}
I notice now that first 8... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 Doh! That is right I thought about that hours ago while working on the maximum method and forgot to address it. I was going to try and initialize it with larger values than the default 0. Thanks for... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 This is for a school project: write a GUI application that will generate multiple 3 digit numbers and count how many times each 3 digit number appears. To make the program more useful, provide the... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 Boy don't I feel stupid, rookie mistake! I can't believe I did that and this not being my first programming class, lol. I guess sometimes the simple is the most over looked. I may be back as it does... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 891 This is for a school project: write a GUI application that will generate multiple 3 digit numbers and count how many times each 3 digit number appears. To make the program more useful, provide the... |
Forum: Graphics and Multimedia Jan 20th, 2007 |
| Replies: 4 Views: 1,947 Well yes, that is what the assignment at the time was. To show the "advances of Flash". That you can build the site on one .fla page and just use frame labels to seperate the pages. I mean there are... |
Forum: Graphics and Multimedia Jan 19th, 2007 |
| Replies: 5 Views: 4,849 I don't have the exact answer for you. But were I would start is, you should be able to assign states to your thumbnail much in the way you handle them for links. You will have a mouse over and a... |
Forum: Graphics and Multimedia Jan 19th, 2007 |
| Replies: 4 Views: 1,947 Ok here is my question. I had a school project where we had to build a website in Flash. So I built this site at purplefrogit.com (I bought the domain name cause I have asperations of some day... |
Forum: C++ Jul 18th, 2006 |
| Replies: 3 Views: 5,465 // CPP btree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class BTree
{
public:
int treenodes[1000]; // structure to store the tree nodes... |
Forum: C++ Jul 17th, 2006 |
| Replies: 3 Views: 5,465 Ok I took care of the overload error by adding BTree::BTree(void) // builds the "constructor"
{
for(int i = 0; i < 1000; ++i) treenodes[i] = -1;
}
But the inorder traversal still has a... |
Forum: C++ Jul 16th, 2006 |
| Replies: 3 Views: 5,465 I solved the height int BTree::height()
{
return sizeof(leftchild(0));
} |
Forum: C++ Jul 16th, 2006 |
| Replies: 3 Views: 5,465 This is what I have to do
We will initialize the tree by hard coding the values illustrated below. You will need to write, test and execute a driver program that will use the complete binary tree... |
Forum: C++ Jul 16th, 2006 |
| Replies: 8 Views: 1,276 Actually if you look in the main at the end that is it. Fill the tree with the data and spit out a few results.
tree1.treenodes[0]=5;
tree1.treenodes[1]=10;
... |
Forum: C++ Jul 15th, 2006 |
| Replies: 8 Views: 1,276 Ok this is where i am now// CPP btree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class BTree
{
public:
int treenodes[1000]; // structure to... |
Forum: C++ Jul 14th, 2006 |
| Replies: 8 Views: 1,276 closer if I can figure out the traverse and height
// CPP btree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class BTree
{
public:
int... |
Forum: C++ Jul 14th, 2006 |
| Replies: 8 Views: 1,276 in the traverse I found and fixed this cout << root->data << " "; |
Forum: C++ Jul 14th, 2006 |
| Replies: 8 Views: 1,276 Ok I scraped that and started new. Not sure if it is an improvement or not.
// CPP btree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class BTree
{ |
Forum: C++ Jul 14th, 2006 |
| Replies: 8 Views: 1,276 I'm getting error C2109: subscript requires array or pointer type
// CPP btree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class TreeNode
{
public: |