132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vijukumar

will anybody please tell me which is the best book for J2E?

Software Development java
Member Avatar for jwenting
0
62
Member Avatar for M.A.H

Hi, I generated 10 random numbers ranging from 0 to maxrange to find out the running total to work out the fitness of each chromosome. Then I generated 10 more random numbers which range from 0 to the maximum of running total. The second set of 10 random numbers are …

Software Development c++
Member Avatar for iamthwee
0
2K
Member Avatar for arunpawar

Hi I'm just trying to create an appliation in java that can hold my expenses and save it to review every month or end of the year.The problem with it is how can i hold the data of everyday expense into it.this could be with help of oracle or MS …

Software Development java oracle
Member Avatar for ~s.o.s~
0
93
Member Avatar for rami2005

hi i need sum help for 1. login page in vb.net 2. i can not connect with mysql database thank for help

Software Development vb.net
Member Avatar for rami2005
0
79
Member Avatar for squidd

ok so basically I am writing a small program that does a few different things in Delphi 2007. I am very new to coding and so I hope that my terminology will be up to par. If not, please forgive me. I am loading text files into a ListView... I …

Software Development delphi listview pascal
Member Avatar for Raged
0
465
Member Avatar for ssvetkoff

I am writing a program that calls system( "c:\pathtofile.exe" ) to launch another program. Does anybody have a suggestionon how to make it so the console window doesn't show up.

Software Development c++
Member Avatar for ssvetkoff
0
108
Member Avatar for Karkaroff

In the following code, the object is not being written into file in line 30 [ICODE]stfile.write((char*)this,sizeof(item));[/ICODE] When line 26 :[ICODE]stfile.read((char*)&ob,sizeof(item));[/ICODE] is hidden the object is written into the file. Please help!!! [CODE=C++] fstream stfile; class item { int code; char name[25]; int price; int qty; public: int getcode() { return …

Software Development c++ file-system ios
Member Avatar for Karkaroff
0
133
Member Avatar for hashinclude

HI, if i have something like this [CODE]char string[16]; std::cin>>string;[/CODE] and i type something and press "Enter" then [ICODE]std::cin[/ICODE]would terminate, how do i get it to terminate when my first key input is "Enter" ? because normally if i do that , input will not terminate and i will only …

Software Development c++
Member Avatar for Narue
0
283
Member Avatar for riturajraina

Dear Friends, I am developing a small project in which the users have to fill a form from which it will be saved into a database. Here i wanted to scan a particular folder in the hard-drive contineously so as to know if there is any new file saved in …

Software Development c flash hard-drive
Member Avatar for Narue
0
185
Member Avatar for memehboob

Hi I am trying to develop a project in Java as per the following requirements: 1. I need to store fingerprints in The oracle database, taken by any fingerprint scanner. 2. I need to access data using fingerprint matching process. 3. I donot know how to match the patterns using …

Software Development java oracle
Member Avatar for memehboob
0
136
Member Avatar for vikasmailsu

Hello Experts I am trying to parse a dbx file . But I won't be able to find the attachment offset,embeded's image offset, mail's offset,mail's size etc. If abybody know DBX file structure ,then please tell me .Its urgent. Thanks Kind Regards vikas

Software Development c++
Member Avatar for vikasmailsu
0
207
Member Avatar for eranga262154

Hi all, I've created two columns on the list view as follows. [CODE] ColumnHeader colHed; // Header one colHed = new ColumnHeader(); colHed.Text = "Name"; colHed.Width = 100; this.lwDetails.Columns.Add(colHed); // Header two colHed = new ColumnHeader(); colHed.Text = "Address"; colHed.Width = 200; this.lwDetails.Columns.Add(colHed); [/CODE] Then on a separate function I …

Software Development
Member Avatar for eranga262154
0
130
Member Avatar for Basanagouda

I am able to Validate for 9.1 decimal Validation by regex expression "[0-9]\{0,9\}\.[0-9]?$" but If I call in KeyPress last character entered cannot be in textBoxVariable.text. Qusetion : I want to do e.handle=true; for keypress , if textBoxVariable.text Value not satisfy regex condition. Any solution? Thanks in advance

Software Development regex
0
62
Member Avatar for Vagelis44

Hi, I want to make some kind of monitor for my PC and i want to have CPU load in form like "top" (something% , ex 23%). So i use C and : i'm opening the file /proc/stat and read the first line : cpu 92208 2282668 19432 79824 739 …

Software Development c
Member Avatar for Belrog
0
139
Member Avatar for danibootstrap

Hello,I am doing a project in which i need to send and receive data from a microcontroller.I was trying to do this in DEV CPP IDE 4.9.9.2 but couldn't succeed till now.The following is the code i tried compiling. The code: [code] #include <bios.h> #include <conio.h> #define COM1 0 #define …

Software Development c ide
Member Avatar for danibootstrap
0
3K
Member Avatar for lemymatair

Hello World! (to all of you DaniWeb guys!) I want to build 3D Online Chat but I don't know how to start. Does anyone can tell me how to send message between 2 PC? (An output of this message I want to show in 3D character's shout box.) Right now …

Software Development c++ client-server
Member Avatar for lemymatair
0
142
Member Avatar for eleonora

hey i have that singleton code in java but how can i check that it have an instance only? [CODE] class singleton { private static singleton instance; private singleton() { } public static singleton getInstance() { if (instance == null){ instance = new singleton(); } return instance; } } [/CODE] …

Software Development java
Member Avatar for darkagn
0
121
Member Avatar for nurulshidanoni

How to convert this algo into c++? [CODE]while 9more students) read studentID countexam =0 while(more examination) read exam code ExamID = GetExamID (examcode) Incerement Count exam examlist[count exam]=ExamID; endwhile for (i=1,to CountExam-1) do for (j=i to CountExam) do if (i!=j) Inceremnt conflict value of row exam List[i] and column Examlist[j] …

