132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cherryduck

Hey everyone, I'm writing a program as follows: CourseMarker course Java u4 exercise sunflower: Sunflower Growth part 2 (Weight: 3) =================================================================================== Introduction ============ This is a continuation of last weeks exercise on the growth of sunflowers, but the problem is now more complex. It now involves loops and makes sure …

Software Development java
Member Avatar for cherryduck
0
215
Member Avatar for new_2_java

Hi all, I have a threaded program, which migrates contetn from one repository to another. The program works fine, when I test for small number of documents, say arround 10 or 20. But when I increase the number of documents, then I get [B]java.lang.OutOfMemoryError[/B]. I can't seem to figure out …

Software Development java
Member Avatar for ~s.o.s~
0
139
Member Avatar for mece

I am new to python and posting to this forum and my searches turned up nothing. I am writing a component for a log parser to combine events from matching dates into one file. For some reason the log files split between 19:59:00 and 20:00:00 hours daily. To resolve this …

Software Development file-system python
Member Avatar for mece
0
779
Member Avatar for dmanw100

I am having problems reading in from a file in my project. I have a text file from which I need to read in data for creating some objects. I do not know how much data is in the file but I know the format is 6 lines of string, …

Software Development file-system java
Member Avatar for BestJewSinceJC
0
121
Member Avatar for blackcloud72

Hello everyone, I am a student learning Java and need some help getting text to flash or blink. The text I want to do this with is "Which Way" in my drawstring method. Any help would be much appreciated. [code] import java.awt.*; import java.awt.event.*; import java.awt.geom.GeneralPath; import java.util.Random; import java.awt.Font; …

Software Development flash java java-swing
Member Avatar for Ezzaral
0
667
Member Avatar for urufukiba

hey all, im wondering how you declare a variable in a string. like say i want to declare a string saying "The number should be no less than X" and I want the X to be able to vary depending on what I have the variable for it at. i …

Software Development assembly
Member Avatar for NotNull
0
92
Member Avatar for mustafaneguib

hey guys how are you all? i am working on a mini screen saver which moves the character 'A' to the end of the screen that gives the effect of it crawling on the screen. the problem with it is that the speed is too fast and i can see …

Software Development assembly
Member Avatar for NotNull
0
125
Member Avatar for Teapot

Hi I'm trying to pass a constantly changing price to an array. Can anyone tell me what this process/method is called so I can research it, I've found nothing in the books so far. Any help would be great. Thanks Teapot

Software Development
Member Avatar for dickersonka
0
87
Member Avatar for DragonReborn225

hey guys, I'm having some difficulty with finding out whether a user inputted string is a palindrome. It doesn't have to identify pure palindromes either, just the basics. Everything was going great, and just as it was looking like I'd get to bed before 3 am, I got hit with …

Software Development c++
Member Avatar for vmanes
0
182
Member Avatar for konczuras

Hi Everyone! I have the following problem: I'm trying to create a web shop (now just the sample of it), using Visual Web Developer 2008 (Express). I've added an SQL database, and a ButtonColumn, where the button selects the line and add the datas to another database. My only problem …

Software Development vb.net
Member Avatar for konczuras
0
98
Member Avatar for Kamal_Java

Hi How do i get current windows logged on users profile directory in vista using vc++.

Software Development c++ windows-vista
Member Avatar for mitrmkar
0
156
Member Avatar for saurabh singh

I have to create a usercontrol which could be dragged over the base form and could be resizable [COLOR="Red"][U]during run time[/U][/COLOR]. Please help me out.

Software Development
Member Avatar for Ramy Mahrous
0
142
Member Avatar for freudian_slip

Hi, I'm doing a very very simple coding, However the compiler apparently does not like my usage of cin and gives me an error: no match for 'operator<<' or 'operator>>' depending on cout or cin. I've used this many times before but never have encountered this problem trying to use …

Software Development c++
Member Avatar for Prabakar
0
10K
Member Avatar for KenTheFurry

I am trying to make a program to automatically login to my website it will do this by loading a WebBrowser and navigating to the login page of my site then I want it to edit the value of the username and password box. I just do not know how …

