132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tonyaim83

Hi.. I m working on Windows-Xp and building my project on Dev-cpp. The program compiles properly and i have also included the required dll file in the same folder of exe but when while running this application from command prompt it gives me following error message :- "[B]This application has …

Software Development c++
Member Avatar for dubeyprateek
0
105
Member Avatar for manster

I'm clueless as to how to fix the errors in this contact information manager program. please help. Thanks in advanced [code=cplusplus] #include <iostream> #include <string> #include <fstream> using namespace std; struct Date { int month, day, year; }; struct Address { string street, city, state, zipcode; }; class Person { …

Software Development c c# c++
Member Avatar for Nick Evan
0
947
Member Avatar for waterfall

hi im having problem in retreiving data in text box in C# web form.i have a combobox and a textbox.i have successfully populated combobox with data from SQL table.there are 2 tables namely employee and worker.combobox is populated with employeee data and when i select an employee it shows relevant …

Software Development
Member Avatar for waterfall
0
303
Member Avatar for revenge2

hello there, i have been having some problems with dev c++. It just cant seem to compile my code. It says source file not compiled when i try to run the "compiled" program. Its like this;- i write my code (simple code stil beginner lol) and i go compile it …

Software Development c++
Member Avatar for Nick Evan
0
86
Member Avatar for kv79

Hi to all, Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum operating systems Windows 95, Windows NT 3.1 How to use user32.dll in Dev-C++? Where to find User32.lib ? I tryed in C:\windows\and Dev-C++. Where is the diffrence in Header betwen Declared …

Software Development c++ operating-system
Member Avatar for kv79
0
82
Member Avatar for deepu28

hi i am a fresher i want to learn j2me. just i started with hello world program but am getting an error that is java.lang.classNotFoundException. so please someone help me to come out from this error. regards Deepu G

Software Development java
Member Avatar for masijade
0
68
Member Avatar for degamer106

This is a relatively simple program but for some reason, I can't compile it. I'm pretty sure the code is correct and working. My compiler keeps saying that it cannot find a constructor matching a HourlyWorker constructor when I instantiate a HourlyWorker object. I've checked and rechecked the code (in …

Software Development java
Member Avatar for masijade
0
185
Member Avatar for stilllearning

Hi, I am trying to find the header file monetary.h and the function strfmon() to do some currency conversions, but Visual Studio 2005 compiler doesn't seem to support those. Does anyone know if there is an alternative function I can use ? Thanks a lot.

Software Development c visual-studio
Member Avatar for ssharish2005
0
220
Member Avatar for Mongooseman

The Java book I'm using ([i]Java Programming[/i] by Joyce Farrel, Thompson Course Technology), when explaining how to add components to an applet, uses the following code: [code=Java]import javax.swing.*; import java.awt.*; public class JHello extends JApplet { Container con = getContentPane(); JLabel greeting = new JLabel("Hello. Who are you?"); public void …

Software Development java java-swing
Member Avatar for masijade
0
233
Member Avatar for Angel V

im trying to sort my random numbers to odd numbers and even numbers,, the last part of my code is really wrong.....(the sorting part) [code] my code: #include<time.h> int main() { int num[50]; int x,odd,even; srand(time(NULL)); for(x=0; x<50; x++) { num[x] = (rand()%60)+40; } for(x = 49; x>-1; x--) { …

Software Development c
Member Avatar for ssharish2005
0
105
Member Avatar for jobs

Can someone tell me what value would each of the line of code will have, when you go through this code: Here is the full code: server.conf: [CODE]interface=192.168.0.2; log=/var/log/example; [/CODE] example.c: [CODE=c] conf_fd=open("/etc/example/server.conf",O_RDONLY); read(conf_fd,conf,100); close(conf_fd); /* Get server IP */ buffer=strtok(conf,";"); buffer1=strtok(NULL,";"); strtok(buffer,"="); server=strtok(NULL,"="); server_ip=inet_addr(server);[/CODE] What is the value at …

