199,113 Archived Topics
Remove Filter ![]() | |
I have to write a program for an online class that accepts data to the function enterData() and passes it to printCheck to display. I am new to C++ and since it is an online class it is hard to get help. I have to compose a check and be … | |
Need help to set up a few files. I want to use a php script to detect server status, and javascript to automatically redirect to a server status page [on another server obviously] (only if the server is down) immediately rather than get a 404 error. I have a php … | |
I am working on a java assignment for my cs 111 class and I keep getting an missing return statement error, and have tried to determine the error but cannot locate it. I am sure that I have the right set of curly braces. My code is shown below. If … | |
Sir, I have prepared programme using VB6 and Access2003. The programme is working very fine so far as adding,deleting,modifying the record through VB is concerned. I have installed Crystal Report 8.5 and have prepared a report and save as (bill.rpt) but I dont know how to connect the report with … | |
hi to everyone, Im creating an application which it can show all records of the two tables in single form. its like costumerTable and OrderList. how can i show a record of specific costumer from costumertable together with his product order details from OrderList table. Supposed I have costumerNo field … | |
Hello there, guys! I'll get right to it. I am coding in VB, using Visual Studio 2005, and I need to retrieve the data from a MS Access database. The thing is, I need to use a SQL statement to do so, right? Therefore, I need to know the number … | |
Good day: There have been similar posts to my question...but i don't see what I'm doing wrong. Our professor wanted us to use a switch/case statement, we started transversing a string....The assisgnment : Write a program that will read in a one line phrase from a text file named “vowels.txt”. … | |
Hi, I am developing online examination in servlets/jsp. the problem with I stucked with is how to show user a timer. the jsp page which showing current question to user should show time remaining & that time should be continuously decreasing by 1 sec. One approch is to use applet … | |
Hi, everyone, new member here. I'm working on a project which has a very simple user interface, with 1 combobox, 2 labels, and three buttons. When I save the project and come back to it later, all the elements on the form have piled up on top of each other … | |
Guys please help me. I'll try to create a program which computes average for the entry of students grade through NOTEPAD..The file "Scores.txt" is in my desktop. If ill try to run my program this error appears: ""run time error 53" file not found". What should I do. Where will … | |
I need to figure out how to bind data and call it back anywhere on the page. Basically, this is what I am trying to do. Keep in mind that I am an asp programmer and am very new to ASP.NET. I have build a custom login page that works. … | |
Hello all, is there a way to cancel or abort the execution of current actionPerformed? My problem is that, when the control is passed to the listener method, i perform checking if certain value is null, if so, display Error Msg using JOP. when user click OK, then the actionPerformed … | |
There is no operator overloading in JAVA, but operator + is used as arithmetic addition and concatination operator. why ? please clarify this | |
Hello everyone. I suppose I should start off with an introduction. I'm new to the whole C++ environment. I've done some scripting in perl, but just started with C++. I've picked up a few books and looked around on the web now for about 5 months. Finally came across this … | |
![]() | Please tell me how to transfer values from one method to another wherein the second method is trying to access the value from the first method and the second method takes in parameter from some other method. |
This program create structures of the type "pf_space" and allocates memory as they're created. The problem is, it doesn't work like the book. malloc never returns false and therefore you can continue making structures until the program crashes. On my PC, I tracked down the offending line. After creating 1034 … | |
Good day guys: The assignment is : Write a program that will generate an unknown (between 93 & 139) count of random numbers whose values fall between 147 and 206. Calculate the average to 2 decimal places and the standard deviation (3 decimal places). On the monitor, display only the … | |
I am trying to teach myself java and I have a book but it doesnt have how to parse an int into a string. So are there any ways of either doing this or getting round it so I can display my answer? I put in bold the place where … | |
hi, im using this code to serialize my class into xml: [code] [COLOR=green]public[/COLOR] [COLOR=green]static[/COLOR] [COLOR=green]void[/COLOR] Save([COLOR=green]Class1[/COLOR] myClass) { System.Xml.[COLOR=green]XmlTextWriter[/COLOR] w = [COLOR=green]new[/COLOR] System.Xml.[COLOR=green]XmlTextWriter[/COLOR]([COLOR=green]@"./myFile.cfg"[/COLOR], [COLOR=green]Encoding[/COLOR].ASCII); System.Xml.Serialization.[COLOR=green]XmlSerializer[/COLOR] x = [COLOR=green]new[/COLOR] System.Xml.Serialization.[COLOR=green]XmlSerializer[/COLOR](myClass.GetType()); x.Serialize(w, myClass); w.Close(); } [/code] my class has only 2 things to serialize. these are private member variables, which i provide … | |
Hi! Would you anybody please do check my code given below and say why I am getting Debug Assertion Failed. I have used visual studio 6. But I think I have problems in my code. Please I do need urgent solution. Please help me. [code] #include <iostream.h> int INITIAL = … | |
[SIZE=2][FONT=Microsoft Sans Serif]Hi..anyone here have sms gateway coding (vb.net)for windows application?? i need a free service..meaning i will hope my application can able to send sms to my customer for latest news/promotions. how can i do so? [/FONT][/SIZE] :sad: | |
I have a project in C++Builder. It invokes Application->MessageBox in several files. I recently upgraded to C++Builder 2007. The MessageBox calls that were already there seem to work OK, but those I have added since upgrading all give an AccessViolation at Run time. The Call Stack looks like this: :7c812a5b … | |
my instructor told me to report the big theta notation and i don't know anything about it!!! sorry but i'm a real noob at it... T_T please help... he was asking about its history. and all i called find was the formula. this is really bad. T_T aside from that, … | |
Hi guys, can you please help me. Is it possible to get data from NOTEPAD,Store each data into a new table of MS-Access, Thanks..God bless | |
Hi friends.. I need to get all the .exe's running in a machine and display them in my application .How to do it..? In specific i need to get the .Net exe's alone.. Somebody help in this regard as early as possible.. Regards, Balaguru | |
Hello people, How can i display the JLabel text using external file.. When user click a button, a file is read and retrieve and will be displayed at the label.. what I did was: 1) Declare all the necessary file IO 2) use the useDelimiter() method to read the file … | |
![]() | Hello guys, I want to improve up my skills programming in C and Phyton on Linux. I have no idea which version of Linux is good to do this. So far I have tried Fedora 7, Slackware and StartCom Enterprise. I couldnt find what I really want. Few years ago … |
Hey guys. I need to add a constructor that takes an int argument, sz, and an array of char of size sz. I then need the constructor to set the first sz members of the private dara array (myArray) to the sz members of the argument array of char. Here's … | |
Hi all, I want to use a function to write some values to a text file. That function is called from the main function. Every time when I can that function from main, the perviously written value is overwrite. That's true, it wont work. So what I have done is … | |
hi please i need some help..i know how to write a code for postfix expression evaluation by taking input from user,, but what if all the data is in text file,, pls help me modify my code , i have to read all the variables and values and also the … | |
Fairly new to this, and looked around on the net and didn't readily find my answers. I am setting up picture pages, thousands, and want to be able to change header or footer information down the road as the site expands. I am on godaddy non windows hosting. I need … | |
I have made a website [URL="http://www.movieguruclub.com"]http://www.movieguruclub.com[/URL], I have used ASP dontnet. How to do url-asp redirection. Step 1: join.asp Step 2: edu.add.asp IF coming from join asp, OPEN, else REDIRECT index.asp Step 3: other.add.asp IF coming from edu.add.asp, OPEN, else REDIRECT index.asp Step 4: exp.add.asp IF coming from other.add.asp, OPEN, … ![]() | |
I have a project for class and I have an error coming up that I don't understand. I've written code the same way I always do, and haven't found that I've done something oddly, but I still get an uninitialized local variable warning. Here is my code: [code] include <iostream> … | |
im trying to convert the int input into a string so that i can find the length of it and use the substring method. how may i go about this? [CODE]import java.util.Scanner; public class OddEvenZero { public static void main(String[] args) { int input = 0; int len = 0; … | |
Hello All, I would like to create a Student class as follows: class Student { String name; int age; int studentNum; String instructor; } My question is how would I read information from a text file into an array of class Students? The file is as follows: Sue Jones, 19, … | |
Hi, I want to learn about Ogre Engine. If anybody can refer some e-book materials or some websites which is better for Ogre. Thankyou. | |
I'm not sure if my title adequately explains what I want to do, so I'll provide a scenario. I have two classes in a folder, one named UserInterface.class and another named HelloWorld.class, and the contents are as follows: [code=java] import java.util.Scanner; public class UserInterface { public static void main(String[] args) … | |
Peace, I wrote a PHP File Contains a login form, If the user logs in a field will be inserted into the MySQL DataBase, So I want to make an automatic logout after 20 minutes idle. I wrote: [CODE] <?php session_start(); require("Connecting_Config.php"); $unm=$_SESSION['user_name']; $current_date=date("i"); //Only Minutes $gt_lastactivity="select * from logs … ![]() | |
Can someone show me a simple program that will display how to extend and use super? | |
I want to implement Dijkstra algorithm for shortest paths in Java, can anyone please help me with the code. | |
Hi I am completely new to the programming and I got 0/10 on my last algorithm in pseudo code. I need to write an algorithm using pseudo code to score a tennis match. The algorithm takes two scores and the player who won the point as input and retuen the … | |
Hi, I'm having trouble to get the value of a certain tag which seems have a complicated data structure. Object: To pull data from a data and print it out to a report file. Problem: Getting the data from array of hash and pass it to a hash of hash … | |
Hi friends, This is Sunny. i am trying to create a paint brush. almost i have done it but there is a problem in filling color. Actually i have done it in vb6 but when i use vb.net it does not work. here i write vb6 code : Private Declare … | |
I'm sorry for asking such a simple question, but I can't an haven't found a reference to my problem. Its fairly simple, and I don't think it will require much change over-all (I hope anyway). By the way: Its a plugin designed for an human interaction program designed for games … | |
My query is below. I need to evaulate each row returned (and provide a "label" - shown with an astrick) based on the values in the 3 date columns and I'm stumped as to how to do it. Here are my conditions and labels: Action_Dt = Effdt AND Action_Dt < … | |
Hi guys, I've to read a txt file and produce a statistic of each alphabetic char occurrence. I'm approaching this task reading char by char until EOF and using an int array to hold the number of occurrences of each character read so far! So that's my solution: [code] int … | |
i'm trying to read and understand a .cc (c++)file, i want to know what does ok_flag(false),time_range(false),prefix() do after ":" ? I did know that ":" was being used for class inheritance but what is ":" for in the bleow code? [code] ClassA::ClassA(const char *db) : ok_flag(false),time_range(false),prefix() { //.. Constructor statements … | |
I am totally new to java, but i understand java is the appropriate for my project. i am not sure where to start? and how to use the java packages. I know programming but JAVA is my first time approach. Can any one guide me on the visualization java tools? … | |
The following is my "inFile": [code]UEAALEUE RIXETOHI BACOZOEI DIUEAOAU ZIKOFIMO RESUZEAE IIJEHUMO EEQINOXO TAOEKIBI RUQICIGU ZIWAREWE HIDIFIFO MOIACALA MEJIEACO UAPEUUQU YISOZAZO KENIDONA EEVIYOHU SEJEXEYA OESEQUFU NUJECAUE RAKAWUME NISIMAKE MEPIBADO TAUELAZI IIEACINU IITOGIIE GIEIFEVU NIOUQELU IIVOFEHI TOKUCORU GUQOEOJE HOBUUIXA HOVEDAGO JEROMAFA TOLIOELU QIGOIIAA TEDEIUOA COZOLELA YOHUZUZA QUNACAKO POSAEIGA JECAMOPE VAKEKAPA LEJEVINE … | |
Hello out there! I've tried lots of editing in this code yet I still receive the following errors. 1. Every time I press the Update button to update a record, I usually receive this error message[COLOR="red"] [B]“Syntax error in UPDATE statement”.[/B][/COLOR] 2. When I press the Save New button to … |
The End.