Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~18.5K People Reached
Favorite Tags

14 Posted Topics

Member Avatar for TheSassyDragon

Im trying to write a delete function for a "path" class which has data points (lat/long). It also has notes and photos along it but each of these objects have comments that also need to be deleted. Essentially everything associated with the path. Here's my SQL attempt in the most …

Member Avatar for urtrivedi
0
128
Member Avatar for eduardc

Post again what code your using, it looks like your not initializing $result right, you need to be setting it to a SQL handle and the phrase "boolean given" looks like its either returning a false value or your not querying what you want to be. Woops sorry missed the …

Member Avatar for karthik_ppts
0
588
Member Avatar for garber

Why bother with user input on the lowerbound? and not just initialize it to 1, and then have. [CODE]while(lowerbound!=upperbound) { sum+=lowerbound; lowerbound++; } [/CODE] Maybe I am miss understanding your problem.

Member Avatar for mir wasif
-1
3K
Member Avatar for cafegeo

To fill the data make a loop or a function that takes the struct as input and then sets each person.name..person.pay ect... If your using a file look how to take everything up til the comma, then up till the next space ect...

Member Avatar for cafegeo
0
3K
Member Avatar for narunaru

If your only going to use those 9 numbers id probably use a simple loop to test each string if it exists [CODE] int int1,int2, answer; for(int i=0;i<10;i++) { if (string1==manta[i]){ int1 = i; } else if(string2==manta[i]){ int2 = i; } } answer = int1+int2; if(answer>10){ cout<<"Error"; } else return …

Member Avatar for Dexxta27
0
119
Member Avatar for bkoper16

just curious, did you copy all the code for your account header? It appears to be missing #endif which would explain why it can't find the constructor

Member Avatar for griswolf
0
10K
Member Avatar for NoUserNameHere

[QUOTE]Also in the length.cpp part, why did they include the class name when they were returning a value(lines 36,44,52,60)? [/QUOTE] If you look to the function definition or declaration: [CODE]Length operator+(Length a, Length b)[/CODE] Your return type for the function is a class Length... So the reason they include the …

Member Avatar for NoUserNameHere
0
127
Member Avatar for Robbie Y.

This worked fine for me, you need to specify a return type for your main function... I.E. [CODE] int halt; cin>>halt; return halt; [/CODE] The other thing my compiler said [CODE](37,43) Converting to int from double[/CODE] because your using a double and a int in a math function its going …

Member Avatar for Robbie Y.
0
173
Member Avatar for TheSassyDragon

Im trying a practice problem from a textbook and here is my attempt at it, was wondering if I could get some advice both with structurally how to approach the problem, efficency, and any words of wisdom on dynamic memory. This is my study for my final exam which so …

Member Avatar for Lerner
0
294
Member Avatar for TheSassyDragon

Trying to understand two dimensional vector and was wondering if anyone could help me out on a sorting code for this so that it numbers 0-9 people, gets x number with each of them and then outputs the person (number) ate x pancakes - But in descending or ascending order. …

Member Avatar for TheSassyDragon
0
159
Member Avatar for TheSassyDragon

Im starting to make a social network using all php, and I have a class that starts the session in the constructor, with session_start(); and tests if they are logged in. if at the end of that file I call the constructor... $session= new Session();... wouldn't that automatically start the …

Member Avatar for tinymark
0
155
Member Avatar for TheSassyDragon

This is the code at line 23: [CODE] foreach($form->getErrorArray() as $m){ $x .= "".$m." + "; header("Location: Form_Display.php?message=".$x."") [/CODE] Gives me two error messages 1. Passwords don't match 2. Email not entered I've banged my head out, smoked a carton of cigarettes and had a quiet meditation session after raging. …

Member Avatar for joeyxaza
0
241
Member Avatar for TheSassyDragon

Im trying to make a blackjack game that uses a graphical interface, it executes just fine and my IDE isn't giving any error reports which is making it really difficult to finish it. I posted some of my worries about why it won't operate. Any help, general comments, or wise …

Member Avatar for Gribouillis
0
116
Member Avatar for TheSassyDragon

Im trying to make a card class that I can use in other programs, the main goal of this is to make a deck of cards that would be valid, only 52 cards - no repeats, 4 suits - 13 cards each. My problem is I don't know how to …

Member Avatar for lrh9
0
694

The End.