- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
IT intern
- Interests
- pc gaming, sports
14 Posted Topics
I'm retarded and can't find this on the net. How do I pass data that i've stored in a variable via a textbox into a MessageBox? [CODE] MessageBox.Show("Name:", BName, MessageBoxButtons.OK, MessageBoxIcon.Information) [/CODE] When I run this, BName does not show the name. BName is a name from a textBox BName. | |
I am creating a program that will install multiple programs, because I build new computer quite often. For example "MyInstallProgram" will launch and allow the user to select which programs (MSOffice, Acrobat, WinZip etc.) to install. When compiling the program, what code can I use that will insert a time … | |
I'm having trouble reversing a string. Me thinks I've stared at this too long. [CODE] Private Sub btnReverse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReverse.Click Dim strOrgText As String Dim strRevText As String Dim array As Array strOrgText = Me.txtTheString.Text array = strOrgText.ToCharArray() strRevText = array.Reverse 'Here is … | |
I have a spreadsheet that has many rows and columns of data. Also, 20 fields need to be evaluated with around 15 variables. If I were to create a program that filters this data and finds the lowest cost option, how would I go about doing that? I have heard … ![]() | |
This program is supposed to show the adjacency lists that are built given the input pairs:: 0-2, 1-4, 2-5, 3-6, 0-4, 6-0, and 1-3 I am having trouble with the syntax of my code. Could someone please help? [code] #include <iostream> using namespace::std; int V; struct node { int v; … | |
If I were to overload the subscript operator, aka '[]', it would probably look something like this: [code] int &operator[](int); [/code] If I filled this array with 10 digits.. 1.2.3.4, etc... How could I return the largest digit, and then the next largest digit? etc... I'm not sure if a … ![]() | |
Re: Are you trying to write this program in C or C++? Have you tried to write the program yet? Show us what you have so far. | |
any idea what i am doing wrong? [quote] Error 3 error LNK2001: unresolved external symbol "private: static float SavingsAccount::annualInterestRate" (?annualInterestRate@SavingsAccount@@0MA) Savings.obj [/quote] SavingsAccount.h [code] #ifndef SAVINGSACCOUNT1_H #define SAVINGSACCOUNT1_H using namespace std; class SavingsAccount { private: static float annualInterestRate; float savingsBalance; public: SavingsAccount() { annualInterestRate = 0.03; savingsBalance= 2000; } float … | |
This is a simple Rectangle calculator that uses classes. Ok, so I keep getting errors like. [quote] Error 1 error C2660: 'rectangle::getLength' : function does not take 0 arguments Error 2 error C2660: 'rectangle::getWidth' : function does not take 0 arguments Error 3 error C2660: 'rectangle::getLength' : function does not … | |
i'm very much a newbie, so pardon me if i am breaking programmer ettiquette, but could someone debug this, please? i could use a lift after 8+ hours workin on this... this is player.h [CODE]#ifndef PLAYER_H #define PLAYER_H using namespace std; class player { private: char* name; int bankroll = … ![]() | |
Re: you need [CODE]#include <iostream>[/CODE] at the top of your program | |
I am trying to create a blackjack deck of cards (blackjack uses five decks... 5*52 = 260) Suit is irrelevant in blackjack. How do I create my deck? [CODE]#include <iostream> using namespace::std; int main() { char thedeck[13]={'2','3','4','5','6','7','8','9','0','J','Q','K','A'}; char deck[260]; for (int i=0;i<20;i++) { for (int j=0;j<13;j++) { thedeck[j]; } } … ![]() | |
I am creating a VB.NET program that will automate several installation programs with the click of one button. In creating the program, I am utilizing macro's to record mouse movements, clicks, etc. to breeze through and automate the stupid installation wizards. The macro program that I use creates an .exe … | |
I am creating a VB.NET program that will automate several installation programs with the click of one button. In creating the program, I am utilizing macro's to record mouse movements, clicks, etc. to breeze through and automate the stupid installation wizards. The macro program that I use creates an .exe … |
The End.