Software Development c++
Member Avatar for nurulshidanoni
0
167
Member Avatar for swethakiran

Hi, I have an existing .ocx file which contains a map. I need to open this file in C++ and not in MFC. MSDN help suggested me that it can be done throuch " #import "file_name" " However, the description is not descriptive and helpful. If anyone can provide me …

Software Development c++
Member Avatar for swethakiran
0
4K
Member Avatar for shankhs

Hi guys I am trying to implement golden section search method to obtain n-th root of any number.I am testing it by finding the square root of 25 in range [4,6].the function to minimise is:[B]x^2-25.[/B] [CODE]#include<iostream> #include<cmath> using namespace std; int fnc(float &,float &); float n,num; int main() { float …

Software Development c++
Member Avatar for shankhs
0
107
Member Avatar for sharath61

how can i view the database value in the table which was designed by me instead of using datagrid, i must get the datbase value in that... say in a table i av, name,age,number,dept even in de table i av same number of rows and colums.. how can i retrive …

Software Development
Member Avatar for sharath61
0
68
Member Avatar for xfactornos

I have been writing my program and everything works like it should unless the user inserts a character then the whole thing blows up... how can I fix this. Is there something I can add to block characters from being added? any help would be appreciated! here is my code: …

Software Development c++
Member Avatar for xfactornos
0
124
Member Avatar for lastcraft

Hi. I've written a small static (Unix .a) library, as usual made from a bunch of .c and .h files. A lot of the functions in the .h files are internal to the final library. Only a few of the .h files containing the public interface. How can I hide …

Software Development c unix
Member Avatar for lastcraft
0
169
Member Avatar for Dark_Knight

