132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CPPRULZ

I was testing which constructors are called in when a derived and then base class objects are created. My program couted 0 if it was the base class and 1 if it was the base class. I ran it and it returned 01 for the derived class and 0 for …

Software Development c++
Member Avatar for ArkM
0
102
Member Avatar for bocabomb85

Hello, I am reaally green to C++ 1. I am trying to create a code that calculates and then produces a small invoice. Input: Company Name Input: Account Number Input: Opening Balance Input: Account Type: I=invoiceReceived P=invoicePayment #endTransaction Input: Amount Invoiced Input: Amount Paid If someone with experience were to …

Software Development c++
Member Avatar for mitrmkar
0
224
Member Avatar for BunnysMom

i'm asking for homework help. i've come to my wits end trying to figure this out and it's due midnight tommorrow est. i'm supposed to write a program to read an inventory file and create the inventory report ( i did that with the given data minus the 5 column …

Software Development c
Member Avatar for Aia
0
182
Member Avatar for abhi_elementx

Hi folks, I want to write grammar rules for a form entry application. On the form/frame I have some fields: Customer name, telephone number I check the validity of the textfileds before data saved. What can be the grammar for a telephone number and name considering that users shud not …

Software Development java
Member Avatar for darkagn
0
75
Member Avatar for VBNick

I put together a simple speech recognizer. It works fine, but when I click the X to close it, it takes forever to unload... can I do anything about it? [CODE] Dim WithEvents RecoContext As SpInProcRecoContext 'RC Dim Grammar As ISpeechRecoGrammar Dim Recognizer As SpInprocRecognizer Private Sub Form_Unload(Cancel As Integer) …

Software Development visual-basic xml
Member Avatar for VBNick
0
158
Member Avatar for iggy78

1.Creates a text file that lists the operating system of your computer, the computers name and username. Use appropriate environmental variables. 2.Append to the text file a listing of the files and folders in the current directory. 3.Create a variable called myName and assign your last name to this variable. …

Software Development operating-system shell-scripting
Member Avatar for anonymoose09
0
126
Member Avatar for agunning

Heya im having a little trouble getting parts of the project to compile; [code=syntax] fscanf(fi, %f, &Max); [/code] this is continualy displaying the error message "syntax error before '%' token " i am compiling on Dev- C its probably simple but help is much appreciated thanks here is the program …

Software Development c file-system
Member Avatar for BunnysMom
0
105
Member Avatar for lauren316

Please help me with this code! Here is the assignment. Project Specifications: Each part of this assignment is a piece of the next part--it builds upon itself. You should submit each part as a separate program. But, the final program is a complete program built upon all the other parts. …

Software Development algorithm c++
Member Avatar for daviddoria
0
183
Member Avatar for sal21

Here my code to fill listview. When the rset are a few the code work fats but with 154.478 rset the code use a very very time, have asuggestion? A frined suggest me to loop all rset and fill array next loop the array to fill listview. Other friend suggest …

Software Development listview visual-basic
Member Avatar for vb5prgrmr
0
159
Member Avatar for mwarut
Member Avatar for MrMie

Hi all.. im kinda new to vb..i tried to connect my data control to a text file generated by my visual data manager, but every time i tried to run the app..it says that i dont give a right location for my file, i dont specified the location from the …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
1K
Member Avatar for Kecy

I am in my final year in university, and I need help in a project topic on mobile programming. I want to develop a mobile application but I'm not so sure of what that application will do. Please a quick reply would be highly appreciated because I expected to get …

Software Development
Member Avatar for Ancient Dragon
0
83
Member Avatar for drxs33

i have this kinda game, which inputs an integer.. but my problem is, when the user inputs a char variable, the program stops. it should say that the user entered an invalid box number. but it stops scanning when the user enters a char variable. help me pls... here is …

Software Development c
Member Avatar for Aia
0
78
Member Avatar for PinoyDev

Good day!. I want to copy all the folder contents to a certain location. To be specific, i have a folder named (webproject) relative on my vb program path.When the form load, i want to copy all the content of this folder(webproject) to C:\wamp\wwww\onlineweb\.I just really dont know how to …

Software Development visual-basic
Member Avatar for PinoyDev
0
191
Member Avatar for tomtetlaw

how do i exicute python scripts in a c++ program? and what uses would it have?

Software Development c c# c++ python
Member Avatar for Duoas
0
109
Member Avatar for lostprophet

Hi there, i m not a very advanced programmer so i have now come up against a brick wall. i need to use a VB code preferably on a command button, whereby the user enters a keyword into a text box, clicks the 'Search' command button, and then a procedure …

Software Development visual-basic
Member Avatar for koolsid
0
980
Member Avatar for rabbithaveit

Id like it so that when you click the 'x' button to close the program it doesnt just end. How do I apply code to the 'x' button? All help is appreciated, thanks in advance -Russell aka Rabbit

Software Development visual-basic
Member Avatar for jbennet
0
2K
Member Avatar for harrykokil

how can i make a slidebar control a variable found in a class?? (in tkinter)

Software Development python tkinter
Member Avatar for woooee
0
76
Member Avatar for Coolprogram

Hello all, well, I am new to these forums, and fairly new to Python. I know some python though, so I am not a complete "newb" so to speak. But I was wondering how to have python while loops work for two variables or strings or w.e. here's a piece …

Software Development python
Member Avatar for woooee
0
143
Member Avatar for FTProtocol

[CODE] using System; using System.Collections.Generic; using System.Text; namespace bPod { public class PodCastFunctions : Form1 { public void ClearOriginal() { newpodcastButton.Visible = false; addpodcastButton.Visible = false; finalisepodcastButton.Visible = false; overviewButton.Visible = false; this.Height = 183; this.Width = 671; this.BackgroundImage = Properties.Resources.NewPCast; podcastdescLabel.Visible = true; podcastdescTextBox.Visible = true; podcastnameLabel.Visible = true; …

Software Development
Member Avatar for FTProtocol
0
107
Member Avatar for eduardocoelho

Hi folks, I tried to read some past threads in this forum but I didn't find one that solves the problem I'm dealing about. I have experience with Java/OO programming and I'm developing a project using C++ (I have some background with C/C++ programming but I'm messing around some issues …

Software Development c++
Member Avatar for ArkM
0
232
Member Avatar for silentspanky

Bellow are 2 files for Pie, First is simple. It works but needs PieJavaPizza to have shown inputs. For slice and type. Radius is always a power of 2. And I am stuck. Is it possible to make import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.text.NumberFormat; Work with objects in …

Software Development java
Member Avatar for VernonDozier
0
349
Member Avatar for dc_24l

hey need some help guys. for example i have a text box and i will have input in it. but only numeric ones are allowed to be inputted in the text box if a character for example "a" is pressed the text box will not change and type the "a" …

Software Development visual-basic
Member Avatar for KSS
0
2K
Member Avatar for tomtetlaw

Can anyone suggest and PyOpenGL tutorials?

Software Development opengl python
Member Avatar for lllllIllIlllI
0
104
Member Avatar for ddanbe

I want to set binary values on and of at will. So I derived from the CheckBox class to change it's appearance. Instead of a checkmark I like to implement a [B]0[/B] or [B]1[/B] here. This is the code of my class so far: [CODE=csharp]class BinarycheckBox : CheckBox { public …

Software Development
Member Avatar for Antenka
0
104
Member Avatar for daviddoria

I am trying to write a pretty straight forward algorithm (agglomerative clustering), but the details are getting pretty hairy. (A cluster is simply a group of points. The idea is to take a list of points and decide which are "grouped" or "clustered" close together.) Here is the outline: Input: …

Software Development algorithm c++
Member Avatar for daviddoria
0
118
Member Avatar for Florest

I've got a CSV file which has a bunch of stock information I need to whittle down to a specific format for another program to read. The first line in the CSV file contains the header, the CSV file contains 29 keys and I need to get down to 11. …

Software Development python
Member Avatar for sneekula
0
3K
Member Avatar for charlie81

I want to change a while loop to a for loop but not sure how to do it. This is the loop. [CODE][LIST=1] [*]public static void main(String[] args) [*] { [*] String input = JOptionPane.showInputDialog( [*] "Please enter a number, 0 to quit:"); [*] int n = Integer.parseInt(input); [*] int …

Software Development java
Member Avatar for breandan
0
91
Member Avatar for sara khan

Hii everyone:) I have written this code to do conversion between decimal to any base between 2 and 26.... But this is not working properly ca any one help me:confused [CODE] #include<iostream.h> #include<conio.h> void conversion(int no,int base) { int arr[10]={0}; int i=0; while(no>0) { arr[i]=no%base; i++; no=no/base; } for(int j=i;j>=0;j--) …

Software Development c++
Member Avatar for Sky Diploma
0
132
Member Avatar for Soccerace

I writing a program to read several data lines in from a file then using functions to process the data. One of the function is giving me an error that i can't figure out. The following code works fine with "1/2". However there is a case when the '/' sign …

Software Development c++
Member Avatar for Soccerace
0
70
Member Avatar for down with socks

[CODE] def translate(response): """Translates an English word into Pig Latin.""" # Initial lists and strings vowels = ["a", "e", "i", "o", "u", "A", "E", "I", "O", "U", "y", "Y"] consonants = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", …

Software Development python
Member Avatar for down with socks
0
186
Member Avatar for xVent

Hello to all , i have my project ... but how can i make it executable and give it to other people so they can run it ? It has GUI as well .. not a simple dos prog Thanks

Software Development gui java
Member Avatar for JamesCherrill
0
110
Member Avatar for BorlandNoob

I am trying to count a few different types of characters in a string and I am running into a few problems. I need to be able to count the vowels and blanks/spaces and then just everything esle and I am having problem with the everything else(by everything else i …

Software Development delphi pascal
Member Avatar for m610
0
97
Member Avatar for madeindadex305

Let's assume that your classes are working, and you have created an "A" object, and added 4 boxes. (5 x 5, 4 x 10, 2 x 4, and 6 x 12). Now choose the method for displaying all the box sizes. The following text might be displayed: box: 5 x …

Software Development java
Member Avatar for Ezzaral
0
142
Member Avatar for OffbeatPatriot

I'm making a game and the game works around a class I call Cyber_State. Every state of the game is a subclass of Cyber_State, for example the title screen you see when you start the game and the actual game. Every state has a member that is a pointer to …

Software Development c++
Member Avatar for MrSpigot
0
99
Member Avatar for jenilgandhi

in my problem i have to enter the components of matrix in 2D array i.e input: 1 5 6 3 9 10 8 23 15 output: 1 3 5 6 8 9 0 15 23

Software Development c
Member Avatar for Aia
0
82
Member Avatar for daviddoria

On the line [code] set<T>::iterator iter; [/code] I am getting "expected ';' before 'iter'" [code] #include <vector> #include <set> using namespace std; template <typename T> vector<T> UniqueElements(const vector<T> &V) { set<T> s; s.insert(V.begin(), V.end()); vector<T> Elements; set<T>::iterator iter; return Elements; } [/code] Can anyone see why? It compiles fine if …

Software Development c++
Member Avatar for daviddoria
0
102
Member Avatar for neutralfox

Hello friends, I am currently developing a chat application and I am having a small problem. When the user send a message, the message appears in a text area, like in MSN and when the user receives a message the message again appears in the text area, its just a …

Software Development java
Member Avatar for leverin4
0
68
Member Avatar for subho07

i want to display data from a table using jTable in swing.how can i increase the text fields....kindly can anyone give me some codes

Software Development display java java-swing
Member Avatar for subho07
0
248
Member Avatar for C++ Obliviator

I'm working on a rather big program. Everything works fine:) , until I added this simple code: [CODE]int counter_x = 0; int* x = new int; for (int a = 1; a < plain_len; a++) //plain_len: int { int b = a; while ( b != 0 ) { x[counter_x] …

Software Development c c# c++
Member Avatar for C++ Obliviator
0
595
Member Avatar for locsin

Greetings! anybody know how to print msflexgrid and the data contain in this flexgrid. I want to know how to print this flexgrid into my printer. thank in advance.

Software Development printer visual-basic
Member Avatar for nor_d83
0
2K
Member Avatar for MAJORG

I can't seem to compile this properly. I'm having a lot of trouble. Can someone help me please? I have netbeans and Jarmaker. Anyone? [CODE]import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; public class Update extends Thread { public static void main(String args[]) { new Update((new …

Software Development java java-netbeans windows-server
Member Avatar for BestJewSinceJC
0
279
Member Avatar for Olsi009

Howdy, my friend is trying to write a program in VB 2008 and he is using an Access 2003 database. he's having a hard time writing the code for a search option. we write a string in a textbox and hit the SEARCH (kerko) button. can you pleas help us …

Software Development vb.net
Member Avatar for TransKim
0
104
Member Avatar for Roobyroo

Hello, I'm not able to add a DataRow to a DataTable, believe it or not. I'm sure it has something to do with the scoping of the DataTable object, but I don't know what. When I set up the code in one method procedurally, everything works fine. I declare the …

Software Development
Member Avatar for ddanbe
0
129
Member Avatar for neutralfox

Hello everyone, I am having a small problem, does someone know how to break a long string into small groups of 3 characters. I've tried it but its not working. Here's a sample of my code: [code] int begindex =0, endindex = 3; String plaintext = null; String block; StringBuffer …

Software Development java
Member Avatar for neutralfox
0
114
Member Avatar for denniskhor

Can direct convert GUI Desktop Application Netbean JAVA to .exe for use in Windows? who knw?? thanks.. tell me if impossible.

Software Development gui java
Member Avatar for peter_budo
0
159
Member Avatar for CPPRULZ

My textbook says "Constructors cannot be virtual. (Think about it: constructors are called to create new objects. However, if you don't know what type of object you're trying to create, how do you know which constructor to invoke?)" but I am not sure what it means by this. Is it …

Software Development c++
Member Avatar for ArkM
0
143
Member Avatar for 25kayden

Here are the errors I am getting, but I can't figure it out. Please help: GUI.java: 10: illegal start of expression public GUI(MovieCollection i) { ^ GUI.java: 110: illegal start of expression private javax.swing.JButton extButton; ^ GUI.java:111: illegal start of expression private javax.swing.JTextArea text Area; Here is my program: //GUI.java …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
116
Member Avatar for dilipkk

For an application, I need to parse a string which contains urls and their titles. For example: 'name="My Mobile Blog" url="http://caydab565.blogspot.com/" name="Creative Disaster" url="http://kevinlara.blogspot.com/" ...' name means title of url here. I want list of strings which contain both title and url. For example: ['name="My Mobile Blog" url="http://caydab565.blogspot.com/"','name="Creative Disaster" url="http://kevinlara.blogspot.com/"'] …

Software Development python
Member Avatar for Gribouillis
0
131
Member Avatar for TheFueley

Hello all, I am trying to make a linked list (class-based). I'm not sure if I went actually did it right. I get a compiler error on the segment of code that deals with printing the linked list to stdout. Here is the seqment in question. [code=cpp] // print contents …

Software Development c++ linked-list
Member Avatar for TheFueley
0
185

The End.