132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 { … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
In a function can we pass void string(null) if the method is overloaded??? Software Development java | |
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 | |
[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 | |
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 | |
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 | |
[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++ | |
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++ | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
Does anyone know how to determine which control on a form currently has focus? Software Development | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 |
The End.