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
~21.5K People Reached
Interests
Playing Video games, hanging out with friends, listening to and editing music, creating/designing graphics/web…
PC Specs
(simplified specs) 2.4ghz quad core 4gb ram 1gb nVidia 8800gt
Favorite Forums
Member Avatar for SacredFootball

[CODE] #define cinGetValue(value,status) \ { \ string inputLine; /* raw user input text*/ \ istringstream convert; /* string converstion variable.*/ \ \ getline(cin,inputLine); /* get a string of data from user input (could be empty) */ \ convert.str(inputLine); /* load 'convert' with user input */ \ convert >> value; /* …

0
73
Member Avatar for SacredFootball

See Attachment. The instructor of my class gave us method names, variables, etc so i had to follow what he required. My question is this: How do I check if an area is occupied by an object or how to know an objects location in the grid? I've coded everything …

Member Avatar for SacredFootball
0
104
Member Avatar for SacredFootball

Hey all. I'm trying to learn stack operations and so far, I believe I've gotten push() and pop() down. I seem to be stuck on copy, however. I cannot get a check for empty to work correctly. [CODE] typedef struct _node { payload data; struct _node *prev; } node; int …

Member Avatar for jonsca
0
96
Member Avatar for SacredFootball

I think the code comments show what is needed. Essentially, I just need to spit out the members name and score who are below the average score in the list. [CODE] void displayLowScore(struct payload *arrayStart , //first element of array struct payload *arrayEnd ) //last element of array { int …

Member Avatar for SacredFootball
0
154
Member Avatar for SacredFootball

Hello everyone. I'm just about finished with my degree and am now taking a Data Structures class. So far, it doesn't make sense to me. I'm seeing code snippets of 100+ lines that I could solve in 10. Hopefully I begin the realize the power of Data Structures soon. Anyways, …

Member Avatar for Moschops
0
190
Member Avatar for SacredFootball

Hey All. I'm needing a fully transparent label to rest over a picture field that gets resized from calculations. The picture field is simple a background image in a PictureBox that represents a percentage of a whole. The label stores the actual percentage text. Here's the issues I've come across: …

Member Avatar for scavenger86
0
177
Member Avatar for SacredFootball

Hey all, just beginning to pick up some C# and I was wondering how to query data from a Data set in Visual Studio. I'm setting my frame up like a form where it will show values from the database. I've got BindingNavigator to work properly (mainly because it does …

Member Avatar for agrothe
0
152
Member Avatar for SacredFootball

Confusing question? The only way I can explain it best is to show it: [CODE] Table1 --------------------------- Name Num1 Num2 Num3 Devin 224 18 845 Scott 322 32 652 Jim 179 46 929 Tim 202 41 562 [/CODE] [CODE] Query Getting Max Value --------------------------- Num1 Num2 Num3 322 46 929 …

0
76
Member Avatar for SacredFootball

Is it possible to get the max values from the columns in 1 table and copy them into another or would this not be recommended. The more I think about it the more I begin to think it isn't such a good idea. Here's an example what I'm looking for: …

Member Avatar for SacredFootball
0
93
Member Avatar for SacredFootball

I've read this on some other questions here at DaniWeb so I've been trying to use the suggestions posted. They don't seem to be working correctly for what I need or I'm seriously confused (probably the latter). Anyways, I'd like to establish good programming practices early to avoid developing bad …

Member Avatar for Lerner
0
209
Member Avatar for SacredFootball

I can't figure it out. [CODE] #include <iostream> #include "GameMenu.h" #include "PlayerInfo.h" using namespace std; GameMenu::GameMenu() { } void GameMenu::display() { cout << "-----------------------------------------------------------------" << endl; cout << "Welcome to \"Hot or Cold\"" << endl; cout << "-----------------------------------------------------------------" << endl; cout << "OBJECTIVE:\t\tGuess the number in fewest number of guesses." …

Member Avatar for jonsca
0
117
Member Avatar for SacredFootball

Hey All. I'm trying to figure out how to search for a string within my file and if the string exists, I want to get whatever follows it. Here's an example: HighScores.txt ---------------------------- Devin: 202 Corey: 185 Nick: 315 Patrick: 112 ---------------------------- If my program opens the file, I'd like …

Member Avatar for SacredFootball
0
124
Member Avatar for SacredFootball

Hey all. I'm trying to write a query that gets all the multi-field data from a record in another table it has a relationship with. I'm using MS Access 2007 and would prefer to have it written in a SQL query. Here's an example of what I'm trying to do: …

0
82
Member Avatar for SacredFootball

Hey all! I'm trying to figure out how to check if an element already exists in a vector. EXAMPLE: Elements in the vector are: "Dog", "Cat", "Fish", "Bird" If a user tries to add (case ignored) "Dog", "dog" or any other variation, I want it to spit out and error …

Member Avatar for Narue
0
2K
Member Avatar for SacredFootball

Hey all. I don't have any experience with vectors so I'm looking for a little guidance. I don't want the answer, just a direction to take. I've looked up vectors on cplusplus.com but I couldn't understand exactly how they work in order to code them into my program. Here's my …

Member Avatar for VernonDozier
0
127
Member Avatar for SacredFootball

full function: [CODE] void finalScoreMessage(bool prematureExit) { if (finalPoints_ > highestScore_) { cout << "You've beaten your previous high score! The new high score is: " << finalPoints_ << endl; saveScore(); } else if (finalPoints_ <= highestScore_){ cout << "Your score is: " + finalPoints_ << endl; cout << "Your …

Member Avatar for SacredFootball
0
106
Member Avatar for SacredFootball

hey all. I've been banging my head on this for hours. I'm trying to get only whole numbers from a user and if they input anything different, I want it to display a validation error and restart the function. Here's what I have: I'm either getting an infinite loop of …

Member Avatar for mitrmkar
0
18K