132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for renatoguga

Hi! How can I get information from a public web page to my program? The page has, among other information, a field like "Share price: ###" that will be changing in time, and I want the program to get all the changes in its value. Anyone has any idea? Thanks …

Software Development c++
Member Avatar for vijayan121
0
119
Member Avatar for werks

Hello experts. I have 2 [B]vbp[/B] (namely Project1.vbp and Project2.vbp) I Group them into 1 Project, my problem is how can the user choose on what project they want to use using VB6? My initial idea is when the user login a form will prompt, and the user will be …

Software Development visual-basic
Member Avatar for nemosmart
0
154
Member Avatar for asrekdal

Hi, I am attempting to view the source code of a module i have imported to a project but am having trouble finding its source. I had previously thought the command 'import' would look for a script in python paths named the same as the import name plus a '.py'. …

Software Development python
Member Avatar for katharnakh
0
87
Member Avatar for Wilderness Bob

I am making a program which has two arrays, both are strings. I want to sort the second string alphabetically and the first string needs to go with the second string. I then need to display them both, with the secodn string in alphabetical order with the appropiate name(first string) …

Software Development vb.net
Member Avatar for Monza
0
115
Member Avatar for veronicak5678

I am trying to figure out how to modify this program so the file is read from the constructor: [CODE]#include <iostream> #include <string> #include <fstream> #include <vector> using namespace std; class Scramble { private: vector<string> _word; bool Check (string T, string S); public: Scramble(vector<string> words){ _word=words; } void Descramble (string …

Software Development c++
Member Avatar for vijayan121
0
113
Member Avatar for jubal4285

sir help me how to disabled a checkbox. for example once i check the checkbox it should appear in my list? when im uncheck it... it should not appear in my list? tnx..

Software Development visual-basic
Member Avatar for debasisdas
0
83
Member Avatar for liukinhei

Hello, I am writing a c program to Prompts the user (altogether 10 times) to enter a word not longer than 9 characters. And it needs the modification of each word by changing lower case to upper and then the reverse of the word is concatenated with the word.FInally , …

Software Development c
Member Avatar for midimatt
0
116
Member Avatar for nurulshidanoni

How to make a pair programming.. like I have 1 2 3 4 5 6 7 First, I want to make a pair of 91,20 (1,3) (1,4) (1,5) using i=1, i<9,i++

Software Development c++
Member Avatar for nurulshidanoni
0
264
Member Avatar for fiz hafiz

what about this one?? thanx, but when i've compile the program, it does not work for the error, 'com' uses undefined struct 'registration' and lots more [CODE=c]#include<stdio.h> #include<ctype.h> #define FILENAME "computing" void proceed(struct registration com, int matric); void again(struct registration com); struct registration { char code[10]; char subject[100]; int credit; …

Software Development c
Member Avatar for WaltP
0
94
Member Avatar for Samadhi69

I'm familiar with java and have made many data structures there. Not so much in C and to complicate it the professor wants the LL set up LISP style. I know I need to iteratively sort the tail then insert, but the setup we were given lacks some of the …

Software Development c linked-list
Member Avatar for WaltP
0
108
Member Avatar for toadzky

I am trying to process the results of a survey. I load the current results from an XML file, update them, then write them back to the file. I am get a 500 Internal Server Error when I run it from a browser, but it works fine in Windows and …

Software Development perl windows-server xml
Member Avatar for toadzky
0
124
Member Avatar for adrive

I'm just curious, I was using setLength to increment my arrays all the while but i've been hoping.. is there any push and pop functions for delphi so that i can dynamically put values into my array without having to code anything myself to increase the array size?

Software Development delphi pascal
Member Avatar for MoZo1
0
2K
Member Avatar for midimatt

Hello again, i'm trying to make a program that draws a cube on the screen using data inside of a .txt file, this is the code that i've got so far, it compiles and runs but doesnt actualy display anything and i'm not really sure why. its probably something simple …

Software Development c opengl
Member Avatar for midimatt
0
2K
Member Avatar for maverick786

My program is required to build a binary search tree using integers inputted from a file. It also searches for items and counts the nodes accessed in each search. Also it needs to calculate the average number of comparisons per search. I am not sure where to insert the counts …

Software Development c++
Member Avatar for Lerner
0
112
Member Avatar for EndureYoungMan

I had been out of school for about ten years and decided to return to college and major in programming. Good choice but I've been in over my head since day one. In any event I need help in accessing the text file then compairing user input with text files …

Software Development c++
Member Avatar for EndureYoungMan
0
1K
Member Avatar for zawpai

Hi all, Could you please give me some suggestions about Form closing? My problem is that I will do the checking before closing the main Form whether the user saves the data, but I really don't know how to solve it. If the user doesn't save the data and close …

Software Development visual-basic
Member Avatar for Jx_Man
0
129
Member Avatar for fpaquin

Hi to all, Can someone tell me how to add tab pages to a JSP. I would like to have different input fields in each tab page. When I press submit, all input fields (in all tab pages) are sent to the server and not only the ones in the …