Software Development c
Member Avatar for ssharish2005
0
102
Member Avatar for boyz

we know that a class will compile if no catch along with try but have finally but what happens if there is an arithmetic exception in the try block????

Software Development java
Member Avatar for darkagn
0
90
Member Avatar for satya.vijai

Hi, I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive. For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The labels (label1, label2, label3 )for these drives have been assigned dynamically. I …

Software Development api c
Member Avatar for ssharish2005
0
110
Member Avatar for meme123

Hi, I'm getting the error msg, "non-static can't be referenced from a static context", on my Readfile... what is the simplest way of fixing it? Thanks. import java.util.Date; import java.util.Calendar; import java.text.SimpleDateFormat; import javax.mail.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; public class Bulkloademail { public static void main(String[] args) { …

Software Development java
Member Avatar for satya5321
0
249
Member Avatar for boyz

In a function can we pass void string(null) if the method is overloaded???

Software Development java
Member Avatar for satya5321
0
68
Member Avatar for Labby77

Hi, is there any website have a lots of sample code and eg. to download. I'm quite new to JAVA cos no sticky threads for this. & also how can I do a simple buttongroup with captions?

Software Development java
Member Avatar for satya5321
0
91
Member Avatar for brightstar

[B][U]Good day to all programmers there!!!!,[/U][/B] [COLOR="Red"][U]please help me to my assignment, I need it tommorow! I want a program that [/U][/COLOR] [COLOR="Green"][B]1.input the name of student, 2.input his/her grades 3. display its grade rate 4. display if it is perfect, pased or failed[/B][/COLOR] :)

Software Development java
Member Avatar for satya5321
0
86
Member Avatar for curt22

Hello everyone, I was wondering what a good book to start learning Java would be. I know a little about programming like variables, function, etc. , but not object-oriented stuff. I was thinking of buying Learning Java, 3rd Edition, but I'm not sure. What do you think is the best …

Software Development java
Member Avatar for satya5321
0
92
Member Avatar for Sawamura

hi all, i want to make error handling but a complete ones. i was done with exception (ex) but i need a little bit more like error line,error number or other. does any one know how to do this? thx. best regards.

Software Development vb.net
Member Avatar for Sawamura
0
130
Member Avatar for ArrogantLegend

[CODE] // War Game made by Jeremy Wayman #include <iostream> #include <cstdlib> #include <ctime> #include <fstream> #include <string> using namespace std; int cardValue[13] = {1,2,3,4,5,6,7,8,9,10,11,12,13}; // Declaring first array string cardType[4]; // Declaring second array ifstream inFile; // Declaring a reading inFile void displayRules(); // Declaring function displayRules bool winner(int …

Software Development c++
Member Avatar for Ancient Dragon
0
91
Member Avatar for jrice528

In my program I am using the do-while loop to go through program.. my question is how do I loop the program without the do-while loop... rather that when the user enters menu number 0, it quits the program... Teacher uses a script to grade the programs and on hsi …

Software Development c++
Member Avatar for WaltP
0
137
Member Avatar for stokey

I'm trying to get the program to loop back to the friends array and re-compare the two user inputs again and keep doing it until the 2nd input is the same as the first. We haven't covered this yet in my class but could someone help me to find this …

Software Development c++
Member Avatar for stokey
0
103
Member Avatar for pilchas

i have project to do a html parser . the html parser will read all table ( between <tr> and <td> tags) in a url address which is given the program. then the parser convert all the data which is read from tables to xml and sql . i m …

Software Development html-css perl xml
Member Avatar for trudge
0
101
Member Avatar for picklesandmayo

ok, so I have been working all day on this program and I am kinda stuck. The goal is to have a user input several words, then (ignoring case) alphabetize them (using [ICODE]qsort()[/ICODE] only) and count how many times each word was used. This is what I've got so far: …

