199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VernonDozier

I am working on a program where there are several tasks that take time that users can implement. I would like a progress bar to pop up to inform the user how far the task has gotten. When the user presses a button on the main frame, I want a …

Member Avatar for VernonDozier
0
173
Member Avatar for wmuldoon

I'm currently trying to write a shell script at work that would loop and allow me to enter the date, and the ad number of a PDF file, that would then copy that ad into a designated file and I can't get it to run correctly heres the code: [code] …

Member Avatar for wmuldoon
0
100
Member Avatar for marcmm

Ok... I have another problem. I have tryed to split the resultts of my query in to multiple pages with a fixed number of results per page... I used this tutorial for it: [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] Originally, my page worked as follows: There was a search frame where the user would select …

Member Avatar for marcmm
0
225
Member Avatar for mahaboob Basha

i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. [code=jsp]package com; import java.io.*; import java.util.*; …

Member Avatar for peter_budo
0
899
Member Avatar for Dhruv Shah

i am developing a job site and i require to search for records from the database. i m passing value fro that parameter in textbox. so please help me thanks in advance

Member Avatar for krany18
0
423
Member Avatar for MacBarnes

I have used a binary search tree to read in a text file, storing each word as a node, and counting how many times that word is repeated in the text file. I have been able to successfully [I]cout[/I] that information, but for some reason have been unable to read …

Member Avatar for cikara21
0
119
Member Avatar for inssanity21

hello, i have been writing a program to sort names from one file and numbers from another file. i have the files being read in. each contains 1500 names or numbers. i have to sort the names alphabetically and the numbers have to move with the name it corresponds to. …

Member Avatar for vmanes
0
94
Member Avatar for cam875

i wrote some code which only works with objects with a heading of 0 degrees right now because its not finished but when i run it it never seems to catch the collision and break the loop. I need some help, thanks in advance. [code=cplusplus] #include <iostream> #include <math.h> using …

Member Avatar for VernonDozier
0
97
Member Avatar for Se7Olutionyg

