199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rmcummings

I can not get the program to read the entire sentence. The main is part of the assignment. Any suggestions would be a great help! [CODE]#include<iostream> using std::cout; using std::cin; // Prototype for the longest_word function that you need to write. // Add consts where necessary to obey the principle …

Member Avatar for Murtan
0
111
Member Avatar for infern0

Here is the piece of code I am having problems with. It is supposed to let me look up any items I put in the program previously. If the user did not enter a product earlier it should say "product not found". My problem is that it remembers the first …

Member Avatar for Murtan
0
112
Member Avatar for darkwing229

HI everyone! I'm Darkwing. Me and a crew of ppl, mostly teens :D, are willing to create an RPG named "Phoenix Dream". The thing is, i'm still learning, really, just starting to learn to program, so i'd need help from someone experienced enough to deal with 3D rendering and creation …

Member Avatar for zackzak
0
234
Member Avatar for kool005

Hi, I have some vertices and edges and i have to create an adjacency list. I have taken an array and stored all vertices in the array. Now i need to add the edges to the graph. The input is given as a text file. When i read "a b …

Member Avatar for mellowmike
0
145
Member Avatar for neighbordave

I am totally lost when it comes to assembly language. My teacher just decided one day at the end of this semester to give us a programming assignment in assembly language and has barely taught us anything. I have to use five subroutines: main, add, subtract, multiply, divide and cannot …

Member Avatar for ProgramIT
0
1K
Member Avatar for Gem74

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 …

Member Avatar for Murtan
0
277
Member Avatar for 0xCoTiNe

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 …

Member Avatar for Dave Sinkula
0
115
Member Avatar for wingers1290

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?

Member Avatar for ddanbe
0
167
Member Avatar for josh48

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.

Member Avatar for josh48
0
111
Member Avatar for T-Dogg3030

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

Member Avatar for T-Dogg3030
0
150
Member Avatar for lewashby

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.

Member Avatar for ShadyTyrant
0
90
Member Avatar for sammen89

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

Member Avatar for Um num num
0
158
Member Avatar for zackzak

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?

Member Avatar for zackzak
0
153
Member Avatar for Dscyth3

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 …

Member Avatar for kudresov
0
84
Member Avatar for dougcb68

I'm a newbie trying to modify the code in an AJAX tutorial to load data from an XML file, and it is not working. The code is in a php file that is invoked with the URL: [icode]getXMLTest.php?showName=photoShowTest.xml[/icode] The code I've written (mostly copied from the tutorial, actually) is: [code] …

Member Avatar for Airshow
0
207
Member Avatar for imclumsy

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 …

Member Avatar for imclumsy
0
153
Member Avatar for beforetheyknew

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 …

Member Avatar for imclumsy
0
113
Member Avatar for Moonrise_state

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 …

Member Avatar for Moonrise_state
0
113
Member Avatar for blur_guava

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 …

Member Avatar for ddanbe
0
138
Member Avatar for punzo

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!

Member Avatar for fpmurphy
0
85
Member Avatar for coldkiller

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 …

Member Avatar for Frederick2
0
324
Member Avatar for NickT80

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.

Member Avatar for imclumsy
0
97
Member Avatar for mahela007

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 …

Member Avatar for vegaseat
0
1K
Member Avatar for carlcarman

Hi I am having a problem with getting my output to display a dollar sign. I have the program running the way it is supposed to, it just won't format for currency. I have tried a couple of different methods and do not understand why the current code does not …

Member Avatar for carlcarman
0
168
Member Avatar for Drahmina

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 …

Member Avatar for Drahmina
0
122
Member Avatar for kamikazekazuo

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 …

Member Avatar for m_usman
0
259
Member Avatar for adamwilden

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 …

Member Avatar for adamwilden
0
546
Member Avatar for mxarievilo

Dears Sirs, I'm brazillian, sorry my horrible english. I've been trying to do a quey that shows registers with 15 days remaining ---------------- I see an error: [CODE]1261306544 2009/12/20 Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Unknown<br/><b>Description:</b> Unknown' in C:\wd\xampp\htdocs\nf\admin\consulta_vencendo.php:9 Stack trace: #0 C:\wd\xampp\htdocs\nf\admin\consulta_vencendo.php(9): com->Execute('select * from P...') #1 …