Software Development c++
Member Avatar for picklesandmayo
0
100
Member Avatar for emilio

i have an array which contains third level pointers : [CODE]char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char …

Software Development c
Member Avatar for Duoas
0
104
Member Avatar for Om4eagle

i want only[B]5 (five lines of codes)[/B] for a win32 application in delphi u can use resource file and dpr file can any body help

Software Development delphi pascal
Member Avatar for squidd
0
78
Member Avatar for RoOose

Hi.... I'm a new member . I've a code , but there is a part I didn't undestand it. Can u help me to undestand it? I am writing the part I didn't understand it by red color: [code] import javax.swing.JOptionPane; public class SortingArray { public static void main(String[] argus){ …

Software Development java java-swing
Member Avatar for RoOose
0
133
Member Avatar for Mr.UNOwen

Hello I need help creating a program in Java. Basically I need to use ClassLoader to load classes at runtime that implements a particular interface (the name and location will be known). From what I see on the api, there's a loadclass method that gives you a Class object, but …

Software Development api google-api java
Member Avatar for Ezzaral
0
81
Member Avatar for weewee

Can anyone help me how to write the following codes in different ways. I used Linked List. template<class Item> ttt<Item>::ttt() { square=0; board=new node<Item>; for (Item i='9'; i>=1; i--) { list_head_insert(board,i); } } template<class Item> void ttt<Item>::clear() { list_clear(board); square=0; board=new node<Item>; for (Item i='9'; i !='0'; i--) { list_head_insert(board,i); …

Software Development c++ linked-list
Member Avatar for people123
0
970
Member Avatar for majestic0110

Just out of curiosity, which IDE is used by people (primaily). I myself use Blue J. This IDE was introduced to myself on my bachelors in Software design. Just wondered what you all use ............

Software Development ide java
Member Avatar for majestic0110
0
154
Member Avatar for pizzazzman2000

hi.............. I'm very new to java, viz. servlets,jsp,jdbc, etc My trainer has assigned me a project: Online Recruitment System My trainer is putting us under tremendous pressure to complete the project in a very short span of time ( 4 days, to be precise) Is there anyone who has done …

Software Development java java-jsp
Member Avatar for jwenting
0
141
Member Avatar for xtr.eme

Hi, my first post here! I have been using python and wxpython for a short time, and have written a few programs, but they all look the same with the standard grey form background... How could I make a really nice interface in python, like the one on Windows Media …

Software Development python
Member Avatar for xtr.eme
0
63
Member Avatar for dhirennaik

dear freinds, from right clicking on project I have add New Item as Component class and change component to TextBox. Then from Toolbox i have add Textbox from this component Now, when i put the textbox from component i need a keypress event as a parent event for all the …

Software Development
Member Avatar for Jugortha
0
85
Member Avatar for fishsqzr

Does anyone know how to determine which control on a form currently has focus?

Software Development
Member Avatar for fishsqzr
0
71
Member Avatar for jobs

I am looking at the code which has the following: read(conf_fd,conf,100); Can someone tell me what these parameters are passed to read function?

Software Development c++
Member Avatar for WaltP
0
95
Member Avatar for Dr_computer

Hi guys, i am new programmer by assemply language so i want solution for this small program program to display the extended ASCII character (ASCII codes 80h to FFh) .display 10 characters per line,separated by blanks.Stop after the extended characters have been displayed ones.

Software Development assembly
Member Avatar for Salem
0
122
Member Avatar for xeption12

Hello there :) I have recently started learning lists in C++, and I just do not understand what is the advantage of lists over arrays? I only see disadvantages, like: they're harder to implement, harder to manage, a little bit confusing, and so on... So, i know i'm a n00b …

Software Development c++
Member Avatar for Jishnu
0
109
Member Avatar for Run.[it]

Is there a way in Visual Basic .net to make textboxes uneditable? I have my program reading data from a file and displaying the contents in various textboxes but dont wish to allow the user to be able to edit the contents of said textboxes.

Software Development vb.net visual-basic
Member Avatar for Run.[it]
0
83
Member Avatar for ulcards99

For some reason I cannot get my CGI Script to work with my Dreamweaver file. I feel like it may have something to do with where I'm saying things are located. For example, the company website that I am working on has its files located on another website. I assume …

Software Development python
Member Avatar for elvenson
0
695
Member Avatar for satya.vijai

Hi, I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive. For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The labels (label1, label2, label3 )for these drives have been assigned dynamically. I …

Software Development api shell-scripting
Member Avatar for Ancient Dragon
0
69
Member Avatar for jobs

I need to create a program and have it create a lock file so that only one instance of the program can be run at any one time. I came across this code: [CODE=c] for (tries = 0; tries != maxtries; ++tries) { fd = open("/tmp/some.lock.file", O_WRONLY|O_CREAT|O_EXCL, 0644); if (fd …

Software Development c++ file-system
Member Avatar for Duoas
0
152
Member Avatar for jayDC

Hello everyone, I'm a bit new to this forum, found some excellent posts that helped me alot on this new and advance project I'm working on. I'm creating a program to control Vinyl Mastering Equipment, and the audio that goes with it. The problem I'm faced with is accurate timing. …

Software Development api audio visual-basic
Member Avatar for hkdani
0
141
Member Avatar for HF SHOOTER

Hello everybody, first this is my first post on this forum and im from Germany, so sorry for some confused language syntax ;-) I developed a electric circuit that controls some LEDs. This is built into my computer to make some light effects. I wrote a controlprogramm for the microcontroler …

Software Development audio visual-basic
Member Avatar for hkdani
0
159
Member Avatar for hawisme000

can any1 help me use a progress bar(if im not mistaken) i wanna put a loading bar in my login form but i dont know the syntax i must put thx in advance to any1 who can help

Software Development visual-basic
Member Avatar for jayDC
0
128
Member Avatar for balla4eva33

Given main: [CODE] #include <iostream> using namespace std; #include <stdlib.h> #include "minivector.h" #include "bubbleSort.h" #include "Fraction.h" int main() { int arr[]={99, 12, 50, 80, 1, 79, 20}; cout << endl << "bubbleSort ints" << endl; bubbleSort(arr, 7); for (int i=0; i < 7; i++) cout << arr[i]<< endl; double arr2[]={99.2, …

Software Development c++
Member Avatar for balla4eva33
0
194
Member Avatar for peeta

hello every one this is first time in this forum and very first post. I am really interested in learning c++. I am mac user and before i start learning c++ could anyone Please tell me if i need different version of c++ complier or i will be fine with …

Software Development c++
Member Avatar for darkagn
0
89
Member Avatar for rjmiller

Ok, So i'm attempting to simulate diffusion through a 2-D plate of multiple concentrations of compounds and my program so far looks something like follows [code=python] from scipy import * from pylab import * #============================================================================== #simulation conditions #============================================================================== nx = 64 # The number of x nodes ny = 64 …

Software Development python
Member Avatar for rjmiller
0
108
Member Avatar for Sentax

Hello, I'm just curious if anyone out there has ran across a nice ListView control replacement that does LARGE icons? What I'm trying to do is display decent size icons on the left of the control and then on the right side have a text area with title that all …

Software Development listview visual-basic
Member Avatar for Sentax
0
267
Member Avatar for magikman

hello, I am trying to parse, format and mail some log files on a server. I was using shell scripts to parse the different log files and mail them out. However, the network has grown and as a result the log files are massive. And as a result of the …

Software Development perl
Member Avatar for magikman
0
228
Member Avatar for Cyb3rAssasin

Hi I need help with a project im working on im wondering if there is a way to include a file in a program. Im making a prank program that hides in the background and plays a funny wav file. Is there a way to include the wav file in …

Software Development c++ file-system
Member Avatar for Cyb3rAssasin
0
96

The End.