void EnterWord() { char solution[20]; //holds solution char blank[20]; //holds "*"'s for unsolved letters int Subscript=0; int State=1; char Guess[20]; char Copy [20]; char Letter; int Correct =0 ; // input the string and getline it cout<<"Enter phrase 20 chars or less."<<endl; cin.getline(solution, 20); int Word; // this will hold …

Member Avatar for vmanes
0
337
Member Avatar for BestJewSinceJC

I have two programs, one is a GUI and the other is a normal (non GUI) program. How do I make a method in the non-GUI program wait until a JButton on the GUI gets clicked before continuing? (No while loops) This is frustrating since I'm fairly certain somebody here …

Member Avatar for BestJewSinceJC
0
93
Member Avatar for dtaylor01

I'm having a hard time with my code, can someone show me a fix? Here is my errors. 1>c:\documents and settings\chuckie taylor\my documents\c++ assignments\assignment 6\assignment 6.cpp\assignment 6.cpp\assignment 6.cpp.cpp(57) : error C2064: term does not evaluate to a function taking 2 arguments 1>c:\documents and settings\chuckie taylor\my documents\c++ assignments\assignment 6\assignment 6.cpp\assignment 6.cpp\assignment …

Member Avatar for vmanes
0
109
Member Avatar for AdventureX

We have been given a task to do the following:- Write a class LectureTheatre that has the following attributes (properties): lectureTheatreName / maxOccupancy / layoutStyle (the lecture theatre may be either flat or tiered) For example:- lectureTheatreName : Frankland LT ... or ... Fylde LT2 ... or ... George Fox …

Member Avatar for vee_liang
0
114
Member Avatar for Shinedevil

Hey, I'm new to this forum. I'm having trouble making a mapping/navigation type program. Kind of like one where you type in "N" and you go north. But more complex, scince i'm creating an rpg. (In command prompt console) I need to have the map visible. I would need to …

Member Avatar for Shinedevil
0
149
Member Avatar for DLightman

I am receiving the following compile errors: [CODE] BinarySearchTree.cpp:3: error: expected constructor, destructor, or type conversion before â<â token BinarySearchTree.cpp:9: error: expected initializer before â<â token BinarySearchTree.cpp:15: error: expected initializer before â<â token BinarySearchTree.cpp:21: error: expected initializer before â<â token [/CODE] Looking at my implementation, I fail to see the …

Member Avatar for DLightman
0
155
Member Avatar for NewtoC++

Hey i am new to this forum. I am also new to C++. I really need help with this program because i cant get it to work! Since its my first time posting, if I am posting in the wrong way please tell me. My program holds phone numbers. uhm …

Member Avatar for NewtoC++
0
155
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> #include <fstream> #include <string> #include <cctype> using namespace std; #define MAX_WORD_SIZE 15 // The maximum size of word #define MAX_WORDS 255 // the max number of words void EnterWord(); void LoadFile(); void ChooseWord(); void RunGame(); void instruction(); void DrawGallows(int State); typedef char String [MAX_WORD_SIZE]; // a char type …

Member Avatar for cikara21
0
379
Member Avatar for carlcarman

This is part of an ongoing project and up to now i've been able to figure things out. This insallment is: 1. Create an instance array called employees that will hold Employee elements. 2. Modify your loop to create a new element in the employees array for each employee entered …

Member Avatar for carlcarman
0
156
Member Avatar for complexcodes

Hello, I am supposed to write a program that prompts user to enter the numbers separated by space and when user click "ok" button, it should display the numbers entered with its mean, and standard deviation and the window should ask if user wants to enter numbers again if yes …

Member Avatar for essential
0
184
Member Avatar for Zebu00

/ I'm using Microsoft Visual Web Developer 2008 to make a website and I have an access data source on the page linked to a table with a bunch of cities listed. There is a Grid View on the page linked to the data source. Also on the page I …

Member Avatar for Zebu00
0
81
Member Avatar for phpdude89

Hello to all who read this thread, I am currently developing a PHP web application (alone) which has gotten to a point where I alone cannot do developing on it anymore. I plan on hiring people to develop for me. My problem is I do not want to give away …

Member Avatar for phpdude89
0
87
Member Avatar for dseto200

What's the command that allows you to do that. The chapter that i'm reading lists slicing, but I don't see how that helps if you don't have a fixed value of the word. [Code=Python] # Program that gets a message from user and computer prints it out backward. message = …

Member Avatar for dseto200
0
225
Member Avatar for fedderico10

Hey people, i am having the next easy problem but i dont find any answer on how to do that: Im using libxml2 to read a XML file, in one part of my code i need to compare two attributes from different nodes which are numbers (1,2,3,4,5,6...). The problem is …

Member Avatar for Paul.Esson
0
2K
Member Avatar for rastaberry

Greetinmgs, I am a programming greenhorn and I would like to make a programm which will generate a number in the way that first the user will say how many digits the number should have (i.e. 10 000) and will also specify the rules for creating the number- i.e. every …

Member Avatar for rastaberry
0
105
Member Avatar for rastaberry

Greetings, I would like to make a programm that would generate a long string of numbers or characters in the way that the user firts states how long the so called word should be (let's say 10 000) and will also state the rules for creating the word: i.e. 1 …

Member Avatar for rastaberry
0
88
Member Avatar for drjay1627

Can some one help me with this error: =========================================error================================ In file included from /usr/include/sys/signal.h:34, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/pthread.h:22, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/gthr-default.h:37, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/gthr.h:98, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/c++io.h:37, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/bits/fpos.h:44, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/iosfwd:46, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/ios:44, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/ostream:45, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/iostream:45, from main.cpp:1: /usr/include/sys/siginfo.h:259: 'ctid_t' is used as a type, but is not defined as a type. /usr/include/sys/siginfo.h:260: 'zoneid_t' …

Member Avatar for Lerner
0
256
Member Avatar for elajam

Hi, Can anybody please help me in writing this very simple script: This script will allow visitors on my site to order my services. The price will depend on the following factors: a) Number of pages b) Delivery time in days c) Format of the delivered files. After they select …

Member Avatar for pete911
0
96
Member Avatar for haven_u

can someone help mi out with how to write a simple(2X2) matrix....I need help only with the loop used..... I got a wrong answer with what i got below [code=cplusplus] const int Row = 2; const int Col = 2; int main() { int MatrixA[Row][Col] = {1,2,3,2}; int MatrixB[Row][Col] = …

Member Avatar for ddanbe
0
113
Member Avatar for asmNewbie

I'm writing a program that can lock the keyboard. I patch into ISR 9(the keyboard interrupt) and manipulate the head and tai pointers. It work fine , but there're something I don't understand: -It seems that I cannot use int 21h when patching into an interrupt -When I run my …

Member Avatar for jbennet
0
230
Member Avatar for markaman

I have a php page listing all info entered into mysql. One of the fields is an email address, I would like the address to be mailto: All I could think of is [code] <a href= "mailto:?id=<?php echo $row_rsBday['id']; ?>"<?php echo $row_rsBday['email']; ?> </a></p> [/code] No luck with that Any …

Member Avatar for markaman
0
65
Member Avatar for winbatch

Consider this working code: [icode] #include <iostream> using namespace std; class Base { public: void print(string val) { cout<<val<<endl; } virtual void print(int val) { char temp[1000]; sprintf( temp, "%d", val ); string tempstring = temp; print ( tempstring ); } }; int main() { Base a; string whatever= "BLAH"; …

Member Avatar for winbatch
0
184
Member Avatar for daviddoria

I would like to make a list of colors with an associated color index ie 1, [1 0 0] 2, [0 1 0] 3, [.4 .4 .4] etc So I could make a map map <int, double*> ColorMap; Then I could look up the color by its index like this: …

Member Avatar for daviddoria
0
488
Member Avatar for dtaylor01

Can someone take a look at my code, I'm having errors with the end loop. [CODE]#include "stdafx.h" #include <iostream> using namespace std; int area (int, int); // function prototype int volume (int, int, int); // function prototype int _tmain(int argc, _TCHAR* argv[]) { int length, width, depth; // parameters for …

Member Avatar for Lerner
0
191
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> using namespace std; #include <string> #include <cctype> void DrawGallows(int ); int main() { char solution[20]; //holds solution char blank[20]; //holds "*"'s for unsolved letters int counter = 0; //general-use counter int right = 0; //1 = right guess, 0 = wrong guess. char guess; cout<<"Enter phrase 20 chars …

Member Avatar for vmanes
0
327
Member Avatar for M^2

helooo am new to C++ hope i will find some help here :) well the question is if the i ask the user to input an integer like int a; cin>>a; and if user inputs 2345 and the output i require is 2 3 4 5 how will i do …