Software Development java
Member Avatar for orko
0
157
Member Avatar for brinze

I have been helped here once before. I got the info I needed to solve my issues. I'm a beginner and this online class I'm taking is killing me. This assignment involves the use of loops, most likely do-while, and possibly others. Essentially the program is to have the user …

Software Development java
Member Avatar for wonder_laptop
0
163
Member Avatar for eleonora

Hello, I did a pagerank application but unfortunately it does not posting the url to the server. Can anyone have a look to my code and tell me what im missing ? ! Thanks in advance! [CODE=java] import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectOutputStream; import …

Software Development first-post java
Member Avatar for orko
0
124
Member Avatar for p_conk

I use redhat enterprise 5 and I want to install mysql++, which used to connect to mysql from c++. I get the following error message when install checking for MySQL include directory... configure: error: Didn't find the MySQL include dir in '/usr/local/mysql/include /usr/local/mysql/include/include /usr/local/mysql/include/include/mysql'

Software Development c++ mysql redhat
Member Avatar for p_conk
0
193
Member Avatar for priyala

Hi, I have a query if VB 5.0 Learning edition supports usage of Reports. If so how should i go about it. If not what can i do to get the reports options. Thanks, Priya

Software Development visual-basic
Member Avatar for cometburn
0
69
Member Avatar for hartig

Hey, I'm new here (as you can tell), and I'm in need of some help.. I need to make a interest calculator that displays the years, beginning amount of each year, the interest of each year, and the end amount of each year. I have the GUI all set up …

Software Development gui java java-swing
Member Avatar for hartig
0
184
Member Avatar for Ole Raptor

I am attempting to write a script that will add a user to the system. I am using fedora 5 and am attempting to use the useradd: command but i receive "command not found" I am also trying to get the current users from the system so i can check …

Software Development shell-scripting
Member Avatar for Ole Raptor
0
113
Member Avatar for Aborad

Hi there, I just bumped across this website through google and found it very neat. I am self taught at Delphi, and know very little. I know there are quite a few ways to send the virtual keypresses, but I only know of one and I doubt I am using …

Software Development delphi pascal
Member Avatar for Aborad
0
2K
Member Avatar for zclevenger

I have a homework assignment i Am totally confused on. I started with a basic code to determine if a number is prime or not, but need guidance from here. I will post assignment details then what I have so far. Problem 1: Is it a prime number? Write a …

Software Development algorithm python session
Member Avatar for Arob1000
0
344
Member Avatar for mrjoli021

I have a couple of sentences in an array. I need to randomly display 1 of them. How can I do this?

Software Development c++
Member Avatar for Ancient Dragon
0
138
Member Avatar for Jboy05

Consider the following two function prototypes: void Func1(int&, int&); int Func2(double, double); -I need help completing the following C++ user-defined function Func3 -which prompts and gets an integer for the variable Option from user. -Func1 should be called when the value of Option is 1, - Func2 should be called …

Software Development c++
Member Avatar for mitrmkar
0
129
Member Avatar for Jennifer84

I am trying to create a DialogBox in C++ .NET with both an "OK" button and a "Cancel" Button. I know how to just show a MessageBox with an "OK" button like this: [code] MessageBox::Show(this, "Message"); [/code]

Software Development c++
Member Avatar for Jennifer84
0
3K
Member Avatar for mrjoli021

I have some sentences in a 2 dimensional char array. I need to change to first letter of each sentence to caps. I was thinking of removing the first char and placing it into 1 array and the rest of the sentence into another array. run toupper on the first …

Software Development c++
Member Avatar for Ancient Dragon
0
83
Member Avatar for monkey_boy_401

has anyone got an idea on how to change letters on the keyboard around. i.e make Q on the keyboard print P on the screen.

Software Development c++
Member Avatar for monkey_boy_401
0
80
Member Avatar for ndoe

where i can find a complete source code XRCed?? thanks

Software Development python
Member Avatar for joshualef
0
133
Member Avatar for purepecha

/* I'm new on c ++ and i been strugling with this problem. create the special functions used by this routine and write the functions so it can be used by the main routine as shown*/ [code=c] #include <stdio.h> #include <stdlib.h> Void powerArgs(int *parmA, int *parmB) { int temp = …

Software Development c
Member Avatar for Ancient Dragon
0
133
Member Avatar for mrjoli021

I have some sentences that I want to print out the first character of each sentence. when I print it out I get the first character many times. here is the code. I just want the first character of each sentence printed out once per line. [code] int i; int …

Software Development c++
Member Avatar for Ancient Dragon
0
80
Member Avatar for flash121

Hello, I have a data structure which consists of 3 numbers. The data is later on saved in an array each time the user enters a new "izdelek". [code=c++] struct izdelek { double st_izdelka; double teza; double cena; }; [/code] later on, i have a function which should compare the …

Software Development c++ data-structure
Member Avatar for flash121
0
86
Member Avatar for cosmos22

Hi. (I am using Windows XP) I would like to know how you can use the function SetFileAttributes to hide a file or folder, I would also like to know about the declarations associated with this function. I would like to use this to develop a program that hides program …