Software Development delphi pascal
Member Avatar for Jacob777
0
271
Member Avatar for ABKTECH

text========"everyone delphi fans" i need help on delphi how to count the number of character enter by a user for exmaple if a user enters 2 in editbox1 and enters 5 in editbox2 then the program should display this using the above text in a memo. "very" meaning that the …

Software Development delphi pascal
Member Avatar for Jacob777
0
172
Member Avatar for chococrack

I read a post earlier about C++ books and whatnot. I have a few books from my yesteryears (10-13 years ago) on C++ mostly. How useful would these books be in terms of the language as it has progressed in the last 10 or so years. Are they even worth …

Software Development c++
Member Avatar for jbennet
0
147
Member Avatar for minusone

Hi folks, i'm relatively new to this area of things although i have been using C# for many years. I have been trying to find a starting point for organizing my code for medium sized projects. What i am after is a relatively detailed example of how a software application …

Software Development visual-studio
Member Avatar for LizR
0
227
Member Avatar for suasi2007

Create a class; employee with 22 employees (permanent, temporaly) Class members: First name, IDno, Age, Depertment, salary,No of days, Gender, Marital status. Class function members are: capturenewemployee(), Displayemployeedetails(), Searchemployee().

Software Development c++
Member Avatar for yuvaraj.tr
0
101
Member Avatar for AndrevdBerg

Hi, I am pretty new to vb.net and I am having a bit of trouble placing a table in Word through automation. I am adding a table at a Bookmark. The bookmark is outside the margins of the page, but when the table gets placed, it starts at the margin, …

Software Development vb.net
0
84
Member Avatar for asifjavaid

Hi sir, I am making a win32 dll in VC++.NET 2005. I make an add funtion in it and then i call it from C# using System.Runtime.InteropServices; [DllImport("MXFWrapperMarvel.dll", EntryPoint = "add")] static extern int add(int a, int b); [code] ----------------------MXFWrapperMarvel.dll------------without header files--------------- #include "stdafx.h" #include <AtlConv.h> #ifdef _MANAGED #pragma managed(push, …

Software Development c# c++
Member Avatar for cikara21
0
259
Member Avatar for gp04lch

hey guys, this is what i want to do, i already have a ToolStripMenuItem with a few DropDownItems with events. i would then like to loop through these Items like such: [CODE]foreach (object menuitem in tlstrpmnuitmFunctionHeader.DropDownItems) { } [/CODE] and then assign these items to a ContextMenu. it would really …

Software Development
Member Avatar for gp04lch
0
178
Member Avatar for atman

Hello, Im taking C in school, and i have a problem with my code, nothing happens at all when i run the program. The task is: A program is required that prompts the user for a number. The program will then print a series of asterisks to represent the number. …

Software Development c
Member Avatar for Aia
0
170
Member Avatar for thanatosys

First here is my header file [code=c] /* @source Simplespell Program * * @author: Chris King(cpking@ncsu.edu) * @@ * * node.h * CSC 230 Fall 2008 * * The @ signs along with the word denote specific information about * the program. Using the standards described in: * http://emboss.sourceforge.net/developers/c-standards_new.html */ …

Software Development c
Member Avatar for Aia
0
291
Member Avatar for atman

Hello., I'm working on my school assignment and the condition is to use post-test loop trying to get following result: --------------------------------------------------------------- Enter the Section Code: 0 Invalid value entered. Must be 1 to 4, please re-enter: 1 Enter the Student's ID: --------------------------------------------------------------- this is the assignment condition: When the program …

Software Development c
Member Avatar for Aia
0
237
Member Avatar for americaneagl

What I have is a simple, convert a temperature in Fahrenheit to Celsius or in Celsius to Fahrenheit. My question: what is the best approach of implementing the while/loops so that the user enters their choice for Celsius to Fahrenheit or vice versa as many times as they want until …

Software Development java
Member Avatar for BestJewSinceJC
0
327
Member Avatar for Avaviel

