- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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 … |
|
Re:
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, … |
|
Re:
[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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
What is the difference between a stand-alone and a member-function operator? |
|
Re:
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. … |
|
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 … |
|
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. … |
|
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 … |
|
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. … |
|
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 … |
|
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 … |