Hi, I am trying to create a method that accepts a pointer to a (static) string so that it can modify the string. I have something similar to this: [code] void modifyString(char **pstr) { char *str = *pstr; // Make changes to str ... } void doSomething() { char str[] …

Software Development c
Member Avatar for Dark_Knight
0
134
Member Avatar for xs.usman

can anybody give me the cocept of 2d n 3d arrays in c++ i will be very thankful.i am using this type of site 4 da first time but i m sure it will be good.

Software Development c++
Member Avatar for WaltP
0
686
Member Avatar for adaykin

Hey, I am trying to implement a ctrl + x to close my program when the user clicks on the exit menu item or hits ctrl + x, but so far it is unresponsive, here is my code: [CODE=java] package main; import javax.swing.*; import java.awt.*; import java.awt.event.*; import testing.Intro; public …

Software Development gui java java-swing
Member Avatar for darkagn
0
131
Member Avatar for Spartan552

Hi. Do you know how to get and set cursor position in C language? I know this can be done using GetCursorPos and SetCursorPos from Win32 Api but I want it to work on several OS so I cant use Win32 specific functions. Thanks.

Software Development api c
Member Avatar for Salem
0
193
Member Avatar for jdseader

I need to query a database on a server. As a first step, I have written the following Java code to just make sure I can access the database. I thought that the Try-Catch blocks would take care of the exception problem, but apparently they do not because when I …

Software Development java oracle
Member Avatar for jdseader
0
1K
Member Avatar for Nick0523

when user enters data it will save and i can add/edit data throughout the instance of my main form. when i close out of it and open it again there is nothing there main form to open add form: private void AddGamerTag_Click(object sender, EventArgs e) { NewGamerTag myGamerTag = new …

Software Development
Member Avatar for Nick0523
0
107
Member Avatar for lifei

i am new to programming.. i am now facing a prolem on how to turn the value in the combo box by automatically by using visual c++ 6. let's say the value in the combo box is 5, after i click a button, the value will increase to 10, 15 …

Software Development c++
Member Avatar for lifei
0
126
Member Avatar for victor77

Greetings!!! I need help in calculating the difference between 2 dates (the result should be like "1 year, 2 months and 15 days"). I am building an application for my team to show their tenure in the organization (LIVE TENURE FROM THE DATE OF HIRE TILL NOW). I have the …

Software Development visual-basic
Member Avatar for SCBWV
0
152
Member Avatar for gusbear

when i start my program i write import graphics * def main(): but then when i try to create a button it doesn't work anyone know the problem??thanks

Software Development python
Member Avatar for Ene Uran
0
2K
Member Avatar for ersa

hey i am new in java and i need help for a project of scool i need a program in wich i form a matrix and the numbers in it will form like this 1 but there is a problem the o must not be there only the 1 o …

Software Development java
Member Avatar for Imaginativeone
0
58
Member Avatar for teppuus

Hello, I have to create a double linked list array of pointers for the alphabet (one pointer per letter). Ok, so I tried starting by creating a double linked list: [code] struct word{ string newWord; word *next; word *back; }; struct wordList{ word *head; }; [/code] And then array of …

Software Development c++ linked-list
Member Avatar for teppuus
0
124
Member Avatar for ronghel

can someone explain this to me... coz i cant understand.. im trying to this one but i cant do it. Implement and test this method: static double max(double[] x) { // returns the maximum of the elements in the array x

Software Development java
Member Avatar for ronghel
0
135
Member Avatar for schiller

hi, im having problems with my password textfield. for instance, my password is "default", and when i start typing in letter "d", the letter "d" is being displayed first before turning it into an asterisk. i was thinking if it is possible to make my entry entirely in an asterisk …

Software Development java
Member Avatar for peter_budo
0
123
Member Avatar for dv1r

if this topic is already up pleas point me to it coz i dont even know how to search it.... what i want to do is a small screen in the big screen and have all my printf(""); to print there... i dont know what else to say so pleas …

Software Development c
Member Avatar for dv1r
0
392
Member Avatar for anallan

can someone help me regarding my program? i am tasked to create a program called string censoring. it asks for two strings then it removes the characters in the first string which are similar to those in the second. Ex: 1st string= new york yankees 2nd string= absolutely result= nw …

Software Development c++
Member Avatar for anallan
0
672
Member Avatar for yarita

I am just beginning in a C++ class and I am having a hard time setting up the code for using a modulus operator. The problem assigned has user input as name and hours worked. The program is to output the name, weeks worked, days worked, and hours worked based …

Software Development c++
Member Avatar for Arpy Giri
0
154
Member Avatar for Gigo

Hello guys, I have been working for a long time a project in vb.net using a database which is in SQL Server 2000.I am currently trying to upload an image!The file i want to upload is not type image but nvarchar.I have made save it inthe database as ID of …

Software Development image sql vb.net
Member Avatar for shiny123
0
134
Member Avatar for r3su3l0

Hello everyone. I have this problem recently when I change my OS from winxp to suse linux 10.2. I want to run my visual basic 6 in suse but I have no idea how to do it. Is suse is capable of running vb6? If not, is there any options …

Software Development suse visual-basic
Member Avatar for tom curren
0
710
Member Avatar for isocam

Can anybody help? I have modified an original Visual Basic project to convert from set of binary code into a readable format. I am unsure of the actual type of code that the data file ("Mazatrol.dat") contains. I need to be able to convert it into a language, from binary, …

Software Development visual-basic
Member Avatar for tom curren
0
402
Member Avatar for everlast

is there a way for me to write OOP programs in c++ for Texas Instruments TI 89 graphic calculator?

Software Development c c# c++ oop
Member Avatar for everlast
0
1K
Member Avatar for eena75

Hai, I write a simulation and need to set the time for running the simulation. the simulation should stop based on the time that heve been set .How to set start time, get the current time and lastly to get the total time of java running program? really hope u …

Software Development java
Member Avatar for mickinator
0
191
Member Avatar for HaskellBoY

Hi folks. I decided to learn a functional language in order to increase my programming knowledge and was advised to learn Haskell. I didn't find any useful books, so one of my friends (former software engineering student) gave me his class notes, including tons of exercises. However, he claimed he …

Software Development engineering
Member Avatar for Cale
0
162
Member Avatar for pepipox

Dear all In advance, thank you for your help. I am trying to initialize an object in C++ depending on certain parameter. Below is the source code I am using. if(ARG::metrn==metrnSMD) EventStream<complex<Lambda>> evstrTrain(fileTrain, evlsTrain); else EventStream<Lambda> evstrTrain(fileTrain, evlsTrain); if (ARG::FRandomEventOrder()) evstrTrain.SetRandomOrder(true); I am declaring and calling the constructor for 'evstrTrain' …

Software Development c++ visual-studio
Member Avatar for pepipox
0
153
Member Avatar for maHvic

this is my code to convert characters into its decimal form...it is working and the next step is to convert the decimal form to its binary form...how can i do that....???? [CODE]#include<iostream> #include<conio.h> using namespace std; void input(); void process(); int main() { input(); system("PAUSE"); } void input() { string …

Software Development c++
Member Avatar for invisal
0
202
Member Avatar for echocpt

Hi, I have a project that I’ve been trying to do for months and months on my own, but it has got to the point where I can’t carry on because I’m so stuck, and all the tuts I try to follow don’t work for what I need. I am …

Software Development vb.net
Member Avatar for echocpt
0
117
Member Avatar for deicer

I have the following code which is working properly, what I'm looking to do is add an additional function to it, but I'm getting stuck. What I need to do is add a function to my class called DigitalTime::interval_since(const DigitalTime& a_previous_time, int& hours_in_interval, int& minutes_in_interval) What this function does is …

Software Development c++
Member Avatar for deicer
0
134
Member Avatar for eesti44

Hello, I am still working on the self study thing. I have decided to do or attempt to do a project that requires a header files with 2 other source files. The header file was given in the book. It is as follows: #ifndef GOLF_H_ #define GOLF_H_ //golf.h -- for …

Software Development c++
Member Avatar for eesti44
0
141

The End.