Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~12.7K People Reached
Favorite Forums
Favorite Tags

30 Posted Topics

Member Avatar for tyczj

i know how to get a file and all but how do u go about putting that file into the tree? my get file [CODE]void BST::loadFile() { cout << "Enter the the file location" << endl; cin >> inFileName; inFile.open(inFileName.c_str()); if (!inFile.is_open()) //test for file { cerr << "Cannot open …

Member Avatar for hoangnn90
0
6K
Member Avatar for tyczj

so i need to input 10 ints into a table then use insertion sort but i dont know how to step through the table like you would and array in c++ since i have found out i cant go tbl[length-1] for example because i get an error saying "cant add …

0
71
Member Avatar for tyczj

i am some what new to java so i am not really familiar with all the errors and such but i am getting one that says this: [CODE]Exception in thread "main" java.lang.ClassCastException: lab8ab.EmployeeAryApplicEx cannot be cast to lab8ab.EmployeeMultiTypeSeqFileExer at lab8ab.EmployeeMultiTypeOpenListener.<init>(EmployeeMultiTypeOpenListener.java:22) at lab8ab.EmployeeAryApplicEx.<init>(EmployeeAryApplicEx.java:115) at lab8ab.EmployeeAryApplicEx.main(EmployeeAryApplicEx.java:43)[/CODE] what does that mean? the program …

Member Avatar for tyczj
0
111
Member Avatar for tyczj

i dont even know if im on the right track with this one but here it goes. im trying to write a delete function for a BST and this is what i have [CODE]bool BST::delNode(Key key) { BST_Node* node; BST_Node* p; if(findKey(key,root)) { if(root == NULL) return false; if(key == …

Member Avatar for iamthwee
0
299
Member Avatar for tyczj

i am getting this error "[COLOR="Red"]error C2664: 'bool __thiscall BST::insert(class BST_Node *& ,struct Key)' : cannot convert parameter 1 from 'class BST_Node *' to 'class BST_Node *& ' A reference that is not to 'const' cannot be bound to a non-lvalue[/COLOR]" and i have no ideal why everything looks fine …

Member Avatar for tyczj
0
124
Member Avatar for tyczj

im trying to write a loop so that 8 of each card in a blackjack game is made and i cant get it to work right. it should print out 8 cards for each card made and delete the card if there are already enough of that type of card …

Member Avatar for Lerner
0
108
Member Avatar for tyczj

im trying to make a blackjack game using stacks and lists and i am having a problem with my lists, its not being created and i dont know y? the list is a list of cards for the players and the stack is the deck of cards. [CODE]#include <stack> #include …

Member Avatar for tyczj
0
172
Member Avatar for tyczj

i need some help on this, im making a blackjack game and i need to make a stack of cards and i dont know what to do so just get me started is all im really askin for. here is what i have so far [CODE]#include <stack> #include <list> #include …

Member Avatar for iamthwee
0
173
Member Avatar for tyczj

i need some help with figuring out how to check diagonals in my 3D Tic-Tac-Toe board. i have the horizontal, vertical and depth done fine but i cant figure out how to get diagonals. i only put in the check part since the full code is really long. the peoblem …

Member Avatar for Drowzee
0
1K
Member Avatar for tyczj

i have 3 errors that i cant figure out y they are appearing i thought everything was fine [CODE] template <class TYPE> class Darray{ protected: TYPE DEPTH; TYPE ROW; TYPE COL; Cell *** array; public: Darray(); //constructor Darray(TYPE depth, TYPE row, TYPE col); //overloaded constructor ~Darray(); //destructor Darray(const Darray& darray); …

Member Avatar for tyczj
0
88
Member Avatar for tyczj

can someone give me a good link on how to add, subtract, multiply matrixes i cant fint it anywhere

Member Avatar for tyczj
0
140
Member Avatar for tyczj

i am totally stumped on what to do here. basically whats goin on is i have a 3D dynamic array and i need to have a cursor inside of it and move around on the inside. i do i go about doing that? like i said im completely stumped. here …

Member Avatar for iamthwee
0
1K
Member Avatar for stupidenator

it would probably be easier is u could post all ur code then we can look at it all.

Member Avatar for stupidenator
0
170
Member Avatar for tyczj

im trying to make a table using askii art thats changed when the dimensions of the array are changed. i have been playin it for like 2 hours and i cant figure it out, here is was i have so far. my definitions [CODE]#define M char (197); #define U_L char …

Member Avatar for tyczj
0
155
Member Avatar for caseg

yea u only need 1 cout statement since its a loop and all the other couts are the same thing

Member Avatar for Whodey
0
145
Member Avatar for tyczj

im not sure how to write an assignment operator for a 3d array this is what i have bit i know its wrong [CODE]Cells& Cells::operator= (const Cells& cells) { resetSize(cells.DEPTH, cells.ROW, cells.COL); for(int d=0; d<DEPTH; d++) for(int r=0; r<ROW; r++) array[d][r] = **this for(int c=0; c<COL; c++) array[d][r][c] = cells.array[d][r][c]; …

Member Avatar for tyczj
0
167
Member Avatar for tyczj

so im new to templates and i dont understand the errors im gettin in my code. the errors start where it says "sort double array" in the main and the errors are the same for all 6 function calls after that "cannot convert parameter 1 from double[10] to int []" …

Member Avatar for Rashakil Fol
0
134
Member Avatar for tyczj

cant figure out this error. im trying to do a 3 dimensional static array that just displays the number in a matrix form ex: 1111111 1111111 1111111 im sure the error has somethin to do with the depth, row and col being constants but i dont knwo how to fix …

Member Avatar for dwks
0
151
Member Avatar for tyczj

i have errors and i dont know y im gettin them here is the code. a majority of them are undeclaired idetifyers but they are function calls?!?! [CODE]#include <iostream> #include <iomanip> using namespace std; class Array { public: Array(); Array(const Array& copyFrom); ~Array() { }; void append(int arrayA[]); void chop(int …

Member Avatar for tyczj
0
300
Member Avatar for tyczj

how do u append and subtract a number in an array. i have no clue. any links to a site about this wouls greatly appreciated

Member Avatar for tyczj
0
145
Member Avatar for tyczj

ok so here is what im doin. Given a square matrix, write a program that determines the number of white(numbered) blocks and total number of squares in each of the white blocks. By definition, the outside boundaries of the matrix must be shaded(0). A block of white squares consists of …

Member Avatar for tyczj
0
182
Member Avatar for iqbal

well one u defined i twice in 2 diff functions and u didnt declare a couple of things or declared them wrong

Member Avatar for tyczj
0
156
Member Avatar for tyczj

ok im stuck how do u print to the screen in the main file from a class? this is what im doin [CODE]ostream &operator <<(ostream &outs, const Point &p) { outs << "(" << p.getX() << ", " << p.getY() << ")"; // print out the value of the point …

Member Avatar for Dogtree
0
231
Member Avatar for tyczj

what is the header to time code isnt it; #include "pctimer.h" i keep gettin an error saying no such thing

Member Avatar for tyczj
0
283
Member Avatar for tat2dlady

20, 08, 20, 08, 05, <-- it prints that? well they are not doubles, doubles are like 20.035515563.... thoes that it prints are all ints

Member Avatar for tyczj
0
224
Member Avatar for tyczj

i cant figure this out, here is what im suppose to do Create a text file containing the pertinent information for the following table(not the identification row): [code]Employee No. Department Pay Rate Exempt Hours Worked 101 41 8.11 Y 49 722 32 7.22 N 40 1273 23 5.43 Y 39 …

Member Avatar for Dave Sinkula
0
176
Member Avatar for tyczj

im doing this lab and im so lost on it, i dont know where to start. here is the link for the lab [URL=http://north.ecc.edu/kuroskit/cs111-01-sp05/labs/Lab10%20spg%2005.doc]Lab[/URL] now im not lookin for someone to do it for me just help me out on gettin started. im not sure how to use arrays and …

Member Avatar for tyczj
0
227
Member Avatar for tyczj

so im trying to write this program that converts Fahrenheit to Celsius and vice versa but im gettin an infinate loop at the menu. i go to select the number that i want and it just displays the menu again, i though i was doin it right? [code]#include <iostream> //for …

Member Avatar for tyczj
0
114
Member Avatar for tyczj

how do you write exponents in c++ i though it was "exp (#)" afterthe variable am i right?

Member Avatar for Narue
0
170
Member Avatar for tyczj

ok so im taking a class at school and we have a lab that i am stuck on. "the program must read in an inventory list of items at a small retail store." i have most of it but im stuck on getting a discount price and having it line …

Member Avatar for OurNation
0
154

The End.