199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Acidburn

[php]#include <iostream> using namespace std; class Wheel { public: Wheel(int size); int getDiameter(); protected: int diameter; }; Wheel::Wheel(int size) { diameter = size; } int Wheel::getDiameter() { return diameter; } class Bike : public Wheel { public: Bike(int f, int b); int getFrontsize(); int getBacksize(); bool operator==(Bike ); private: Wheel …

Member Avatar for Narue
0
198
Member Avatar for Valmont

Reference reading directly related to this post: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html Hi all. I've just started learning the ways of compression. I decided to start with the LZ algorithm. The resource I use is: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html I understand the fundamentals of parsing the incoming text. Let's call the container that …

Member Avatar for Narue
0
172
Member Avatar for tyczj

what is the header to time code isnt it; #include "pctimer.h" i keep gettin an error saying no such thing

Member Avatar for tyczj
0
284
Member Avatar for nathanj99

Hi, I really need some help. I need to write a structure to disk in c++ builder. I have been trying now for a couple of weeks and I am now about to give up. I have tried fread,fwrite etc. fstream as well as TFileStream with no luck. I have …

Member Avatar for Narue
0
212
Member Avatar for Sukuz

HI!!, can anybody tell me how to create a hit counter using Javascript. The hit counter should increment a number stored in a file (on the site) each time a user visits it. For reference such Hit Counters can be added to Websites built with Microsoft Frontapage (Tools -> Web …

Member Avatar for Sukuz
0
162
Member Avatar for phredi++

i have written a console application in c using borland c++. i want to include mouse capabilities in the program ie. run the program using the mouse just like in norton disk doctor(dos-based version). any help? :?:

Member Avatar for phredi++
0
219
Member Avatar for purplegerbil

The application I am writing involves creating a dos batch file and executing it using the 'Shell' command. The batch file is used to zip up multiple files. The zip file that is created is them emailed. :?: My problem is - creating a pause within the application so the …

Member Avatar for Comatose
0
196
Member Avatar for feda

Greeting , it will be helpful if any one can provide me with Round Robin algorithm code in c/c++ thanks in-advance

Member Avatar for Narue
0
194
Member Avatar for apurva agarwal
Member Avatar for Narue
0
338
Member Avatar for luisator

Hi everyone! I am trying to develop an application to communicate with a Microsoft Acces database. For doing that I import the java.sql package to use the DrvierManager class to get a connection. The problem seems to be the application doesnot find the java.sql package. I have the 1.4.2_08 version.. …

Member Avatar for jwenting
0
446
Member Avatar for PHPGuru

At my PHP: Mastery Boot Camps I'll have a segment on consulting and contracting that will contain a panel of contractors who have successful businesses. If you're a contractor making more than $100K, manage multiple clients, are good at getting contract jobs quickly, are in a long-term contract, or are …

Member Avatar for PHPGuru
0
164
Member Avatar for tat2dlady

Can anyone tell me why this is printing doubles out to the output file? [CODE] IndexFile.seekp(20, ios::beg); for (i = 0; i < NumOfSlots; i++) { if (RandomFile.peek() == 42) { Position = i; RandomFile.seekg(37, ios::cur); //cout << Position << " "; } else if (RandomFile.peek() != 42) { RandomFile.get(R.SSN, …

Member Avatar for tyczj
0
224
Member Avatar for Rose Aashii

I write the folowing code which is taking RAM and Hard disk capacity from user by using structures and than saving it to a new file after the user complete entring data it is displaying data entered by the user by opening that file. Problm is that i want to …

Member Avatar for Narue
0
160
Member Avatar for Gilded

Anyone has an idea on how they can achive the every new registration has its own subdomain? I have WildCard DNS enabled.

Member Avatar for Gilded
0
149
Member Avatar for silicon

Hello again everyone. We have completed a project after a few months and a lot of help but for some reason we are still having problems. The project compiles properly without errors but the results are incorrect. Basically we are using 4 sorting algorithms in order to calculate how much …

Member Avatar for Narue
0
117
Member Avatar for nandoo

Hi, here i enclosed my coding.i want the dom objects price,qty,oselect,name,sku and upc in the html body tag so that it can be submitted into another pages. here i want each and every element in each row to be collected and sent to the next place not the last element …

0
119
Member Avatar for nandoo

Hi, here i enclosed my coding.i want the dom objects price,qty,oselect,name,sku and upc in the html body tag so that it can be submitted into another pages. here i want each and every element in each row to be collected and sent to the next place not the last element …

0
117
Member Avatar for flame

Hi there! I have installed CuteNews without ANY problems... However... When I posted the code into my webpage for the news to display on it, it did that, but one problem... The news will NOT update itself! I added and even deleted posts, but the changes never take affect! The …

Member Avatar for Black Knight
0
174
Member Avatar for Dani
Member Avatar for Black Knight
0
167
Member Avatar for XxAndyxX

I have a project where I must use pointers to do a search on some accounts I've built up into a vector. My problem is whenever I try to pass the vector to a pointer I get an error. I've tried many different things but to no avail. Maybe one …

Member Avatar for Dave Sinkula
0
219
Member Avatar for mneaker

I have a program due and I cannot figure it out! I have read about 30 tutorials to no avail! I need to have data read into python from an input file. The data is suppossed to be info from a pretend university that only has 10 students. Once I …

Member Avatar for mneaker
0
656
Member Avatar for Tyreses

Private Sub connect_Click() Winsock.RemoteHost = ipadd Winsock.RemotePort = 10101 Winsock.connect End Sub I'm pertty sure the problem is on line two the ipadd if thats supposed to be ipadd or if its supposed ot have something else added.

Member Avatar for Comatose
0
333
Member Avatar for rexian

The page below works perfectly as intended in IE 6.0 but, it does not work in Netscape. Can someone shed some light on this and help me make this work in netscape 7.x? Thanks...... <HTML> <HEAD> <TITLE>Document Title</TITLE> <STYLE> .conts {visibility:hidden} .tab { border-top:solid thin #E0E0E0; border-right:solid thin gray; border-left:solid …

Member Avatar for alpha_foobar
0
117
Member Avatar for MrNiceGuy82

I need a little assistance with finding the square roots of each number entered by the user in a array. I'll copy and paste what i have so far in my function, but i get an error when i try to run the program and it would say: sqrt was …

Member Avatar for Narue
0
2K
Member Avatar for Deathwish

Hey guys, My task is to write a perl program that will read in names/passwords from a text file and from that create user accounts and all sorts of stuff. Now I have been able to do the "stuff" and the only part giving me jip is how to overcome …

Member Avatar for Comatose
0
298
Member Avatar for rharvison

Hi, all. Thie following is an additional step in the program I previously mentioned [and, by the way, thanks for the responses; most helpful!] The final part of this project is to create [I believe it is called a histogram] of the grade frequency distribution. The program asks for grades …

Member Avatar for rharvison
0
150
Member Avatar for rharvison

I need to insert a control-break in an array after every third line. Can someone help with this? Thanks so much. -R

Member Avatar for Dave Sinkula
0
242
Member Avatar for AhmedHan

I want to change cursor position in my C++ program. As you know, C++ does not have any command to do this. By I think, one of the h files can be used for this purpose. My Bloodshed compiler has lots of "*.h" files. But I don't know how to …

Member Avatar for Dave Sinkula
0
4K
Member Avatar for jeymine

Hi Guys, Kindly help me Solve this. I have already worked on the classes that were inherited and attached after the question is the main part of my program. I have bolded the part in the question below where I need help. Thank you so much. The question is: Make …

Member Avatar for marinme
0
179
Member Avatar for Secret Agent

I am looking for the most basic hover over text tip javascript. I found some but were rather odd, one for example required a "transparenet image" therefore messing up the column width. Another didn't like me :) I simply want perhaps a gray border/white background/charcoal gray font color (arial 9px) …

Member Avatar for alpha_foobar
0
307
Member Avatar for jaeSun

ok, call me stupid, maybe i forgot my math: but if a C++ program spits out this: -bash-2.05b$ g++ markoff.cpp -bash-2.05b$ ./a.out x = 1 y = 1 z = 2 x = 1 y = 2 z = 5 x = 2 y = 5 z = 29 x …

Member Avatar for jaeSun
0
469
Member Avatar for jbade

Hi, I am new to ASP.net and I have inherited a web application. Now I have to change the gui and hence the whole navigational flow. I have a top banner. Then I have left side menus and then on click I want to display on the right side some …

Member Avatar for jbade
0
127
Member Avatar for mdbrock7

I am a complete newbie in C++ programming. After a very basic introductory class I am now reading a little more advanced book and trying to teach myself and I am slowly learning. Anyway, the book mentions a method for calculating the cube root of a number but it doesn't …

Member Avatar for mdbrock7
0
417
Member Avatar for JoBe

Hello ladies and gents, I wanted to ask if this piece of code can be written differently then the way I did: [code] template <class V> void sequence3(V &a, V &b, V &c) { V w; while (a > b || b > c) { if (a > b){w = …

Member Avatar for JoBe
0
187
Member Avatar for Daywalker46410

I apologize up front; I'm a VB Programmer trying to pick up C++. I have a very simple program that takes a string input from the user. How can I look at a specific character in that string? VB has the Left(), Right(), and Mid() Functions. Is there something similar …

Member Avatar for Narue
0
3K
Member Avatar for steosaur(oWn)

i have a vector initialized without a size. vector<int> Vector1; i initialized the first 5 values via .push_back() and i am supposed to do this next: Externally initialize(using a single cin statement) the next four items to: 50 65 77 32760 This doesn't seem to work: cout << "Enter these …

Member Avatar for Narue
0
778
Member Avatar for kittie

This program is calculating and displaying the average of 3 groups of numbers in output file. Data is arranged in file so each group of numbers is preceded by number of data items in each group. It works for 2nd & 3rd group but calculation for 1st group is wrong. …

Member Avatar for kittie
0
174
Member Avatar for amarigny

Hello, I am studying C++ at Uni and my coding is not very strong. More to the point I am having issues with my header taking in this string. The code works in a linear non object oriented code but as I am new to data abstraction I as mentioned …

Member Avatar for amarigny
0
198
Member Avatar for Danny

Hi all, I have quite a few testimonials I would like to rotate. Each testimonial is just a block of text. As it stands, all are displayed on every page. I want only one to be displayed. [b]Currently:[/b] I have about 20 pages that all have an include of "testimonials.php". …

Member Avatar for Danny
0
248
Member Avatar for silicon

Hello, I was hoping that someone could help me with this question. We received an extra credit queston which completely bombed on. That wasnt the problem, the problem was that I still cannot explain the questions below and since this was extra credit the professor would not give us the …

Member Avatar for silicon
0
181
Member Avatar for kparnell

I got this assignment to do, but i cant so it, i have tried everything i know in C++ programming and its not working. Can someone help me please. Write a Graphical User Interface program that simulates the activities of a vending machine. The program should allow for full user …

Member Avatar for eagleeye
0
137
Member Avatar for Tetsu

Well I got the password code right, I think. I have a few problems 1) it wont close properly 2) Can someone point me in the right direction to find a tutorial that teach me how to only let the user have 34 tries before it close and also to …

Member Avatar for Tetsu
0
154
Member Avatar for Precis

So I need to write a program that requires getting data from an input file (first name, last name, Student ID, and 4 test grades) and create an outputfil with the first and last names and ID, and then the average of the grades and the final letter grade - …

Member Avatar for marinme
0
163
Member Avatar for bobr_1013

How can I use "cin" to allow entry of an enum type in C++? My code is as follows: enum Cards {TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE}; Cards hand1 = ACE, hand2 = ACE; cout<<"Player#1 - Pick a card (2 - A): "; …

Member Avatar for Narue
0
8K
Member Avatar for Dark_Omen

I want to check someone's ip address when they come onto my website, is there a way that I can do that using c# and asp.net?

Member Avatar for Dark_Omen
0
136
Member Avatar for Layla_2401

Hi all, I have a C project consisting of five files as follows: main.c file1.c file1.h file2.c file2.h I have defined an array in file [B]file1.h[/B] as follows: [CODE]static struct prnc keys[MAXP];[/CODE] the array was populated in file [B]file1.c[/B] Now I need to use the contents of this array again …

Member Avatar for Narue
0
229
Member Avatar for stupidenator

Hey all, For sort of a final project, I want to build a program in Java (if it's possible) that works much like the GMail Notifier except I want to make it popup a notification if I receive a new email in my yahoo, hotmail, or google accounts. Does anybody …

Member Avatar for jwenting
0
224
Member Avatar for mrkumar

I need to create a log in page for new customers, where in they provide their address in the US based on the zipcode. Essentially, if a user fills in a zip code, it should automatically populate the city and state. For some situations, I also want to create a …

Member Avatar for robbyd
0
174
Member Avatar for Gandalf

I have made original Dani instructions in phpBB mode like format that i hope will be of use to you. Here it is: [quote]############################################################## ## Hack Title: vBulletin 3x mod_rewrite ## Author: Dani [url="http://www.daniweb.com/"]http://www.daniweb.com/[/url] ## Contributor: Gandalf [url="http://www.gandalfdir.com/"]Forums Directory[/url] - remake into phpBB mods like format ## Description: make your …

Member Avatar for Dani
0
1K
Member Avatar for shak187

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much apprieciated or can ne1 give me some complted java code to look at

Member Avatar for shak187
0
1K

The End.