132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
Hi How do i get current windows logged on users profile directory in vista using vc++. Software Development c++ windows-vista | |
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 | |
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++ | |
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 … | |
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 … | |
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++ | |
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 | |
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++ | |
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 | |
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, … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
[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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 … | |
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 | |
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++ | |
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++ | |
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 | |
Basically this code serves to take in an input file and convert all the "<" and ">" into "<" and ">" 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 | |
I am searching for the topic, and I don't know whrere to start. Pease advise. Your assistance is greatly apprecieated. Thanks. Kevin | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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++ | |
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 … |
The End.