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.

~5K People Reached
Favorite Forums
Favorite Tags
c++ x 38
java x 12
Member Avatar for _dragonwolf_

Ok, I have been trying to work this thing for a week. It is a program that is supposed to read from 2 files (.dat) and write to a third file (.dat) then update one of the first files. i.e. read oldmast.dat read trans.dat compare data write data and changes …

Member Avatar for vijayan121
0
220
Member Avatar for _dragonwolf_

I'm not exactly sure what is wrong with my code. It will run and then it stops without completing the maze. Any ideas? Thanks in advance. Here is my code: [CODE] #include <iostream> #include <ctime> using namespace std; void mazeTraverse(char [][12], int, int); int main() { char maze[12][12] = { …

Member Avatar for triumphost
0
186
Member Avatar for _dragonwolf_

The section of my code that is commented out is what I need help with. I am wanting to check the user input of binary for anything other than a 1 or 0. Also, it will only accept an input of 10 numerical characters or less. I am wondering if …

Member Avatar for parry_kulk
0
687
Member Avatar for _dragonwolf_

I'm trying to create a boggle game. I have it so it will setup the board and accept user input. What I am trying to do now is get rid of the "[" braces "]" and the commas to give it a cleaner look and to hopefully make it easier …

Member Avatar for ~s.o.s~
0
107
Member Avatar for _dragonwolf_

I have file with a list of names in it and next to the names is a series of digits. The digits represent its level of popularity per every 10 years. The program I have asks the user to input the file path, then it asks for the user to …

Member Avatar for kvprajapati
0
145
Member Avatar for _dragonwolf_

I am writing a simple program that is supposed to take a user input and convert it to char and for each char it should change it to the designated change. I'm using switch statements to do this. Ex. blue b = bravo l = llama u = union e …

Member Avatar for jasimp
0
100
Member Avatar for _dragonwolf_

This code works fine so far... except for my "isPair()" function. It gives me the following error: Exception in thread "main" java.lang.NumberFormatException: For input string: Any help solving this issue would be great. I am trying to get the program to read poker hands and print out what it is. …

Member Avatar for thines01
0
129
Member Avatar for _dragonwolf_

This project is similar to, but not exactly like, my phonetic project. I am having to construct a GUI and have done so. I have been able to get everything except one part. What I need it to do is: 1) User inputs a string (this part works) 2) When …

Member Avatar for _dragonwolf_
0
238
Member Avatar for _dragonwolf_

I am having an issue converting words into phonetic spellings. Example: userInput = apple / outResult = Alpha Papa Papa Lima Echo I can get my code to convert a single letter to its respective phonetic. I can also get it to split a string into separate characters. Here is …

Member Avatar for _dragonwolf_
0
2K
Member Avatar for _dragonwolf_

Ok, here is what I have for my compareDates() function in my class: [CODE] int Date::compareDates(int m, int d, int y) { if((month < m) || (day < d) || (year < y)) cout << "This date comes before previous valid date." << endl; else if((month == m) || (day …

Member Avatar for VernonDozier
0
111
Member Avatar for _dragonwolf_

I feel like an idiot asking for help every step of the way. My program is almost complete. I just can't seem to wrap my head around the constructor issue. Here is the check list of what I have left: Appropriately use the Dates(int,int,int) & the Dates(string,int,int) constructors; Appropriately use …

Member Avatar for _dragonwolf_
0
98
Member Avatar for _dragonwolf_

I am having to write a program that has a user-defined class. In this program I need to convert an INT to a STRING. For example, if the program reads in the date "7/17/2009" it will need to be converted to "July 17, 2009", where all it does is take …

Member Avatar for _dragonwolf_
0
148
Member Avatar for _dragonwolf_

I have tried different things to modify the following code and have been unsuccessful. The following code is to get the julian date number. I need to alter it to make it return the day number (between 1 - 366) within a given year. Can anybody help? (fyi - this …

Member Avatar for _dragonwolf_
0
236
Member Avatar for _dragonwolf_

Here is my final product: [code] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; void printGrade(int oneScore, float average); void printTable(int scores[], int id[], int count); float computeAverage(int scores[], int count); const int MAX_SIZE = 21; void readStudentData(ifstream &rss, int scores[], int id[], int &count, bool &tooMany) …

Member Avatar for _dragonwolf_
0
132
Member Avatar for _dragonwolf_

Okay, so I have my program almost complete. I can get it to do everything except use the computeAverage. I know it works because if I hard code the arrays, I can utilize that and it will work. However, I am having to utilize what I pull from a .txt …

Member Avatar for VernonDozier
0
177
Member Avatar for _dragonwolf_

My name is James. Currently going to school and have a professor that runs his class like a Marine Drill Instructor. He expects you to know how to do any and all levels of programming in the C++ language. He's a pain. I am engaged. I like to try and …

Member Avatar for kennjame62
0
43
Member Avatar for _dragonwolf_

Here we go again. As you can see, I have gotten much further. There are some elements however that I am unsure how to apply (i.e. bool tooMany). I haven't the slightest how to apply that. That is one snag that I have. Another, and the main one, is this: …

Member Avatar for _dragonwolf_
0
95
Member Avatar for _dragonwolf_

This is still the readStuData(ifstream &rss, int scores[], int id[], int &count, bool &tooMany) assignment. I've hit a small snag. This piece of the code works....kind of. When the program is run it prints out the table and stuff, however, when printing the grade it doesn't do it correctly. If …

Member Avatar for _dragonwolf_
0
113
Member Avatar for _dragonwolf_

My name is James. I am currently taking a c++ class and I have a professor that is less than desirable but is the only one that is teaching the class. I am in need of assistance with some code. At least getting it started anyway. Here is the assignment: …

Member Avatar for jephthah
0
119