No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
49 Posted Topics
Hey folks, I am working on a project (its a continuation of my previous project)... but with a few additions. First off, i have to use class templates... I have used them before, but not when working with multiple class definitions and multiple files. Below i will post sections of … | |
I have a webpage form for voting on a value in multiple categories. For example, i have a persons name, with a list of possible nick names for that person. For example: Tony -Tones -Tiger -Tiny -Txxx -Tyyy I have multiple radio buttons per person, with each radio section designed … | |
hey all, I am working on some simple perl code to do the following: 1) Passed a device IP, the script should attempt to log into each device. If a timeout or any other error occurs, ignore the device and continue to attempt log ins to the other devices in … | |
I have no good regex experience -- its all pretty new and confusing to me. I understand some of the VERY basics, but to do what im looking for...is way past me! I have the following text i would like to parse, pulling out the highlighted section everytime. Unknown Trap … | |
Hey All, I have the a page that takes information for a ticket, and i wish to add the functionality of an upload button for attachments. I have tried making this work but because of using multiple posts , this obviously won't work (at least with what i know). Is … | |
Hey all, I am currently working on a simple page that lists all current tickets for my small company. I want to be able to click on a ticket in the list, and expand the page with all replies etc for that ticket. basically something that would look like: Ticket … | |
I am attempting to print some output using XPRNT in my program. We are using very basic/old assemler assist program and mvs batch to code everything. My code basically reads in a employee number, hourly wage (in cents), hours worked, bonus (in cents), and deduction amount (in cents). I store … | |
Hey All, I am looking to make a couple of scripts to do the following (seperate files, not all in one). DNS, MySQL, POP3/IMAP+SMTP Basically, i want to try connecting to these sources, and check they are running on the server. If they are not running, i will create a … | |
Hey all - I have created an ArrayList as follows: [code]ArrayList<Object> arList = new ArrayList<Object>();[/code] The arraylist contains the following - every time it will have the same data ... either filled or considered ""; String - transaction type String - name String - ssn String - address int - … | |
Hey all - I have to create a basic client browser that creates a socket with a webpage and then uses a command similar to : GET index.html\r\nHTTP/1.1\r\nHost: [url]www.mysite.com\r\n\r\n[/url] To get the source code for the website. I will store each line recieved from the server into an arrayList, which … | |
Hey guys, I am trying to store a varying number of coordinate points in an array. So i thought of a list, and declaring this list as an arraylist using the Point class. Make sense so far? Or am i incorrect already? In doing so i came up with this: … | |
Hey Guys - i am really new to Java and am having some serious problems trying to figure out how to use the painting stuff. My problem i am trying to get to work is that i need to create a 'circle' by using lines from X number of points. … | |
Hi guys. I wanted to know if something would be possible. I currently have a server that runs mySQL and i created a database on there for use with PHP-Nuke Treasury module. I don't know much in the way of MySQL besides the basics. I uploaded the .sql file to … | |
Hey guys - i am working off three files that contain information on associates and their sales. The files are: products: (product ID, name, price item) % cat products 103:sway bar:49.99 101ropeller:104.99 104:fishing line:0.99 ... 108:wheel:49.99 111:lock:31.00 102:trailer hitch:97.95 sales: (product ID,num. sold, date sale, associate ID) % cat sales … | |
Hey all. I have worked with a project to create a basic student database/registration system for the past 4-5 projects... slowly adding more functionality or using different containers and classes etc. For this next project, i am to use the code from a website online which contains all the nescessary … | |
Hey all - i am currently running two of the following cards in SLI: BFG NVIDIA GeForce 8800 GTS OC2 320MB PCIe I can run the most basic games nice with them without a problem. But for whatever reason most games still have a big problem with lines across the … | |
Hey all. Me again. I am working with a database that contains data about multiple cruises. I am setting up a site that will allow the user to select multiple things. These include: Name of cruise ship. Departure Port. Port of Calls. These items are in three pull down menus. … | |
Hey all i have the following code: [code=php] <?php include 'config.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="design.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search for <?php echo "$_POST[boat]" ?></title> </head> <body> <?php $port1 = $_POST[port]; if (isset($port1)) { echo "This … | |
I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } … | |
I ran this query on my database: [code=sql]select O.ORDER_NUM, O.ORDER_DATE, O.CUSTOMER_NUM, C.CUSTOMER_NAME, C.STREET, C.CITY, C.STATE, C.ZIP from CUSTOMER C, ORDERS O where O.CUSTOMER_NUM =148 and C.CUSTOMER_NUM = 148;[/code] +-----------+------------+--------------+--------------------------+----------------+----------+-------+-------+ | ORDER_NUM | ORDER_DATE | CUSTOMER_NUM | CUSTOMER_NAME | STREET | CITY | STATE | ZIP | +-----------+------------+--------------+--------------------------+----------------+----------+-------+-------+ | 21608 | … | |
Hey all, i am working on a project in which i read thw following data file: 6 CSCI240 CSCI241 CSCI241 CSCI340 CSCI340 CSCI480 CSCI480 CSCI580 CSCI340 CSCI580 CSCI463 CSCI480 This data file, consists of the size of array (6) to be created, and then lists the classes, with the prerequisite … | |
Hi all, I recently finished working on a project that was to create a database type system for a student registration system. I created my own list class and stack to store the data... i create multiple classes, person (store student data: name, ssn, etc), student (student ID number), courseInfo … | |
hi all. in a recent project i created a linked list to store a students course data...such as course ID, year taken, semester taken, and final grade. This program worked without any problems. now, my next project is to create a stack to store the data, instead of a linked … | |
Hi all. I am finishing up a project previously posted. I am to create a student 'database' that consist of one student and X number of classes the student has taken. My problem now is that i cannot run a test on the linked list correctly. I am to check … | |
Hi All, I am working on a project and have come across a slight problem. I have a file i am reading in that consists of the following: John Smith 333222333 01/01/80 M z11119 cs111 2008 fall a cs222 2009 spring f The first line is the Students information, the … | |
Hey all. I have worked on this in a previous post, but because of the huge difference in work needed, i have reposted it here. First off, i created a project that would input data from keyboard of a student, this student had name,ssn,dob,school id information that was needed. After … | |
Hey all. I am using visual studio 2008 for the first time because i have heard very good things about it (plus i had numerous problems with devc++). Here is a debug.html file that shows an error i am getting while trying to compile my project in visual studio. i … | |
hey All. I am currently working on a project to create a basic student registration system using classes and other sorts of stuff later on... as of now, i am to create three classes as follows: Person, Student, and courseInfo. I have to create a simple driver program that allows … | |
Hey all... I recently had a problem with my computer. First off, i had bought a second video card to run SLI. In doing so, i realized my current 500w PSU probably wouldnt cut it. So i bought a new 850w PSU. I also bought new RAM, and a new … | |
Hey all.. i am working on a assignment for class currently, and am having a few difficulties. Right now i have a file that i am reading in, for each value read, i call my insert() function. This insert function push_bakc(item) into a vector, and then i call a function, … | |
Hey all - i am working on an assignment in which i previously created a class to create a Binary Tree. The follow up assignment was to create a Binary Search Tree... but using all the BT methods except an additional couple and obviously a different insert method to stop … | |
Hey all - i am working on a implementation of a binary tree. I have all of my code and it is from an previous project for the most part. except a few changes ... i have to use a driver program for this that creates a tree, deletes the … | |
Hey All - i am currently working on an assignment for a computer science programming class. I have to find and print all the prime numbers from 2 to N (N being a number read in from file). I have some code but i do can not get my mind … | |
Hey guys... this is my first time working with assembler, so please be patient with me! I am currently taking a course in assembler and have had a couple of basic assignments so far (mainly number systems, adding subtracting, two's complements etc etc). This is my first major (you may … | |
Hey folks. I am getting a BSOD error with Windows Vista SP1 on the following system: E6400 Dual Core P5NSLI 4GIG G.Skill PC6400 DDR2 RAM 1 x 500GB Maxtor 7200rpm BFG 312mb 8800 GTS OC Vid. Card Creative Sound Blaster SE I get this error, and then when i boot … | |
Hey All - i working on a assignment for school. Given that, i would like to say i have attempted numerous ways to get this working, and its a simple part of teh assignment. Basically i am having problems with my 'insert node' method. I am unsure how i have … | |
Hi all. I am having a hard time trying to properly declare a header for my assignment overload operator function. My prototype for the function is: [code] const BSTree<T>& operator=(const BSTree<T>&); [/code] And my attempt to write the header for the method is as follows: [code] template <class T> const … | |
Hey guys and girls. I am working on a project that needs to use templates. My professor didnt go over teh use of them in class, nor is our book very descriptive of them. Im assuming they are way easier than i make them seem, but some help , tips, … | |
Hey Guys I am trying to get a basic program to work with dynamic memory allocation. I have a problem with a overload operating my stream operator...<< On my previous program i used this: [code] ostream& operator<<(ostream& output, const Vector& p) { output << "(" << p.x << ", " … | |
Hey folks. I am confused as to how i can make a constructor take zero - or lets say 3 arguments. If i do this in my main.cpp: [code] const Vector v1; const Vector v2(1.0, 2.0, 3.0); [/code] And this in my vector.cpp file: [code] Vector::Vector(double new_x, double new_y, double … | |
Hey folks. I am working on a project that adds additional information to previous projects. Basically, for ezch project i have added another header file with cpp file. For example, originally we just had an Employee.h and Employee.cpp file which contained a class for employees containing name, department, and SSN. … | |
Hey folks - i am working on an assignment for school and would like some input if possible. I am trying to declare a class object in the form of an array so that i can read info from file and then manipulate the data. I need 3 seperate c++ … | |
Hey folks. I am looking to get a new motherboard that can run all my current specs but is a board i can buy new parts for in 4-6 months. Currently: P5NSLI 2 gig G.Skill PC6400 Dual Core Duo 2 E6400 PCI-E BFG Nvidia 8800 GTC OC 312mb I would … | |
Hey Folks. I am working on a project in which i have to use Classes and do multiple things with different sorts of data. The basic question i have though is this: what am i doing wrong here in terms of this class declaration etc... i have looked around on … | |
Hey Folks. I have to write a script that will basically take input from 3 different files which contain the following: product (file contains the following - FS=".") -product ID (Int number) -description (alphanumeric text) -price (floating pt. number, with 2 sig. digits) sales (file contains the following - FS=",") … | |
Hey folks. I am working on a program (really its 2, but they go hand in hand). The first one takes a text file which contains the following: last name first name SSN Salary Years employed There are 7 entries in the text file to be read in... The program … | |
Okay folks. I am writing a c++ program that will take a text file filled with test scores. Test1, Test2 and FinalTest. There are 32 test scores to be processed. I finished this first assignment using pass by reference using things such as: Prototype: [code] void doStatsRef(int [], int, double&, … | |
the code compiles but when i try running the .exe it closes. It looks liek for the 2 seconds its up it works, but then it closes itself. What am i doing wrong? heres the code: #include <iostream> using namespace std; int main() { // sets variables to be set … | |
I have this banking program that has a savings, checking account set up. The user has 4 options. Checking, Saving, Balance, and monthly maintenance. The checking option is all correct and never comes out weird...u can deposit everything and withdraw without any probs. If i do that -- then i … |
The End.