210 Archived Topics
Remove Filter Hey everyone, I have Vista installed on my C: partition and XP installed on G: Every time I reboot, the PC goes straight into XP, with no option for Vista. How can I make it to where the computer gives me the option at boot? | |
Hey everyone, I've been the IT at my workplace for about 2 years now. We use a piece of software that was developed in house by one of the previous ITs (about 6 years ago), and I think it was developed in VB6. We need to modify a couple of … | |
Hey all, I have a ViewSonic E90FMB 19" CRT monitor w/flat screen. I've used it a lot for about 2 straight years. I now have a lap top and the monitor is sitting in my bedroom doing nothing. Still has great picture. I am wanting to get rid of it … | |
Hey everyone. I have a program that will load project data according to the project number selected. One of the fields associated with the project number is the project manager. I have another table called Contact which is the contact information for the project mangers. I have a link setup … ![]() | |
I want to connect my PC to my TV. I have an s-video capable graphics card, but is this the best way? I want the clearest picture possible. Would a tv-tuner card like the Radeon Theater or All in Wonder cards work for better for this? | |
Ok, I'm going post all of my code, and hopefully someone can tell me where my error is at. I'm guessing I need to do a cin.ignore() somewhere, but I'm not sure where. I've tried it in a couple of places, but nothing has fixed the problem completely. [code=c++]#include <string> … | |
Hey everyone... could someone tell me why this isn't working? I get "The specified path could not be found." when I run it. [code]@echo off REM########################################################################### REM Author: Caleb REM Date: 11-14-2007 REM Contact: - REM Description: This .bat file is to copy necessary .cui, .mnl, and .mnr files from … | |
Hey guys, Here's my code: [code=c++]#include <iostream> using namespace std ; template<class T> class Pair { public: Pair ( ) ; Pair (T v1 , T v2 ) ; void setFirst(T newV ) ; void setSecond(T newV ) ; T getFirst() const ; T getSecond() const ; private: T first … | |
How important are data structures in C++? I'm majoring in networking and going to grad school for MISM with a focus in networking. If I have a firm understanding of C++ concepts such as encapsulation, inheritance, recursion, polymorphism, templates, and exception handling will topics in data structures benefit me at … | |
Could someone explain the difference between Overloading, Redefining, and Overriding functions? A nutshell answer will work fine; I just need something to stick in my brain for tomorrow's test. I know the concepts behind these tools, but I just need a simple way of defining the difference between them. | |
Hey everyone, I'm still tweaking the attributes but here is what I've got: [B]All races:[/B] dmg = rand, where 0 < r < str [B]Human[/B] 25% chance of blocking 5% chance of double attack (attack x2) 10% chance of dmg+60 [B]Elf[/B] 5% chance of blocking 35% chance of double attack … ![]() | |
Hey guys, Could someone show me how to write a batch file to install software? I just need something very basic that, when run, will auto install the software. I know it isn't that hard, but I don't know how. :( thanks! | |
[code=c++]#pragma once #include <string> #include <iostream> using namespace std ; class Document { public: Document ( ) ; Document operator= ( const Document & d ) ; void setText ( ) ; string getText ( ) ; protected: string text ; } ; #include "document.h" Document::Document ( ) : text … | |
Is there any reason to check for self assignment, if you're not using array's or pointers, when overloading the = operator? For example, if the only datatypes in Vehicle are int cylinders and string manufacturer, do I really need to check before assigning? If so, what's the point? | |
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 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 … | |
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. 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 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 … | |
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 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 … | |
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 … | |
The End.