My code, in 'full' (only 89 lines, lol) is [url=http://avaviel.com/temp_host/Ed.Edd.Eddy.html]here[/url]. My input file is [url=http://avaviel.com/temp_host/ja.cho.cho.nf0.txt]here[/url] and (for kicks and giggles) my outuput file when I comment out the else... if statements and have simply fout is [url=http://avaviel.com/temp_host/wapapa.nf0.txt]here[/url]. (Remove the .txt on the last two...) I'm having a problem with my …

Software Development c++
Member Avatar for UMAIR37
0
94
Member Avatar for ladyhuslter

[COLOR="Green"] THIS IS MY ASSIGNMENT[B][/B] Write a C++ program which will load 20 integers into an array and then: 1. Print out the contents of the array as well as the index values from locations 0 through 19. 2. Print out the contents of the array and the index values …

Software Development c++
Member Avatar for chococrack
0
197
Member Avatar for yonghan

Hi all,i need help about JTable.I'm using netbeans..I got a table contains PLU,nama,harga,qty,total..I use TableModelListener to listen to valueschanged in column..What i need help is how to create a new row if the user press enter key,and set focus to the first column of the next row..Thanks a lot..Here are …

Software Development gui java java-netbeans java-swing
Member Avatar for yonghan
0
101
Member Avatar for yuvaraj.tr

Hi friends i am new to embedded domain. I would like to learn embedded C ,.. Where i get free books to learn embedded C.......... and whre i get free compilers to execute embedded c programms.......... I am using linux os.............. please help me................. Advance Thanks for helping

Software Development c
Member Avatar for yuvaraj.tr
0
64
Member Avatar for fireballnelson

I am having a problem with this code: [ICODE]import javax.sound.*; public class Sound { public static void main(String[] args) { //Code Body } }[/ICODE] The problem has nothing to do with code itself; the compiler returns this message when i try to compile: [CODE]Sound.java:1: package javax.sound does not exist import …

Software Development java
Member Avatar for fireballnelson
0
3K
Member Avatar for andrewama

I have to write a program that would test the member function in a loop to show that the tick member function works correctly. it needs to test 1. incrementing into the next minute. 2. incrementing into the next hour 3. incrementing into the next day. heres what i have …

Software Development c++
Member Avatar for andrewama
0
285
Member Avatar for Motvel

Hi, i want to copy a string from a register (SI), into another register (DI). But, before copying i need to scan the string for blanc space. If there is more than 1 blanc spaces (SI), i need to replace all blanc spaces with one space and put in DI. …

Software Development assembly
Member Avatar for NotNull
0
80
Member Avatar for jbrock31

Hi everyone. I decided to try and learn C++ on my own and i have ran into a problem and i just need slight kick in the butt. :) I am just learning structures and i am practicing using some of the examples at the end of the chapter in …

Software Development c++
Member Avatar for jbrock31
0
143
Member Avatar for Djanvk

I understand how to get text out of a textbox in visual C++ but what I'm after is how to break the text up at each space and put those parts into an array. For example I have a group of numbers: 2 5 9 10 44 ect and I …

Software Development c++
Member Avatar for Djanvk
0
116
Member Avatar for imabut

i'm trying to implement my own edit menu using Tkinter, my cut and copy methods,... seems to work fine but I'm having allot of trouble getting my paste method to work. will someone please help? (((its kinda ugly i know, but i'm still new to programming and i'm more focused …

Software Development oop python tkinter
Member Avatar for imabut
0
3K
Member Avatar for Grub

Hi I have a program that finds duplicate files and lists them in a Jtable. I have modified the default Table Renderer to change the colour of the cells but I want them to have more than two colours. Say Blue for the first set of say 5 files all …

Software Development java
Member Avatar for Grub
0
2K
Member Avatar for inumbris

Hello, In real life, my name is Bill G.; "inumbris" is a descriptive handle that describes my status relative to most programming and IT matters (The latin scholars among you will maybe have a chuckle). I live in Idaho, USA and am a retired programmer mostly unaquainted with the modern …

Software Development c++
Member Avatar for jbennet
0
95
Member Avatar for biggulps

My input text file contains this: -4.1 -2.2 -0.5 1.2 4.6 5.1 2.1 0.2 -3.6 -4.1 0.2 0.5 2.2 4.1 -0.2 -1.2 -3.3 -4.6 -5.0 -2.2 -1.1 0.8 3.2 -0.1 -4.8 And I need to average and do some other functions with these numbers. However I can't get started, or …

Software Development c++
Member Avatar for biggulps
0
122
Member Avatar for serkan sendur

i wondered if this is possible : you will create a windows service application and it will collect information from a certain type of application. let's say if the user is using ms word, i want to keep trace of the user on that like the typed words, clicked buttons …

Software Development
Member Avatar for Jugortha
0
155
Member Avatar for kotkata

Basically this code serves to take in an input file and convert all the "<" and ">" into "&lt" and "&gt" respectively. This works however, I cannot get it to convert the rest of the .txt file into the output file. Right now, it just works with the very first …

Software Development c++ file-system ios
Member Avatar for ddanbe
0
116
Member Avatar for Kevinle

I am searching for the topic, and I don't know whrere to start. Pease advise. Your assistance is greatly apprecieated. Thanks. Kevin

Software Development c c# c++
Member Avatar for Lerner
0
92
Member Avatar for Gaurav arora

Hi all i m facing a problem in my project. I want to add all the rows of a particular column(based on name of the column) in the combo box without using data bindings wizard. i need it through coding Any help plz

Software Development
Member Avatar for Jugortha
0
116
Member Avatar for aksshe10

I use Turbo C++ explorer i need to get file name from a TFileListBox which is an AnsiString, and use it in CreateProcess but CreateProcess Requires an "LPCTSTR" or "LPTSTR" I would like to convert the ansistring to LPTSTR Please help thankx in advance

Software Development c++
Member Avatar for Alex Edwards
0
210
Member Avatar for Stefano Mtangoo

I'm just asking for anyone who knows anywhere to get list of inbuilt wx.ID like wx.ID_CLOSE etc (HTML/PDF), because I dont want to use Id while there is built one. Also can I use menu simiral to something like GetId() Method?? Thanks

Software Development pdf python
Member Avatar for Stefano Mtangoo
0
861
Member Avatar for mrjoli021

Why wont this delete the files in the arraylist. i checked the arraylist and the files are there. i even added a "\\" to the files and still nothing. i dont get any errors. [code] private void fileDelte () { for (int i =0; i<Files2Delete.size(); i++) { File f = …

Software Development java
Member Avatar for Ezzaral
0
235
Member Avatar for m18

i'm beginner in c++ and i get a problem the problem is error C2065: 'radius' : undeclared identifier and the program [code=cplusplus] # include <iostream> using namespace std; class circle { public: void setRadius (double r) { [COLOR="Red"][B]-[/B][/COLOR] radius = r; [COLOR="Green"] //here the problem and i don't know why …

Software Development c++
Member Avatar for m18
0
147
Member Avatar for kasbaba

Hi, It has been days that I have been working a simple wizard where users can add nodes as typed in BOLD in a treeview control : When the user has finished entering data my treview looks like this : [B]Is this the first time you are visiting DANIWEB ? …

Software Development vb.net
Member Avatar for kasbaba
0
133
Member Avatar for kyserthehun

Hi, i'm having a little trouble with my Zeller's Algorithm problem. Everything seems to work fine unless the year is 1600, 1700, 1800, ect. I've been trying to figure out where i went wrong but to no avail. I'd appreciate any advice. Thanks. [code] #include <iostream> #include <iomanip> using namespace …

Software Development algorithm c c# c++
Member Avatar for ddanbe
0
789
Member Avatar for daviddoria

I have a base class called "ModelFile" which I derive several types of 3D model file classes from. Many of these types of files are just a set of points, so in the base class I have a vector<Point> member. Some of the derived file classes also have vector<Triangle> members. …

Software Development c++
Member Avatar for grumpier
0
143
Member Avatar for Endlezz

Hello, I am new to C++ and am not currently in a class teaching it. I am wondering well, basically, WHAT OpenGL is, how to operate it, a direct link of how to get it, and maybe some example code of where to get it? If someone could tell me …

Software Development c++ opengl
Member Avatar for Endlezz
0
128

The End.