132,726 Archived Topics
Remove Filter ![]() | |
need help! need to prevent withdraw function from occuring when savings balance is below 25. The program will run, although when the balance gets below $25 it just states "account inactive" which is fine but then the menu does not display again. This is what i have so far: int … Software Development c++ | |
I need to scan a crossword king of thing like this: [CODE]a b c o d e f g h i j k l m l n o p q r s t r z a l q w s x c d e r f v e b g … Software Development c | |
Hi, This is basically a continuation of my last thread but under a diffrent topic. I want to be able to save basic information entered in my application as a .'help' file for example, when i open that file te information will be viewed in my application. Any ideas? | |
How do I store the value after the orginal value has been calculated. For example I minus 10 from 100, and I want 90 to be stored and in the next calculation another 10 wil be minued from 90 not the 100 which the original. Software Development pascal | |
Hi, my code prints out the number of times a letter is typed. I can get it to print out the correct info, but when it deals with a white space, it will print out the list for every white space. how can I deal with this? [CODE] #include <iostream> … Software Development c++ | |
Does anyone know where I can find some sort of UML (unified modeling language) tool for python? I think it might help me understand OOP a little better, but I don't really know, I just read about UML and that's all I know. Thanks. | |
[B]Background:[/B] Hey guys I'm making the first part of a greater program. We are instructed to create a program that stores a list of all our CD's. It has to be created in 3 different classes... that obviously link together. [B]My Question[/B] How do I create an array that is … Software Development java | |
I am creating a game like the text-based game Zorg using a console program. However, I don't know how to create a save file. How can I do this using the player's name to restore the variables I need? | |
Hey, I'm working on a problem and what I need the program to do is to add up the numbers in the array NOT add up how many numbers there are. There are 5 total numbers that a user will input. The counting of the numbers will be in a … Software Development java java-swing | |
Hi guys, I have this project question that is just REALLY boggling me and I am getting nowhere :( The project description is really large and I can't post all of it hear but I'd just like to post the part I'm on and how far I've gotten with the … | |
So the program I have is supposed to read from a file take that data (which is split into three parts divided by a space). These Strings need to be read and stored in an appropriate field. Now i dont know how to do this, I've tried with an array … | |
Hi again, I have a small application that calculates time left over in a day after events. The problem I have is that if either the starting time or ending time is 4.10 or 5.10 I get slightly incorrect answer. Eg. if the only event starts at 4 and ends … Software Development java | |
Hi everybody. I have this problem that is puzzling me and I am unable to solve it at all. I have two files and they are: [COLOR="Red"]ClLib1 ClassLibraryApp1[/COLOR] As the name suggests, the "ClLib1" holds the DLL file, whereas the "ClassLibraryApp1" is a Windows Application used to test the DLL … Software Development | |
Can anyone give me a solution to the following problem? [code=syntax]<root> <elem1> <titel><bold>1.<tab/>The text <italic>of the</italic> headline</bold></titel> </elem1> <par>...</par> <par/> </root> [/code] Should become the following structure (attention: double bold-element): [code=syntax]<root> <elem1> <titel> <nummer><bold>1.</bold></nummer> <text><bold>The text <italic>of the </italic> headline</bold></text> </titel> </elem1> </root> [/code] Thanks a lot! Software Development xml | |
This is 1 of my list of project to move a mouse pointer in result window without any help from the library,header file or built in function and using only your logics.Please help me and please tell something that is possible in Turbo C++(I know Turbo C++ is a old … Software Development c++ | |
I need to write a program that takes in an input using JOptionPane and make sure it is more than 15 characters, then count the number of uppercases in the phrase. Please help desperate student. Software Development java | |
I've been trying to read up about how tkinter (or more accurately Tk) works on windows AND linux. Here's what I've understood so far. Tk is a predefined set of widgets. That is stuff like text boxes, check boxes, drop down lists etc. Tkinter is just a way of translating … Software Development operating-system python tkinter ubuntu | |
I have a login form created in VS 2008 and I want it to run an Outlook 2007 addin i created in C# if the login credentials are correct. So the basic process would be to 1. Enter login details 2. Click Login button 3. If correct details, run Outlook … Software Development microsoft-office | |
Not sure what's wrong... I keep gettin this error and I don't know how to solve it... error C2065: 'AveXYZ' : undeclared identifier can someone help me please? //----------------------------------- #include "stdafx.h" #include <iostream> #include <cmath> using namespace std; //----------------------------------- float Display(int x, int y, int z); float ComputeAve(int x,int y,int … Software Development c++ | |
Hi Folks, I've just upgraded an old VB6 app to VB2008 - all has gone well and I'm pleased with the new .net features. However I need to holds the common settings for all of the apps ona server (UNC path). Previously I used an ini file on the server … Software Development vb.net web-server | |
[December] 5. Greetings and salutations! My first visit here a few weeks ago was very helpful and friendly thanks to dkalita. I’ve been moving forward on my own since then, but it appears I have run into another dilemma. I have a short program listed below. It compiles fine. The … Software Development c++ | |
I have the following code: but for some reason it just won't work if I touch the i the query self works, cause if I just do .Append(str(i)) without the split strip it returns all the tables.. [code=python] def mysql_table(self): self.list_box_3.Set([]) try: self.cursor.execute("SHOW TABLES;") self.query = self.cursor.fetchall() except: self.log("error") for … Software Development python | |
im making a tool for a gamer to help others but it has 3 forms 1 appear - 2 and 3 are hide they can change but how i do that when 1 form closes all close ? no only form 1 to close cuz if others close they are … Software Development vb.net | |
i have no clue how to sort using the array. it is not 2d. this is what i have [code] for(int i=1; i <=num; i++) { do{ cout <<"enter score " << i << ": "; cin >> scores[i]; if((scores[i] <= 0)||(scores[i] >=100)) cout << "invalid score\n"; }while((scores[i] <= 0)||(scores[i] … Software Development c++ | |
I have a very simple question, which I solved yesterday but forgot how I did it today! LOL So it is like this: I have a program written in C++ which in CMD writes: " Type your name to proceed"... And in the program i set a special name, and … | |
I'm writing a program and right now i need to get definition of a word user enters. for example users enters a sentence : Gosh C# sure is fun. and after i split it i need to find the definition of fun. I tried fething .html of a definition sucks … | |
I have been contemplating on what would be best, when it comes to learning. What I mean by that is, I have a certain job. The goal in that job is to learn python, because the job uses python django and a few other languages to complete websites. I do … Software Development engineering python python-django web-server | |
Hi, I am writing a program to store basic information such as name and address but i want to be able to store this information as a separate file. So for example i could fill out the Name as 'Mary' and then save this as an executable file which I … | |
HI all, First of all: I was reading about constant arrays in a book and I didn't really get the idea behind it's use or how it functions though I do understand that the values of the array items is not going to change .. help clarify this issue please … Software Development c++ | |
What is the latest recommended method for having multiple client desktop application pass information to a server application located across the internet? I am using c# and Vis studio 2008, and not sure if SOAP is appropriate or maybe SOAP has been superseded by WCF. Or maybe there are other … Software Development client-server | |
Hello guys, I have a TCP Listener Server which listens to requests and replies them. It is working fine in a particular network. But what if i would need to make it available for everyone (my clients) over internet to connect to it and send receive messages/data? My current code … Software Development client-server lan-wan tcp-udp | |
Hi all Plz help me about media streaming.I want to play files that transmit from 'rtmp' link at my java application program.I have a program that play from 'http' link.Code is here [code] import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.media.*; //import com.sun.media.protocol.rtsp.DataSource; import java.net.*; public class MediaPlayerTest … Software Development http-protocol java java-swing | |
I'm currently working on a project that simplifies and adds two user-defined fractions. The teacher specified that we use a function with the prototype: [code] Fraction addfractions(const Fraction& f1, const Fraction& f2) [/code] My problem is, I can't find any information on this Fraction data type that he is making … Software Development c++ | |
Hello, I have been trying to figure this out for several hours and would so so so so greatly appreciate some help.. This is the error message I am receiving when I try to compile my program.. /Barclay_Colin_Assign7_Final.cpp:393: error: no matching function for call to 'bookinfo(int&, char [51], char [14], … | |
Hello, I've stumbled upon question I can't solve on my own. What I need is to write a program in python that would perform selection sort, but here's trick - it has to be recursive. So, for example I have l = [3,2,1] after using sort(l), l = [1,2,3] I've … Software Development python | |
Hi, I have a program, which uses a vector to store some pointers. The program works fine. I'm trying to convert it to use a doubly linked list now though. At the top of the program I changed: [code] vector<Diary *>vectorname; [/code] to [code] #include <list> list<Diary *>vectorname; list<Diary*>::iterator i … Software Development c++ linked-list | |
Hello! There is possible to download automatic speech recognition engine Sphinx4 in two versions, one is bin, the other is src. It is explained how to build Sphinx4 engine with Ant here: [url]http://cmusphinx.sourceforge.net/sphinx4/#how_build[/url] . However there are many applications which use this Sphinx4, e.g. HelloDigits. I'd like to create my … | |
So for one of my university projects we have been assigned a problem to complete. I have the code working fine for the example output provided however I just need some help regarding a few errors that need fixing with different inputs. I am not asking for you to do … Software Development python ![]() | |
Hey everyone, so I am having a really annoying problem with my code. The goal of it is to be able to read a text file of an unknown length (it's more or less a class roster w/ scores) and calculate and display the average of each student. The code … Software Development c++ file-system ios | |
Hi all, I am stuck at a very basic problem. I had a quite big function which I broke into 3 parts to make is more specific. Now, there is a part of the code which assigns values to most of the variables... when I execute the program, I am … Software Development | |
I'm using [B]remove(inputPath.c_str());[/B] to remove a file after a while loop is completed, but the file remains. I'm using Vista and logged in as an administrator and the file is located in my home folder. Any help would be appreciated. Thanks in advance. [code=c] #include <cstdlib> #include <iostream> #include <fstream> … Software Development c++ | |
I am using jGrasp IDE and i'm having trouble with the compiler i keep getting this error ----jGRASP exec: g++-3 -g C:\Users\Joe\Documents\Downloads\testfile.cpp ----jGRASP wedge2 error: command "g++-3" not found. ---- This command must be in the current working directory ---- or on the current PATH to use this function. ---- … | |
Hello all!! I've been working on this code for a while now and I'm still lost. Can anyone tell me what's wrong with this code please??? I know Line 44 is missing something but I'm not sure what goes there, here is the pseudocode as well: /* pseudocode for Binomial … | |
For those of you that are familiar with wx... I'm just dipping my toe into the world of wxPython and I've been trying to put together a very simple Wizard app. Right now I have code that is working properly, but I'd like to know how I can change the … Software Development python | |
Hello I have an application in vb6 that works on MSAccess 2003. And now I have to change connection to SQL Server 2005. I changed connection string to: conn.Open "Driver={SQL Server}; Server=server; Database=Base; UID=ID; PWD=pwd" I open recorset like this Set rs = cnServer.Execute("SELECT * FROM tbl") and it is … Software Development visual-basic | |
-x means (0-x) or means (-1*x) because I want to overload operators, which one is necessary to overload if i would like to make -x understanable for the compiler? I have a user defined type: real and I have operator overloading: real operator+(real x1, real x2); I also have constructor … Software Development c++ | |
Hi, I have a simple three table database in access that records events, athletes and times. I am fine getting data from one table but not sure how to get data from two different tables that relate to each other. For example the Time table has time attributes and a … Software Development | |
Well, I am making a tic-tac-toe game, and I need a way to make it so when the person enters their name it adds a ".txt" to the end of their name. For example: What is your name? Robert *ifstream infoout("Robert[COLOR="Red"].txt[/COLOR]");* The .txt highlighted in red is what I need … Software Development c++ | |
I have to use a very simple data structure consisting only two double type data members (like complex numbers). I have written a class because it is practical to handle that object, and it is also usefull for me to overload all overloadable operators and define constructors and friend functions … Software Development c++ data-structure | |
Hey guys, I know the title isn't possible, but I'd like to here how you'd do it then. Suppose we have this code: [code=cpp] Class Foo {public: int x; }; //somewhere in the code.. int main() Foo one, two; one.x = 10; two.x = 20; Foo *a = &one; Foo … Software Development c++ |
The End.