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.3K People Reached
Favorite Tags
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
121
Member Avatar for eduardc

I donĀ“t understand the error: Parse error: syntax error, unexpected T_VARIABLE in /home/eduardli/public_html/web_designer/insert.php on line 21 php file: [CODE]<html> <body> <?php $con = mysql_connect("localhost","eduardli_user","-z.x,c"); if (!$con) { die('Could not connect: ' . mysql_error()); } $description = $_POST["description"]; $price = $_POST["price"]; $quantity = $_POST["quantity"]; mysql_select_db("eduardli_company", $con); mysql_query ("INSERT INTO Products (Description, …

Member Avatar for karthik_ppts
0
566
Member Avatar for garber

[CODE]#include <iostream> using namespace std; int main() { int sum = 0; // Declare an int variable sum to accumulate the numbers int lowerbound; // Set the initial sum to 0 int upperbound; // Sum from 1 to this upperbound // Prompt user for an upperbound cout << "Enter a …

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

I have a data file which includes an employee name, hours worked, salary and age. I have to manipulate this data: Print out the data as it is read in. Compute overtime(over 40 hours) Compute tax paid per employee using a specific formula. Sort the list by name. And a …

Member Avatar for cafegeo
0
3K
Member Avatar for narunaru

I'm a beginner programmer and I'm trying to make a add function that adds two numbers. but these numbers are passed by strings. ex. four + five = is 9. if the answer goes over 10m then it prints out "error". can anyone help me ?? [ICODE] int add (string …

Member Avatar for Dexxta27
0
115
Member Avatar for bkoper16

Im trying to make a program that has a base class Account and a class ,Savings , that inherits from it. however i keep getting an error that says expected class name before { token and it shows it where i wrote [CODE]class Savings : public account { [/CODE] there …

Member Avatar for griswolf
0
9K
Member Avatar for NoUserNameHere
Member Avatar for NoUserNameHere
0
116
Member Avatar for Robbie Y.

Hey guys! I'm trying to write a program that involves a switch/case on Microsoft Visual Studion 2010. Unfortunately, some of my variables are not being initialized. I am a very novie programmer so please have mercy on me! Two of my options (1,4) are working but options (2,3) are not. …

Member Avatar for Robbie Y.
0
168
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
270
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
151
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
146
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
236
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
107
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
678