132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bustersox

I am having issues getting my application to display the correct number of asterisks per store. Also, I cannot figure out how to get each store to display in the list box. Something is obviously wrong with my loop, but I am stumped. Please help! [CODE] ' BarChart: Chapter 5 …

Software Development vb.net
Member Avatar for Teme64
0
270
Member Avatar for faby

hello everyone! I wanted to create a priority queue in which there would be different dictionaries with their priority numbers. The major problem I'm experiencing is that the queue just prints the dictionaries without regard for their priority. Please what do I have to do so that the queue prints …

Software Development python queue
Member Avatar for TrustyTony
0
2K
Member Avatar for KV305

Hey guys im having trouble completing this C program. Its suppose to ask the user to enter a file to read from, read the file, count how many times each word appears and print the results in a different file(also user input) arranged from high occurrence. Heres what i have …

Software Development c c# c++
Member Avatar for Adak
0
120
Member Avatar for bmos

I was assigned to write a program that will verify a password entered by the user. The program should verify that the password has 6-10 characters and atleast 1 uppercase, 1 lowercase, and 1 numeric digit. The program runs, but will only display the length of the password entered and …

Software Development c++
Member Avatar for Anyzen
0
6K
Member Avatar for m7r23

Hi, I can find the largest number. But I can not find the second largest number. I dont know where to start.

Software Development c
Member Avatar for jeevsmyd
0
186
Member Avatar for george_82

I am new to image processing and can u please help me to convert a GIF image into binary using C programming.

Software Development c image
Member Avatar for science.seeker
0
2K
Member Avatar for sophie_kiu

does anyone know how to use the vb.net to connect to the SQL server to get the no of rows of a file in the server? I am a beginner of vb.net would u pls tell me the solution in detail. THANK YOU!!!

Software Development sql vb.net
Member Avatar for pritesh2010
0
117
Member Avatar for himit

Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so …

Software Development java javascript xml
Member Avatar for fpmurphy
0
259
Member Avatar for lewashby

In the following program I don't understand why 'mixer' is given as an argument to the function 'create_gui'. Please explain. File 1 [CODE]# imports from Tkinter import * from sound_panel import * import pygame.mixer # create gui app = Tk() app.title("Head First Mix") # create mixder mixer = pygame.mixer mixer.init() …

Software Development gui python tkinter
Member Avatar for vegaseat
0
134
Member Avatar for dylgod

