132,726 Archived Topics
Remove Filter ![]() | |
hello guyz, do you know best sites to recommend about "JOPtionPane"?? i need to have more tutorials with this due to our next project..i hope you could help me guyz...thank you ahead.. Software Development java | |
I am having trouble reading the second matrix from my file. Can anyone help me please? Thank you! Software Development c++ | |
I want to create a class for I/O operations. This class take filename as parameter and then provides functions to write and read from file. I had to include two different fstream objects,one for input and one for output ,so I designed such an implementation.If you can see a better … Software Development c++ | |
Hi I have fiddled around with other GUI's such as pygame and wxPython but i wanted to use something a little more powerful when it came to 3D objects and i saw what PyOpenGl can do. But i spent ages looking for any help but i couldn't find any place … | |
When I run this I get an error saying that the sql syntax is wrong. [U]Field types are:[/U] [B]Time:[/B] Text [B]Date:[/B] Text [B]SalespersonID:[/B] Integer [code=vb.net] Dim sqlWrite As String = "INSERT INTO Audit (Time, Date, SalespersonID) VALUES('" & CType(lblTime.Text, String) & "','" & CType(lblDate.Text, String) & "','" & SalespersonID & … Software Development vb.net | |
I have this big operating system's project where I have to basically write my own mini operating system. I have everything broken into pieces and am taking it step by step. Starting with the loader. Prior to this class, I had no idea how intricate an OS system was and … Software Development java operating-system | |
I've made a program that generates a Character's details(Game details, like level, name, HP, etc, based on a few parameters). I've added another .cpp file to it [without a main() function], but when I try to compile the whole project in Dev-Cpp, it just shows an error. My code is: … | |
I have got stuck with a very basic prb in Linked lists, i m familiar with array, as in array to compare two elements of the array u can simply use their position in the array since they are all positioned in a consecutive manner in memory like: if(arr[2]<arr[3]) //do … Software Development c++ linked-list | |
I have an application that will run fine for about 15 minutes then will just randomly stop and give me a 'Run time error 5' message. this is very annoying because this program is supposed to run for extended pieriods of time. Software Development visual-basic | |
Helloi I want to do a program.This program will about that.I want to download a file from ftp mirrors.But ı want to select best(fastest) ftp mirror.How can i do that.I want to give mirror list via a file to program.And this program have to ask that mirror with mirror bandwith.and … Software Development | |
hey there, i'm new at delphi, at my first prog actually. Been doing c/c++ for a while. The prog is supposed to be simple game, and i need a level counter. I've strayed a bit from the tutorial i'm using and now when i run it the number in the … | |
I have an old VHS camcorder connected to the vidoe input of a WinTV PCI card. I want to develop a simple program that will, at regular intervals, grab stills from that video source and save them to my hard drive. So far, I've been unable to find anything free … Software Development hard-drive pci-card video video-card visual-basic | |
Hello, I am trying to get my cost, salestax, totalamount to come out in the output dialogbox to have only two decimals places. I know how to do on the printf but not on the dialogbox. Please help. Here in my complete code. [code] // Displaying multiple strings import javax.swing.*; … Software Development java java-swing | |
Hi friends, The problem is to find out the factorial of a large number say 20 and display it purely in terms of numbers not like 2.333e23. Software Development c++ | |
Hi, I've just started a course in C++ about 3 weeks ago. Unfortunately, I'm pretty lost at the moment with this problem and my teacher said I'm on my own now. (I'm guessing he doesn't want to answer my questions anymore because I ask too many, but I really don't … | |
[CODE] import java.util.Scanner; import java.io.*; public class program1 { Scanner filescan = null; public program1(){ try { filescan = new Scanner (new File("t.txt")); } catch (FileNotFoundException fe){ fe.printStackTrace(); } } public static void main(String[] args)throws IOException { printFile(); } public static void printFile()throws IOException { int num; while(filescan.hasNextInt()){ num= filescan.nextInt(); … Software Development java | |
How do I add deletion to my program?????? [CODE]#include <iostream> #include <set> using namespace std; int main () { set<int> myset; set<int>::iterator it; pair<set<int>::iterator,bool> ret; // set some initial values: for (int i=1; i<=5; i++) myset.insert(i*5); ret = myset.insert(15); if (ret.second==false) it=ret.first; myset.insert (it,8); myset.insert (it,9); myset.insert (it,11); int myints[]= … Software Development c++ | |
If the question says... "user can enter input up to five times" - does that mean you use a "for loop" since you know the # of times? or do you just use a "while loop" please help. thanks. Software Development c++ | |
Hello friends, there is yet another problem for you... We have got a string say HOUR Now we need a program that can choose the specified number of words say n from this word in all possible ways and displays them ...for example in this case for n=3 the output … Software Development c++ | |
I am using StreamReader to read a File. With the code below I am able to read a whole line. What I wonder is how it is possible to read a comma delimited file like these lines. How will I put the delimiter ',' and also assign the values to … Software Development c++ | |
I'm working on this as an assignment for Computer Science 121. I thought I had the code working, but I couldn't figure out one crucial part. The assignment is to convert phrases (such as 'GET LOAN' or 'CALL HOME') into telephone numbers (438-5626 and 225-5466 respectively). The program has to … Software Development c++ | |
I created this function and I need help turning this into a recursive function [code=c] #include "stdafx.h" #include "stdio.h" int fact (int n); // function prototype// int main (void) { int n,result; printf("please enter a positive integer"); scanf("%d", &n); result = fact(n); printf("The answer is %d\n", result); return 0; } … | |
Heya, could use some help from any nice fellah around. This is a highscore that sorts by score[index] and then name[index] follows. There's some more features I would like to add to it like a menu e t c, but for now I want the basic thing working asap. Help … Software Development c++ | |
Hi, I am trying to write the syntax using a FOR loop to sum numbers base on user input from a console apps. The user enters the total amount numbers to add 2 for eg then the actual numbers to add 4 and then 4 for eg. so the using … Software Development vb.net | |
im writing my own assembler and the only thing that is going wrong is reading the input from the source file I dont no how to read one word at a time so if i have a statement like mov 25 3 it can read mov store it than 25 … Software Development c++ | |
Hi guys. I have now looked at hundreds of articles and forums for solutions. I have the following forms: A db selector form. The form has a combobox where I want to load the connections(connection name) you want to use to connect to a sql database. I need the user … Software Development vb.net visual-basic xml | |
any one with an example of a hotel managment system or a link to a website with one Software Development visual-basic | |
Im trying to learn c++ in school but the book does not break it down FOR ME ENOUGH, could some body suggest a book like c++ for dummies or something that would really help me out. Im engineer major in my sophmore year and I have plenty more programming ahead. … | |
Hi I'm currently using data binding, combo boxes, grids... I need to filter the data in a DataGridview depending on a value selected in a combo box. The combo is bound to a table, displaying data from a particular column, while the datagrid needs to "query" a second table "...WHERE … Software Development vb.net | |
I'm working on an assignment and I need to swap the values from the left side of the tree to the right side and vise versa. I'm having no luck on it so far. Here is the header file with the important areas [code] template<class elemType> struct nodeType { elemType … Software Development c++ | |
I am working on a homework project and i have it all done but the beginning and i can't figure out why i keep getting either errors or weird outputs. the following is the snippet that i am having trouble with. It keeps giving me an index error or when … Software Development python | |
First post, so go easy on me. I'm hoping an Assembly guru can help me out with my assignment. For some reason, I'm losing my Century when I try to print out date and time in Assembly. Wondering if someone could take a peek and help me out. Also, although … | |
can you help me to write a programme to show on which operating system i'm working now. Software Development operating-system | |
hello friends i start learning c++ and still at basics and was trying to solve a exercise in second chapter. this exercise asked to print a square using asterisks. i am able to create a asterisks solid square and colde is as follows. [CODE]# include<iostream> using namespace std; int main() … Software Development c++ | |
Hi friends I am newbie, accidently posted this post on introduction forum. Anyway, I am working on multithreaded programming and thread synchronization in Java to control traffic. I was told that Java is easier with multithreading than C++. I don't really mind as long as it works as expected. Even … Software Development java multithreading | |
Hi friends, Please help me about Is there any way to know whether the gmail or yahoomail or other mail web site is opened or not. please help Software Development | |
> Write a method that converts its String parameter so that letters are written in > blocks five letters long. For example, consider the following two versions of the > same sentence: > > Plain: This is how we would ordinarily write a sentence. > Blocked : Thisi showw ewoul … Software Development java | |
For instance in a "For" loop: [code=csharp] for(int i = 0;i<=listBox1.[/code] What could I place after the "." at the end to check so it doesn't keep on working after the number of items? Software Development | |
Hello this is it: I have a desktop app using WinForms and the user have an option in which he/she can enter a query to a database (TRANSACT-SQL, PLSQL). I need to validate that input, but the user would have to struggle with typos and remember exactly every database detail. … Software Development user-interface | |
| |
Hi Everyone, I have a problem which makes me jump out of my socks. There is a database with 6 fields, containing ID, PRODUCT, DESCRIPTION, FIELD1, FIELD2, FIELD3 with about 4000 records. _____________________________________________________ | ID | PRODUCT | DESCRIPTION | FIELD1 | FIELD2 | FIELD 3 | ========================================= | 1 … Software Development sql visual-basic | |
i have two classes one is MyForm and the other one is MySwingWorker, i get a null exception which is related to line 36, i'm not sure what i have to pass to MySwingWorker class. please help!!!! [CODE=java]public class MyForm extends JFrame { public static void main(String[] args) { new … Software Development java java-swing | |
HI friends, Please help me that there is any way to check whether any web browser is open or not in the system. Software Development web-browser | |
Hi friends i want a help from u friends my application is using ms access forms as front end and we are using vb for coding i have a form consists of a combo box and a button named export,when we select an item from combo box and click on … Software Development visual-basic | |
Hi, I m making telephone directory using VB.For this i have taken code from net and made some changes in it.But after making changes i got an error unrecognised database format. Plz anyone help me to remove this error. Thanks in advance. Software Development visual-basic | |
I have a text file that in some places have newlines in the middle. For example: My name is Sam. I am a novice programmer. I go to school in Michigan. I use getline() to read through the entire file, and then I send it to a function to tokenize … Software Development c++ | |
Hi. I am new to c++ and programing in general and have run into a problem on one of my assignments. I am trying to insert one vector, into a certain spot in another vector. Both are of the same type <string>. My main problem is we have not really … Software Development c++ | |
Good evening everyone, Firstly, I just want to say this is not homework related. I graduated 15 years ago, but I dabble with C++ purely for a hobby these days but must be getting rusty in some areas. I have a question with regard to string comparisons. What I have … |
The End.