199,112 Archived Topics
Remove Filter ![]() | |
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 … | |
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. | |
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 … | |
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 … | |
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.*; … | |
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. | |
Hello guys, I and my project team at varsity finished up a website with a database back end. We developed it on a Windows system but now deploying to a Unix server. We used the Yellow duck framework. We've managed to work out compatibility issues as Unix is very sensitive … | |
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(); … | |
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[]= … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
any one with an example of a hotel managment system or a link to a website with one | |
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 … | |
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 … | |
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 … | |
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 … | |
I have a form in jsp and if someone enters special character (like single quote ') in text field (ex L'orel) and submit, it gives a error. I know this is a special character conflict, but how can I override special characters by submitting a form through JAVA. Is there … | |
can you help me to write a programme to show on which operating system i'm working now. | |
Hi everyone, I am in the process of building a website within our ERP/CRM system and have hit a road block. I have a couple of form fields within my page... I have an element that has a form label that cannot be changed via the system and was thinking … | |
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() … | |
Hi All, Is there any way to set the focus to a table row using javascript so that subsequent key press events can iterate through the table rows.Please help me to solve this. Thanks | |
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 … | |
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 | |
hi guys, i have recently uploaded my project in school website, in a free host site. but unfortunately, i encountered this error, check this out: [COLOR="Red"]Server Error in '/projecty3' Application.[/COLOR] User does not have permission to perform this action. Description: An unhandled exception occurred during the execution of the current … | |
> 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 … | |
a list in a txt file. i want to read that file into an array list. the file contains to colums separated by a tab how can i do this? | |
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? | |
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. … | |
hai when the no of columns is 10 rows to be more than 2000 ....which type of insert is best?? INSERT INTO example (name, age) VALUES('Timmy Mellowman', '23' ); or INSERT INTO example (name, age) VALUES('Timmy Mellowman', '23' ),('jimmy','16' ),(' johnn', '19' ); | |
pls i want to learn all web programing languages. | |
Hello everybody, can any one please tell me how to disable the <div>. I have got the id of <div>.I have tried $(divID).style.display = "block" and "none". But of no use can any one please help me Thanks, Aksharma. | |
| |
hai guyz...1st of all i would lik 2 thank to those who teach me on how to do an announcement...now i got new problem...im doin online food delivering system within campus...so user can view the food and if the user click buy, they can view the name, price n description … | |
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 … | |
hi all, how do we display a messagebox in ASP.net. i tried in this way MsgBox("<script language='javascript'>successfully saved</script>") but it displays a error message saying " [B][I]It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly … | |
http://www.bynd.net/view-addeddw/clickview.asp In detaild I have added this, please Help me. In the clickview.asp the link values are not adding having the ID as the Primary Key. When clik on the Link caled by the URL, ir redirects to the `redirect.asp ( <a href="redirect.asp?ID=<%=(rsClicks.Fields.Item("URL").Value)%>" target="_blank"> )` and goes to the link … | |
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 … | |
HI friends, Please help me that there is any way to check whether any web browser is open or not in the system. |
The End.