288 Discussion / Question Topics

Remove Filter
Member Avatar for Duki

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 …

Member Avatar for John A
0
93
Member Avatar for Duki

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 …

Member Avatar for ryan_vietnow
0
262
Member Avatar for Duki

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 = …

Member Avatar for SheSaidImaPregy
0
97
Member Avatar for Duki

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 ( ) …

Member Avatar for Duki
0
91
Member Avatar for Duki

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 <= …

Member Avatar for Duki
0
758
Member Avatar for Duki

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 …

Member Avatar for Duki
0
95
Member Avatar for Duki

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 …

Member Avatar for waynespangler
0
123
Member Avatar for Duki

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 …

Member Avatar for Narue
0
116
Member Avatar for Duki

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 ( …

Member Avatar for ndeniche
0
87
Member Avatar for Duki

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 ; …

Member Avatar for Duki
0
909
Member Avatar for Duki

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 …

Member Avatar for Samson_ZXL
0
70
Member Avatar for Duki

Where is that thread about the huge star that was like 99999999x larger than our sun?

Member Avatar for Lardmeister
0
108
Member Avatar for Duki

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 …

Member Avatar for Duki
0
150
Member Avatar for Duki

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 …

Member Avatar for iamthwee
0
162
Member Avatar for Duki

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 …

Member Avatar for Duki
0
60
Member Avatar for Duki

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 …

Member Avatar for Duki
0
199
Member Avatar for Duki

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 …

Member Avatar for Dave Sinkula
0
91
Member Avatar for Duki
Member Avatar for Duki

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 << …

Member Avatar for Duki
0
147
Member Avatar for Duki

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. …

0
56
Member Avatar for Duki

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 ( …

Member Avatar for Ancient Dragon
0
205
Member Avatar for Duki

Could someone possibly post a brief explanation of the differences between member and nonmember operator overloading?

Member Avatar for iamthwee
0
93
Member Avatar for Duki

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 …

Member Avatar for Duki
0
189
Member Avatar for Duki

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?

Member Avatar for binoj_daniel
0
112
Member Avatar for Duki

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 …

Member Avatar for Duki
0
48
Member Avatar for Duki

I'm looking for a powerful tool to study that will benefit me in the creation of a company intranet. Any suggestions?

Member Avatar for alpha_foobar
0
97
Member Avatar for Duki

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 …

Member Avatar for p01ar0id-h3ad
0
176
Member Avatar for Duki

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. …

Member Avatar for Duki
0
138
Member Avatar for Duki

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 ( …

Member Avatar for Duki
0
92
Member Avatar for Duki

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 …

Member Avatar for matale
0
114
Member Avatar for Duki

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 …

Member Avatar for Duki
0
141
Member Avatar for Duki

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 ?

0
42
Member Avatar for Duki

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. :(

Member Avatar for williamrojas78
0
111
Member Avatar for Duki

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 …

Member Avatar for Duki
0
85
Member Avatar for Duki

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 …

Member Avatar for Duki
0
100
Member Avatar for Duki

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. …

0
53
Member Avatar for Duki

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 …

Member Avatar for cutepinkbunnies
0
194
Member Avatar for Duki

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, …

Member Avatar for Duki
0
88
Member Avatar for Duki

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 …

Member Avatar for Dave Sinkula
0
307
Member Avatar for Duki

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 ( …

Member Avatar for Duki
0
133
Member Avatar for Duki

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 …

Member Avatar for Duki
0
225
Member Avatar for Duki

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 …

Member Avatar for AdrianC|Uk
2
142
Member Avatar for Duki

[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! …

Member Avatar for Ancient Dragon
2
54
Member Avatar for Duki
Member Avatar for Duki

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?

0
38
Member Avatar for Duki

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

0
31
Member Avatar for Duki

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 …

Member Avatar for iamthwee
0
218
Member Avatar for Duki
Member Avatar for Duki

made it lvl28 and quit... spent like 20 minutes on that level. [url]http://www.addictinggames.com/bloons.html[/url]

Member Avatar for ndeniche
3
172
Member Avatar for Duki

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.

Member Avatar for Duki
0
103

The End.