Software Development c++
Member Avatar for mitrmkar
0
184
Member Avatar for Quakes

I'm attempting to read lines of a file and store the contents of the line in an object. This is an example line (x,y,z co-ordinates) : [B]-12.852222 32.548111 -934.306681[/B] My problem is that my program is rounding these numbers up and I need absolute precision. Having read one line, storing …

Software Development c++
Member Avatar for Quakes
0
91
Member Avatar for asrekdal

In process of attempting to build a CSS editor. I was wondering if anyone could lead me to a way to highlight CSS for a rich GUI control in wxPython specifically? Also I would like to parse,serialize, validate and write CSS to file. I did find cssutils but was getting …

Software Development gui python
Member Avatar for vegaseat
0
102
Member Avatar for incolor

So I have an assignment to write a program that calculates and prints the sum of the series for the following series: S = 1/(1*2) + 1/(2*3) + 1/(3*4) + ... + 1/(n*(n+1)) I know I basically need to loop and increment a variable till it equals n, but I …

Software Development c++
Member Avatar for incolor
0
1K
Member Avatar for nish88

hi.... i'm trying to write a function clear image but i am not being able to write it. it is as follows. i am loading a picture and i want by clicking the button clear, the picture map.gif dis appear.. there is a function blank in tkinter but i am …

Software Development image python tkinter
Member Avatar for vegaseat
0
10K
Member Avatar for StepIre

Hey All, sorry if this is a stupid question but im still new to all this. i want to enter something into a text field.. but i want for example the time in 24hr format "2200". How can i ensure that what the person is entering is in fact an …

Software Development python
Member Avatar for vegaseat
0
100
Member Avatar for Phanta

Good evening, I'm basically doing a program that does something like this: You enter two integers -4 and 6 which represent intervals Then the loop does this: (-4) + (-3) + (-2) + (-1) + 0 + 1 + 2 + 3 + 4 + 5 + 6 After that …

Software Development c
Member Avatar for Phanta
0
94
Member Avatar for Techboy1523
Member Avatar for JamesX4334

Hello, I am a first year computing AS student coding a petrol pump program. You can see the specification [URL="http://pascalproject.wordpress.com/2008/01/31/project-specification/"]here[/URL]. I am a little stuck and I was wondering if anyone could point me in the right direction. I have coded a seven segment display using arrays, procedures, write lines …

Software Development pascal wordpress
Member Avatar for JamesX4334
0
148
Member Avatar for Hockeyfreak889

Ok so first off i dont know much about programming. I am currently in the middle of my first programming class in school and i love it. It is based around visual basic 6, however the class moves incredibly slow so i decided i want to teach myself another language. …

Software Development c++ visual-basic
Member Avatar for Hockeyfreak889
0
169
Member Avatar for jeffige

Following along a C tutorial, I entered this code. When I compile and run, it aks for my age, which I enter. But it doesn't display any of the 'if' or 'else' statements. So I hit enter and the window closes. Is there a trick or am I entering the …

Software Development c c++
Member Avatar for Ancient Dragon
0
134
Member Avatar for nish88

have anyone ever create a [COLOR="red"]progressbar using Tkinter[/COLOR] and make [COLOR="red"]button flash or place a picture on button.[/COLOR] is this possible with tkinter. please can anyone tell me or show me how i can do these things??? thank you very much

Software Development flash python tkinter
Member Avatar for vegaseat
0
1K
Member Avatar for birdy_28

Hi. BEFORE YOU THINK I AM JUST GETTING SOMEONE TO DO MY WORK, SCROLL DOWN AS I HAVE MADE A VERY GOOD ATTEMPT AND AM RECEIVING ERRORS! Basically i am fairly new to C++ and have been given a small class exercise to do for home work and am struggling …

Software Development c c# c++
Member Avatar for vijayan121
0
113
Member Avatar for nemesis4627

I want to have a program that will ask questions.. and post top scores.. but these questions are randomly ask.. on the other hand.. these questions must be put in .textfile.. please help me.. im begging all of you.. my questions in txtfiles is this 1 What_is_the_capital_of_Europe? a.)Brussels b.)Brussiels c.)Berlin …

Software Development c
Member Avatar for ithelp
0
209
Member Avatar for Infeligo

Hello, Could you explain me why the first approach in the code above works and the second one fails? [CODE] #include <cstring> #include <algorithm> //char a[] = {'a', 'c', 'b', 'a', 'c', 'b', '\0'}; // Works char* a = "acbacb"; // Fails sort(a, a+strlen(a)); [/CODE]

Software Development algorithm c++
Member Avatar for vijayan121
0
133
Member Avatar for IAmPat

I'm kind of teaching myself C++ from the ground up. I have previous programming experience in PHP, VB, Javascript, .net and i've done some other small stuff here and there but i've been putting off C++ for way too long and feel like I really need to learn it in-depth. …

Software Development c++ javascript
Member Avatar for mitrmkar
0
159

The End.