199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gator6688

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 …

Member Avatar for Dave Sinkula
0
288
Member Avatar for Inny

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 …

Member Avatar for somedude3488
0
352
Member Avatar for fishguts

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 …

Member Avatar for fishguts
0
96
Member Avatar for kehar

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 …

Member Avatar for choudhuryshouvi
0
489
Member Avatar for jhowell

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 …

Member Avatar for jireh
0
1K
Member Avatar for Zababa

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 …

Member Avatar for jireh
0
119
Member Avatar for zandiago

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”. …

Member Avatar for zandiago
0
201
Member Avatar for kedarkhedkar

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 …

Member Avatar for ~s.o.s~
0
147
Member Avatar for Halbo

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 …

Member Avatar for Halbo
0
104
Member Avatar for leovicAustria

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 …

Member Avatar for leovicAustria
0
147
Member Avatar for SheSaidImaPregy

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. …

Member Avatar for SheSaidImaPregy
0
167
Member Avatar for Caled

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 …

Member Avatar for Caled
0
1K
Member Avatar for apontutul

There is no operator overloading in JAVA, but operator + is used as arithmetic addition and concatination operator. why ? please clarify this

Member Avatar for Ezzaral
0
75
Member Avatar for Draker44

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 …

Member Avatar for Narue
0
151
Member Avatar for pulkitmalhotra

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.

Member Avatar for orko
0
128
Member Avatar for csteverun

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 …

Member Avatar for csteverun
0
109
Member Avatar for zandiago

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 …

Member Avatar for zandiago
0
188
Member Avatar for piers

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 …

Member Avatar for piers
0
115
Member Avatar for unclepauly

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 …

Member Avatar for unclepauly
0
155
Member Avatar for scsi_016

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 = …

Member Avatar for scsi_016
0
96
Member Avatar for N[e]tt[e]

[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:

Member Avatar for joshua__lim
0
516
Member Avatar for johngw

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 …

Member Avatar for johngw
0
120
Member Avatar for hibzgums

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, …

Member Avatar for hibzgums
0
56
Member Avatar for leovicAustria

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

Member Avatar for choudhuryshouvi
0
104
Member Avatar for BalagurunathanS

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

Member Avatar for BalagurunathanS
0
100
Member Avatar for Caled

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 …

Member Avatar for Caled
0
1K
Member Avatar for fatihpiristine

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 …

Member Avatar for Salem
0
101
Member Avatar for Duki

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 …

Member Avatar for Dave Sinkula
0
91
Member Avatar for eranga262154

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 …

Member Avatar for eranga262154
0
154
Member Avatar for sarah24

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 …

Member Avatar for Lerner
0
233
Member Avatar for mag00

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 …

Member Avatar for mag00
0
165
Member Avatar for navjeet1

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, …

Member Avatar for fatihpiristine
0
119
Member Avatar for HoldenCfld

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> …

Member Avatar for HoldenCfld
0
184
Member Avatar for gr8fubar420

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; …

Member Avatar for Ramy Mahrous
0
352
Member Avatar for KimJack

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, …

Member Avatar for Ezzaral
0
92
Member Avatar for Balapriya

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.

Member Avatar for PirateTUX
0
95
Member Avatar for Khishin

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) …

Member Avatar for Khishin
0
150
Member Avatar for Pro2000

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 …

Member Avatar for fatihpiristine
0
181
Member Avatar for ceyesuma

Can someone show me a simple program that will display how to extend and use super?

Member Avatar for no1zson
0
116
Member Avatar for nwad

I want to implement Dijkstra algorithm for shortest paths in Java, can anyone please help me with the code.

Member Avatar for jwenting
0
83
Member Avatar for icecube

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 …

Member Avatar for icecube
0
95
Member Avatar for eXceed69

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 …

Member Avatar for eXceed69
0
168
Member Avatar for Sunny28525

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 …

Member Avatar for binoj_daniel
0
133
Member Avatar for r0b0t1

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 …

Member Avatar for ExplainThat
0
103
Member Avatar for ehat

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 < …

Member Avatar for ehat
0
161
Member Avatar for BigFormat

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 …

Member Avatar for Salem
0
435
Member Avatar for asilter

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 …

Member Avatar for asilter
0
145
Member Avatar for jjt

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? …

Member Avatar for jjt
0
194
Member Avatar for zandiago

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 …

Member Avatar for zandiago
0
275
Member Avatar for ebabes

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 …

Member Avatar for hollystyles
0
103

The End.