Member Avatar for vmanes
0
70
Member Avatar for goldsm

I am writing a program using Python and the PYOpenGL3 library. I am trying to use PY2Exe to create an executable version of my program. However PY2Exe does not support PYOpenGL3. Is there an alternative to PY2Exe I can use? Basically I need a way to create an executable version …

Member Avatar for vegaseat
0
92
Member Avatar for Rhenzy
Member Avatar for Csipesz

Hello! I need some help to write a method for the follow ineguality p1*x1 + … + pn*xn<=m. I will be glad too, if you can help in the simle method for p1*x1+p2*x2<=m , you could knowing from the Microeconomics. The variebels value need to store in arrays. Thanks.

Member Avatar for LizR
0
71
Member Avatar for rogelioz

Hi, I'm looking for the equivalent in C# of this function: strip_tags(). I want to use it to validate some input and avoid SQL injection. Any ideas? Thanks in advance.

Member Avatar for raziane
0
1K
Member Avatar for Narayan15

i need help in php [code=php]<?php $num=2; ?> <a href="action.php?id='.$num.'">Text to be displayed</a>[/code] Here i m not getting $num value when i print echo $_GET['id'];

Member Avatar for Narayan15
0
153
Member Avatar for miso66

Hi guys! I am new to java and I have a little problem with ma Java code. My application should read and paint an Image from file. The information about the image are in text format and the image can be composed of rectangles and circles. An example: rectangle { …

Member Avatar for miso66
0
159
Member Avatar for solimanmuttawa

i am done with the main of the program but i have difficulty with several functions that need help if u please help me thank u very much #include <iostream> #include <string> using namespace std; void Output(struct Employee *data_ptr); void Input(struct Employee *data_ptr);void AddElement_Front(struct Employee E); void AddElement_End(struct Employee E); …

Member Avatar for ArkM
0
125
Member Avatar for rumencho

Hi all. I want to learn how to manipulate .txt files through C++ program. I want to be able to search trough chars in .txt file,sort them etc. I think the best way for this,should be,loading .txt file in char array and then manipulating the elements. but I don't know …

Member Avatar for ArkM
0
154
Member Avatar for nidhi89

please help me in making project of 15-20 pages in C programming on Examination Management system

Member Avatar for ddanbe
0
234
Member Avatar for synxmax

Dear delphi coders i am a newbie to delphi , i am using an free ocx called devalvr for loading panorama images , thats a great activex with powerfull parameters all free now i want to create a multimedia cd with delphi and flash and i want to load panorama …

Member Avatar for LizR
0
124
Member Avatar for bonnie1702

Hi all, I have a double link list program that compiles ok, and when I run it, I get a message box saying that windows needs to stop the program. Here is the code: [CODE] #include <iostream> #include <conio.h> using namespace std; class linklist { private: struct dnode { dnode …

Member Avatar for ArkM
0
112
Member Avatar for cam875

I am having a problem with the results that I am getting when I run my program, according to the math i wrote in the program when I enter these results object's x co-ord = 0 object's y cor-ord = 0 object's heading = 45 degrees object's distance travelled = …

Member Avatar for cam875
0
100
Member Avatar for baby_1

Hello dears I want to take how many KB Datas i recived and sent with our connetion ? for example: when i download 2.5 mb file i recived 2560 KB Could you give me a source code?

Member Avatar for jbennet
0
94
Member Avatar for emilio

hello is there a way i can read from a table in microsoft exel file into an array or matrix in c# ?

Member Avatar for emilio
0
125
Member Avatar for MRafeie

Hi The [I]System.Windows.Forms.SendKeys.Send[/I] method does not support sending Left or Right shift key. How can I send these keys in C#? thanks in advance

Member Avatar for MRafeie
0
1K
Member Avatar for rastaberry

Greetings to everybody, I am a programming greenhorn and I would like to make a programm which will generate a number in the way that first the user will say how many digits the number should have (i.e. 10 000) and will also specify the rules for creating the number- …

Member Avatar for rastaberry
0
143

The End.