I am writing program that will eventually calculate the speed of sound though a medium using the switch function, but am unable to get it to read the numbers I input, here is the code if anyone can offer some pointers. [CODE]import javax.swing.JOptionPane; /** *This program calculates the time it …

Software Development java java-swing
Member Avatar for tong1
0
112
Member Avatar for student.09

[B]PROGRAM:[/B]Design a class named Rectangle to represent a rectangle. The class contains: Two double data fields named width and height that specify the width and height of the rectangle. The default values are 1 for both width and height. A string data field named color that specifies the color of …

Software Development java
Member Avatar for tong1
0
185
Member Avatar for rowley4

I need to modify my linked list to hold integers instead of strings by modifying the Node, List, and Iterator class. Don't know how to start this. This is my code. [CODE]#include <string> #include <iostream> #include <cassert> using namespace std; class List; class Iterator; class Node { public: /* Constructs …

Software Development c++ linked-list
Member Avatar for rowley4
0
107
Member Avatar for wolfeater017

how do you get it in pygame so that when you click on a rect it will reset the window but only when you click on that certain rect

Software Development python
Member Avatar for wolfeater017
0
114
Member Avatar for Auraomega

Hi there, I'm in the process of moving some code into Visual C++ 2008, the code works fine when compiled with Mingw however crashes when compiled with VC++: [CODE=c++] s_cell **cell; *cell = (s_cell *) malloc(sizeof(s_cell) * MAP_X); for(int loop = 0; loop < MAP_X; loop++) { cell[loop] = (s_cell …

Software Development c++
Member Avatar for Aranarth
0
168
Member Avatar for aexi

Calculating Average and high/lowest test score Hello, I am getting frustrated because I am currently trying to figure out how to solve this program: Write a program that prompts the user for test scores (doubles). The user enters -1 to stop the entry. After all of the test scores have …

Software Development c++
Member Avatar for jonsca
0
221
Member Avatar for green-fresh

today when I tried some of member functions which i read about them in a cpp course i found in my c++ compiler (which is visual c++ 6) this error: error [COLOR="Red"]C2228: left of '.length' must have class/struct/union type[/COLOR] when i used this member function: [CODE]str_name.length()[/CODE] instead of strlen() function> …

Software Development c++
Member Avatar for jonsca
0
106
Member Avatar for kfernandez

I need to write a program for my intro class that counts the characters in book i must be able to enter at least 3 books. I can get 1 but when it get to the second it cannot open..help! [CODE]#include <iostream> #include <fstream> using namespace std; int main() { …

Software Development c++
Member Avatar for kfernandez
0
71
Member Avatar for boos800

I am working on a hw assignment, and am following a template given by my prof. However, I keep getting an 'argument not declared in scope' error, even though his works perfectly. Here's the code: [CODE] #include <cstring> #include <iostream> namespace cop3530{ int linear_probe(int i, std::size_t cap){ return (i % …

Software Development c++
Member Avatar for mrnutty
0
274
Member Avatar for Jacobah

Hi I am using visual C++ 2010 My dialog include button and using event handler I am jumping to request function my problem is that: When I am going back I need to go back directly to specific point. How can I do it? longjump? [CODE]Main() { . . . …

Software Development c++
Member Avatar for Jacobah
0
190
Member Avatar for empror9

hello, i have a small project which ask the user to input value of 'x', then show sin(x),cos(x) and tan(x) using this fourmla [url]http://www.daniweb.com/forums/attachment.php?attachmentid=16080&stc=1&d=1280001204[/url] and the project is says that i can use this fourmla to minmise the computation and increase the efficiency [url]http://www.daniweb.com/forums/attachment.php?attachmentid=16081&stc=1&d=1280001204[/url] so my first question, when i …

Software Development c++
Member Avatar for mike_2000_17
0
5K
Member Avatar for JOSheaIV

Okay so I am creating a program (well more an application as it's becoming alot of coding). But anyway, I have created multiple forms for it but I can't figure how to keep the form on top. I have found the code [CODE]this.TopMost = true;[/CODE] But that only keeps the …

Software Development
Member Avatar for JOSheaIV
0
155
Member Avatar for hamstes

Hi. Im new to Python and I need help upgrading the python version 2.6.5 to version 3.1.2. I'm running x64 Ubuntu. After I download and install the 3 version it does not overwrite or default itself as the new thing. I can't uninstall the 2 version because of dependencies on …

Software Development python ubuntu
Member Avatar for redyugi
0
131
Member Avatar for johnnyturbo3

Hi, I'm new to C++ but I have a Java background. Up until now I have been using header files to define my external classes. However, I've been reading a book, C++ How to Program, and they use the header as an interface (define the prototypes of a class, I …

Software Development c++
Member Avatar for mike_2000_17
0
7K
Member Avatar for IDC_Sharp

i made a program in C# and i SAAVE ALL (from the button SAVE ALL) as the name "XXXXXXX" (the name doesn't metter now) and now i want to change the name (dont ask why but its realy realy important). and i dont no how to SAVE ALL AS like …

Software Development
Member Avatar for farooqaaa
0
80
Member Avatar for Jollyyy100

Hi, am working on my assignment, i wanted to know whether there could be a way in which if i click on sign in on my vb.net button, i could get a pop up or a dialog style message asking me for the username and password. Is there any way …

Software Development vb.net visual-basic
Member Avatar for Oxiegen
0
164
Member Avatar for KV305

Hey guys im having trouble completing this C program. Its suppose to ask the user to enter a file to read from, read the file, count how many times each word appears and print the results in a different file(also user input) arranged from high occurrence. Heres what i have …

Software Development c c# c++
Member Avatar for vegaseat
0
103
Member Avatar for SgtMe

I want to make an array (using the built-in array module), to create an array made up of classes. All the objects in the array will be the same class, but I want to be able to append new classes on the end and read the values. Thanks in advance.

Software Development python
Member Avatar for SgtMe
0
176
Member Avatar for zageela

Hi All, I am adding a calendar coded in cgi to my page.As i can use a JS calendar also but it have to do it with cgi only. my present calendar prints current month on the page.Now here the problem comes. I want each & every date to be …

Software Development perl unix
Member Avatar for mitchems
0
799
Member Avatar for VJTechno

write a program that will identify the longest substring in two given strings that is common to both.

Software Development java
Member Avatar for VJTechno
0
157
Member Avatar for Hand

Hello I'm trying to make a window with Windows API. Whenever I run my application, the buttons look like Windows 98 buttons. How do I make the buttons look like XP buttons on Windows XP and Win7 buttons on Windows 7? My compiler is Mingw. [CODE]CreateWindowEx( 0, "BUTTON", "OK", WS_TABSTOP …

Software Development c++ microsoft windows-api
Member Avatar for Ancient Dragon
0
214
Member Avatar for Nulled

I have had horrible experiences with this forum, but I'm going to give it another go. What is the point of learning C++? I am only a beginner but what is the point? You learn all of C++, then what... you can make a console program whopee! I mean, when …

Software Development c++ gui
Member Avatar for Yojimbo_Beta
0
230
Member Avatar for renar

anyone Please give me an example code of sorting a records from Z-A. Can someone point me to some good tutorials so I can learn how to write and compile Turbo C program?

Software Development c++
Member Avatar for Ancient Dragon
0
261
Member Avatar for Jollyyy100

Hi, i want to know if its possible to bring upon many pictures in a single picturebox and navigating it. So far i have done the coding but when i run the program i cant see the picture being displayed following are my codes, and please help if theres any …

Software Development dataset vb.net visual-basic
0
92
Member Avatar for timrichardson

Hi. I'm getting the hang of tkinter now, thanks for help in my first thread on this. Now, I've happily using the simpledialog module, but it's not using the themed widgets (ttk). I think it's a good exercise for me as a python beginner to fix this myself, but I …

Software Development python tkinter
Member Avatar for vegaseat
0
314
Member Avatar for rowley4

I have a program that I need to print out a in the following manner: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 …

Software Development java
Member Avatar for rowley4
0
74
Member Avatar for Xufyan

whats wrong with my program ? [CODE]public class divisible { public static void main(String args[]) { int[] divisible; divisible = new int[] {4,9,25,144}; for (int i=0; i<divisible.length; i++) { if (divisible[i]%5== 0) System.out.println(divisible.length); } }[/CODE] I want to print the total elements in an array that are divisible by 5 …

Software Development java
Member Avatar for tong1
0
97
Member Avatar for Cap'nKirk

Hi, I have a small project that I am working on and am trying to implement an AboutForm that is odd shaped, like the splash screen for VS2010 or Photoshop CS5 etc... I have made an image (png) in Photoshop that has a drop shadow and a transparent background but …

Software Development
Member Avatar for Cap'nKirk
0
97
Member Avatar for qdiscoverer

Hi! I'm trying to save/load all my program's data with just one big serialization.(I'm really depending on this) Below are the codes I used to test serialization---but it seems that something is wrong with it. I'm too confused, since I learnt serialization as a 'magical genie' kind of thing that …

Software Development file-stream java
Member Avatar for qdiscoverer
0
123
Member Avatar for mikenable

Hi all, I'm having a lot of difficulty trying to get this program to compile. I'm pretty new to C++, but what I've come up with so far makes logical sense to me, and I don't understand what the message "Request for member 'displayBoard' in 'game', which is of non-class …

Software Development c++
Member Avatar for mike_2000_17
0
294
Member Avatar for ramgude.amol

Hi This is Amol im running C#.net program. I executed the program with csc form1.cs command it got compiled correctly but when i run its exe file form1 it gives error Application failed to inialise properly 0x000007b click ok to terminate it Please give me proper solution to this error …

Software Development
Member Avatar for farooqaaa
0
118
Member Avatar for danswater

Hi guys! I just wanna ask on how to access the first character in a string?

Software Development c
Member Avatar for danswater
0
99
Member Avatar for khRiztin:)

i need to make a simple paint application using java where i need the function of BRUSH. i don't know much about UI. please help me. thanks.

Software Development java
Member Avatar for khRiztin:)
0
786
Member Avatar for virusisfound

hi, i was working on calculate the birthdate when user select the date,month,year by combobox. the age should display on textbox. i have wrote some code but it show the error messsage. can any one solve this please [CODE] public static int CalculateAge(DateTime birthDate) { DateTime now = DateTime.Today; int …

Software Development
Member Avatar for ddanbe
0
362
Member Avatar for alex-VX

hi I'm trying to create a player class for irrlicht the main game file calls it like this [CODE=c++] CPlayer cPlayer; player = cPlayer.Create();[/CODE] the thing is that the function must return the player so the function must be scene::IAnimatedMeshSceneNode*. player header [CODE=c++]#ifndef __C_Player_H_INCLUDED__ #define __C_Player_H_INCLUDED__ #include <irrlicht.h> using namespace …

Software Development c++
Member Avatar for mike_2000_17
0
274
Member Avatar for avisecjena

hi,....i wanted to develop a web application using java .... I know servlet,jsp,struts,hibernate...bit of spring and EJB could u suggest some good project idea ..... i was thinking of doing a toprated movie database....any other suggestion is welcomed or what could be the possible features ....

Software Development java java-jsp
Member Avatar for peter_budo
0
90
Member Avatar for shahin_198
Member Avatar for peter_budo
0
139
Member Avatar for TrueVb.NetNoob

Hi Guys! I have program here which user are able to submit username and can be displayed.Currently I made 2 forms. Form2 is the submit form where the user can type in their username and press the submit button; Form1 has a label in it which displays the username. the …

Software Development vb.net
Member Avatar for Teme64
0
134
Member Avatar for Dartz654

I think I already know the answer to this, but just to be sure, is there any way to connect to a MySQL database in VB?

Software Development mysql vb.net
Member Avatar for Teme64
0
93
Member Avatar for murjam

Hello This is my first post on this forum. I have found that this place seems to have lot of knowledgeable people when it comes to Python. Anyway I'm quite new to GUI programming and I'm not exactly having a huge problem but I'm more interested about how to make …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
157
Member Avatar for KirkK

I can't seem to understand why I cannot run this. Please explain. Thank you in advance. [code] #07/22/2010 #Write a program that will calculate a 20% tip and a 6% #sales tax on a meal price. The user will enter the meal price #and the program will calculate tip, tax, …

Software Development python
Member Avatar for TrustyTony
0
163

The End.