Member Avatar for mxarievilo
0
1K
Member Avatar for William Byrd II

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

Member Avatar for jonsca
0
107
Member Avatar for Kruptein

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 …

Member Avatar for Kruptein
0
87
Member Avatar for xfrolox

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 …

Member Avatar for xfrolox
0
113
Member Avatar for mymyzzz

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

Member Avatar for muzamal
0
236
Member Avatar for noofin

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 …

Member Avatar for Bench
0
93
Member Avatar for IcetalkeR

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 …

Member Avatar for jonsca
0
370
Member Avatar for GL.Za

Hi everyone. Can someone please recommend a SQL editor (other than SQL Developer) that will allow me to test out my SQL statements & queries outside of the DB environment. I will predominantly be working in a windows environment, but may move to a linux environment at times. Will be …

Member Avatar for birdman32
0
167
Member Avatar for dss

Hello, I have a youtube script but it need ffmpeg on server. Can anyone let me know how to install ffmpeg on server where and what i need for that. Thank you

Member Avatar for diafol
0
144
Member Avatar for Shanti C

Greetings For all..... I have number of products in mysite...I want to show short url for all my products in my site...How to make them dynamically...Is there any thirdparty tool??? Or any information would be appreciated.. Thanks in advance.... Shanti..

Member Avatar for diafol
0
87
Member Avatar for saktiyantra

Hello Everyone, I am new to Javascript and would appreciate any help here. My client has a requirement of a search function which is specific. That is, if a user puts in the word "lexus printer" in the search field the result for that would be "toner123" and it should …

Member Avatar for saktiyantra
0
119
Member Avatar for itsrahulk

Hi, I am having xampp installed on my windows xp service pack 3 machine.i am trying to do the url rewrting on local system in .htaccess file.but there is no output of the url rewriting. So i want to know, is url rewriting possible on windows having apache webserver installed? …

Member Avatar for jcanaway
0
104
Member Avatar for hallyhey

I am trying to learn this but I am so not logical and I'm lost as all hell. Anyway I'll just copy paste what I've already put on yahoo answers. Can you help me figure this out this php? So far this is what I have and I'm lost on …

Member Avatar for jcanaway
0
99
Member Avatar for Democles

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 …

Member Avatar for slate
0
284
Member Avatar for wingers1290

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 …

Member Avatar for sknake
0
265
Member Avatar for xuexue

hi there, need some help: i have a command button in which it will generate a textbox whenever it is clicked, thus, if it is clicked 5 times, then 5 textboxes will appear. please help me with this, i want to code this using PHP or even HTML..

Member Avatar for sibizulu
0
141
Member Avatar for new programer

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 …

Member Avatar for new programer
0
110
Member Avatar for Ari5555

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 …

Member Avatar for sknake
0
83
Member Avatar for saadikhan

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 …

Member Avatar for sknake
0
741
Member Avatar for Sandar Khin

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 …

0
59
Member Avatar for GTR3521

This is my database it executes with no error. [CODE]--Kudler Fine Food Database Create Database [VALMKudler_Fine_Foods] On Primary (NAME=VALM_KudlerDB, FileName="C:\POS410\VALM_KudlerDB_dat.mdf", SIZE=10MB, MAXSIZE=100MB, FILEGROWTH=10%) --Kudler Fine Foods LOG ON (NAME="VALM_KudlerDB_log", FILENAME="C:\POS410\VALM_KudlerDB_log.Idf", SIZE=5MB, MAXSIZE=100MB, FILEGROWTH=20%)[/CODE] This is my table it executes with no problems [CODE]--Job Tittle Table CREATE TABLE [VALMKudler_Fine_Foods].dbo.tbljobtitle ( jobID …

Member Avatar for GTR3521
0
221
Member Avatar for Towely

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 …

Member Avatar for rbrt13
0
1K
Member Avatar for squigworm

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

Member Avatar for lotrsimp12345
0
156

The End.