288 Discussion / Question Topics
Remove Filter I have a class called Person. I also have a class called Truck, inherited from class Vehicle. I want to overload the iostream operators for all three classes so that I can do statements such as: Person a ; Vehicle b ; Truck c ; cin >> a ; cin … | |
Hey guys, I'm looking at taking a PHP course in the spring. The prof and I get along well, and she said I could waive the college's prerequisites and sign up if I wanted to. The prerequisites (in the college catalog) are a couple of HTML courses. My question is … | |
I'm trying to write an asp.net page that will keep variables using the .value command. It's not working. Here's my code [code=vb.net] Dim custID As Integer Dim noMovies As Integer Dim price As Double Dim discount As Double Dim total As Double custID = Integer.Parse(Me.idTextBox.Text) noMovies = Integer.Parse(Me.numMovTextBox.Text) price = … | |
I'm getting an error in main() saying TitledEmployee is an undeclared identifier? [code=c++]#include <iostream> #include <string> using namespace std ; namespace Employees { class Employee { public: Employee ( ) ; Employee ( string theName , string theSsn ) ; string getName ( ) const ; string getSsn ( ) … | |
Hey guys, I'm supposed to write a program that will calculate the Nth fibonacci number, without using recursion. I have the recursion problem written already, but am having a hard time doing the iterative one. here's my recursion function: [code]int fib ( int n ) { if ( n <= … | |
Hey guys, we were given an opportunity for extra credit in my OOP class. We're going over recursion and my prof said if we could do a project using recursion and do another useing iterative statments, and time them, we would be given extra cred. Is there a way to … | |
Public Class videoBonanzaForm Dim videoBonanza(,) As String = {{"Comedy", "Aisle 1"}, {"Drama", "Aisle 2"}, {"Action", "Aisle 3"}, _ {"Sci-Fi", "Aisle 4"}, {"Horror", "Aisle 5"}, {"New Releases", "Back Wall"}} Private Sub videoBonanzaForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub searchButton_Click(ByVal sender As System.Object, ByVal e … | |
I have a question on my handout for class that says: Justify / refute the statement that theese declarations are equivalent. double speed[1] ; double speed; My guess was they are the same, since, even though speed[1] is an array, it is the same size of just speed. Am I … | |
Hey guys, Could you tell me what is wrong with this part of my code: [code]#include <iostream> using namespace std ; class TwoD { public: TwoD ( ) ; TwoD ( int , int ) ; private: int *m ; int d1 ; int d2 ; }; int main ( … | |
I get error C2143: syntax error : missing ';' before '*'[/code] at the typedef line (and every other line with the word 'string'). ... //File: prob4.h #pragma once //header files + efficiency #include <string> #include <iostream> using std::cin ; using std::cout ; using std::endl ; typedef string * strPtr ; … | |
So, I've ordered two separate books for studying C#, and am sending them both back. One was Murach's C# 2005 and the other is Illustrated C# 2005 by Daniel Solis. Neither of them were written the way I like to learn; I prefer a textbook style of learning with exercises … | |
Where is that thread about the huge star that was like 99999999x larger than our sun? | |
here's my printing code: [code] Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim printlinestring As String Dim horizontalPrintLocationSingle As Single Dim verticalPrintLocationSingle As Single Dim printfont As New Font("arial", 12) Dim lineheightsingle As Single = printfont.GetHeight horizontalPrintLocationSingle = e.MarginBounds.Left verticalPrintLocationSingle = e.MarginBounds.Top PrintPreviewDialog1.Document = PrintDocument1 … | |
Hey everyone, I have an assignment to work on and it's a bit confusing. Here's the problem: [quote]Using dynamic arrays, implement a polynomial calss with polynomial additions, subtraction, and multiplication. Discussion: A variable in a polynomial does nothing but act as a placeholder for the coefficients. Hence, the only interesting … ![]() | |
Hey guys, I am in desperate need of a monitor with the following specs: * 21” or larger CRT * Horizontal Frequency = 30-115 KHz or greater * Vertical Frequency = 50-160 Hz or greater * Recommended resolution of 1280 x 1024 @ 120 Hz / True Color * Required … | |
I'm trying to get totCust and totRev which are declard in videoBonanzaForm to show up in the summaryForm.textboxes I have them declared as friends; i've even tried assigning `me.textbox.text = "1"` and nothing shows up still when I click the Summary button (in videoBonanzaForm). I open the summary form with … | |
Hey guys. I need to add a constructor that takes an int argument, sz, and an array of char of size sz. I then need the constructor to set the first sz members of the private dara array (myArray) to the sz members of the argument array of char. Here's … | |
Could somone give me a hint as to why my division by 0 check doesn't work? [code]istream & operator >> ( istream & is , Rational & r ) { char x ; is >> r.num >> x >> r.den ; if ( r.den == '0' ) { cout << … | |
Hey guys, I have [URL="http://www.spiceworks.com"]spiceworks[/URL] setup on our servers at work and need to setup some dns record to give them friendly names. Right now, we access the helpdesk via server:9000 in a web browser, but I would like to make the access name something along the lines of server/helpdesk. … | |
hey guys. the following code should return a percentage of the current values of the object. I keep getting 0 returned. If this isn't enough code let me know. [code]Money test = ourAmount.percent ( 10 ) ; test.output ( ) ;[/code][code]const Money Money::percent ( int percentFigure ) { return ( … | |
Could someone possibly post a brief explanation of the differences between member and nonmember operator overloading? ![]() | |
Hey everyone. I need to write program that builds an object of Pizza class and then pass that object to Order class. here's my Pizza class: [code]class Pizza { public: void setCheeseToppings ( int ) ; void setPepperoniToppings ( int ) ; void setSize ( string ) ; void setType … | |
Hey guys, I'm looking for something that will work well with implementing an intranet. Could ASP.NET be used for this? Could someone give me some examples of what ASP.NET is used for? | |
Hey everyone, thought I would post the things I have to sell before I put it up on eBay and see if anyone has what I need. *FREE SHIPPING* Have: Brand New - CD-Rom drive ($15) Brand New - 128MB PCIe x16 nVidia Quadro NVS 285, Dual DVI or Dual … | |
I'm looking for a powerful tool to study that will benefit me in the creation of a company intranet. Any suggestions? | |
Hey everyone. Christina's school is having Jersey Day next week and we were wanting to buy her a jersey. Here's the one we want: [URL]http://www.footballfanatics.com/COLLEGE_West_Virginia_Mountaineers_Ladies/Nike_West_Virginia_Mountaineers__Number_10_Navy_Blue_Ladies_Replica_Football_Jersey[/URL] We can't find it in stock ANYWHERE lol. We need a Small and everywhere is sold out of them. :( Can the geeks unite here … | |
Hey guys, I'm posting this in two different forums, since there are two forums for Server questions. Here's the problem I'm having. I've created a software package in Group Policies to distribute to the computer when it boots up. It works fine, but for only one computer at a time. … | |
Hey guys, I keep getting a link error in my code. It says this: [code]1>prob4.main.obj : error LNK2005: "private: static int HotDogStand::totalSales" (?totalSales@HotDogStand@@0HA) already defined in prob4.func.obj[/code] Here's my code, maybe someone can help me out. [code]#pragma once #include <iostream> using namespace std ; class HotDogStand { public: HotDogStand ( … | |
is there a way to make this: [code] If dvdRadioButton.Checked = False And vhsRadioButton.Checked = False Then MessageBox.Show("Format not specified", "Unspecified format", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1) dvdRadioButton.Focus() End If If movieTitleTextBox.Text = "" Then MessageBox.Show("Movie title not entered", "Movie Title", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1) movieTitleTextBox.Focus() End If[/code] throw a single error message … | |
We're discussing constructors. My problem is this: Define a class called Month that is an ADT for a month with one variable as int to represent a month. Include all of the following member functions: a constructor to set the month using the first three letters in the name of … | |
Anyone want to show me how to create a DNS record/records that will allow our users on the local network type something to the effect of: server1/helpdesk and be able to connect to server1:9000/helpdesk ? | |
How do you allow a user to change the image displayed in the picture box? It's part of an extra credit assignment, but I don't remember reading anything in the book about it. :( | |
I'm considering writing a program for my economics class that will allow me to use the multiple variations of the elasticity equation. How can I compile my code to an app that I can place on my desktop and simply double click to make it run? I don't want to … | |
Ok, so my birthday is coming up and my mom said she would pay half on an xbox 360 (elite edition probably), or buy me the new MorotolaQ. I chose Moto over Blackberry because with Blackberry you have to have the Blackbery Enterprise Server to hook it up to Exchange … | |
Hey guys, I'm posting this in two different forums, since there are two forums for Server questions. Here's the problem I'm having. I've created a software package in Group Policies to distribute to the computer when it boots up. It works fine, but for only one computer at a time. … | |
ok so i'm new to vb. what is wrong with this code at line 28: Public Class Form1 Const DISCOUNT_RATE As Double = 0.1 Const RENTAL_RATE As Double = 1.8 Dim totSales As Integer Dim totIncome As Double Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … | |
So here's the deal; I didn't get to take the Calc teacher I wanted and I got put in a class with the only teacher who is teaching it this semester. Turns out, I haven't learned much of anything other than deffinitions. I don't doubt I could pass the class, … | |
My prof is touching on information hiding, and good programming techniques. He said it's a good idea to keep as much of the user interface (i.e., couts) in main, and then modify object variables through the use of functions. Here's what I want to do: I'm starting on a program … | |
Hey guys, Just got started on this, and I keep getting an error saying Missing ";" before "." starting at line 25 and pretty much on all of my functino calls in main. Anyone know what I'm doing wrong? Here's my code: //driver - main #include "prob6.h" int main ( … | |
Hey everyone, I'm back in C++ this semester; Last semester I went through Structured C++ (and passed with a 4.0; many thanks to all of you!) and this semester I'm in OOP. I don't have sample code yet because I haven't started. But I was talking to a classmate, and … | |
I'm seriously considering [URL="http://www.altiris.com/"]Altiris[/URL] for our corporation; more specifically, the [URL="http://www.altiris.com/upload/multimedia/clientmgmt/index.html"]Client Management Suite[/URL]. We have 5 offices with ~100 computer users. Has anyone used this before? Is it pretty user-friendly? And is it worth it's weight in $$? Also a harder question: What is the difference between this and [URL="http://www.dell.com/content/topics/global.aspx/sitelets/solutions/management/openmanage?c=us&cs=555&l=en&s=biz&redirect=1"]OpenManage … | |
[B]Bragging: [/B]For the first week (starting tomorrow) I'm headed to Savannah, GA to train directly under a CCIE for 4-5 days. Can't wait. [B]Bragging again: [/B]The day after my planned return, Tina, her family, and myself are going to Cedar Point and Sandusky, OH for 3 to 4 days! Woohoo! … | |
We have a HP designjet 1050c printer here at work. We can print to it fine using batch files, but if we send more than print at a time, the printer doesn't cut the sheet before going to the next. any clue? | |
so if i buy a sweet soundcard, but my headphones are USB, will i get any benefit from the soundcard? or also, if I had a standard hookup, but hooked them into my speakers, would i see any benefit? heeelllllp | |
Could someone point me to a tutorial on how to write a vbscript that will auto install software when the user logs on? I will be applying this to a GPO. Also, will I need a (not sure if this is the right name for it) answer file/script to attach … ![]() | |
What can vbs do that .bat files can't? | |
made it lvl28 and quit... spent like 20 minutes on that level. [url]http://www.addictinggames.com/bloons.html[/url] | |
So yeah, I got accepted into a [I]NASA IV&V and Northrop Grumman[/I] internship; just wanted to brag a little :) Haven't heard a lot about NG, but their website is impressive. |
The End.