199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DoEds

Actually this is not an assignment or anything... School days are done... Still there's lot of things that i don't know... I just need some ideas on how to make an inventory using files... Basically, the file contains the name of the "Items" "Prices" and the "Amount"... I want to …

Member Avatar for Adak
0
1K
Member Avatar for ace22

Hello, I'm working on a little project. I need to have program which: [B]1.[/B] reads textline from user (example: A little cat goes to town) [B]2.[/B] a) reads words what user wants to change to 0 (example word cat to 000) b) one word to one line and if given …

Member Avatar for ace22
0
92
Member Avatar for JHus00

[CODE]#include <cstdlib> #include <iostream> #include <fstream> using namespace std; double average(int sum, int numElms) { int i; double avg; avg = sum/numElms; return sum; } int main() { ifstream fileIn; const int MAX_ARRAY = 500; int scores[MAX_ARRAY]; int numElms, sum; int i; fileIn.open("pgm5data.txt"); //open file if (fileIn.fail() ) { cout …

Member Avatar for jonsca
0
132
Member Avatar for trenzkun

could you help me????? how can i get an output like this: 2+9*32/3%2=96...it depends on the user on how much operators that he want to use. please help me of what statement that i have to use to have an output like this..... please post an example statement.........

Member Avatar for Adak
0
84
Member Avatar for benqus

Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); …

Member Avatar for Graphix
0
139
Member Avatar for dragonrouge

Hi I tryed this code as it is and I have just modifyed the connexion parameters but it does'nt work correctly. each time I get the same resul and there is no modification in my database. Could anyone help me please Thnx a lot [QUOTE=R0bb0b;649062]Try this [CODE=php] <strong>Update multiple rows …

Member Avatar for whiteyoh
0
65
Member Avatar for yumyam09

help how to make payroll using java program and the following conditions: 1.one dimensional array 2.two dimensional array 3. accept inputs of string, integer and double data types 4. validation using if-else-if 5. use of loops constructs 6. computation 7. summary 8. use of JOptionpane/system.out.print pleas help me

Member Avatar for Roodra
0
599
Member Avatar for sanchow

Hello, I have a huge file with the following kind of lines: A,B,C 1,2,3 D,E 4,5 What is efficient way to split and get the following output using python? A 1 B 1 C 1 A 2 B 2 C 2 A 3 B 3 C 3 D 4 D …

Member Avatar for sanchow
0
117
Member Avatar for enderes05

i need to write a program that determines whether a meeting room is in violation of fire law regulations regarding the maximum room capacity and the number of people to attend the meeting. if the number of people is less than or equal to the maximum capacity, the program announces …

Member Avatar for enderes05
0
104
Member Avatar for culebrin

Hi, I've been working on a report and it has 2 subreports, one of them can outgrow the region destinated for it (on a preprinted paper), and I want to break the subreport on a new page of the main report (with page header and page footer). How can I …

Member Avatar for culebrin
0
473
Member Avatar for naash

Help ! I am new to jsp. I am writing the part of my code. It has 4 textbox fields - Name, Module, Module, Contact no. In my code 4 rows are created each having the 4 fields. What I want is that after user comes to the 2nd row, …

Member Avatar for peter_budo
0
82
Member Avatar for soUPERMan

Im getting errors with this, please advice me on what to do: [CODE]def displayHappy(): numLimit = input("Enter a positive integer: ") countHappy = 0 countUnhappy = 0 liHappy = [] for num in range(1, numLimit + 1): inNum = num while inNum != 1 and inNum != 4: inNum = …

Member Avatar for soUPERMan
0
167
Member Avatar for Aaron Robinson

I am trying to create a sidebar menu which when categories are clicked, they expand and show items under each category. My website is structured so that an index.php is used to include 3 other php files: header, body and footer. The body is a php file that changes based …

Member Avatar for Aaron Robinson
0
202
Member Avatar for coachkrzyzewski

I'm working in implementing a hash table, and I'm running into a Seg Fault whenever I try to access my buckets :( Here's the code: simple test class [code] //TEST HASH!! #include "hashTable.h" #include <iostream> #include <string> using namespace std; int main() { hashTable htab(101); htab.insert("blah"); cout << htab.contains("blah") << …

Member Avatar for mitrmkar
0
3K
Member Avatar for Aaron Robinson

I am looking into using JQuery cookies to keep track of a menu when the page is reloaded ([url]http://plugins.jquery.com/project/cookie[/url]). I am using GET/POST to change the content section of my website layout. My question is about session-cookies. They are only destroyed when the browser closes, not when the user leaves …

0
338
Member Avatar for endframe

Hi everybody, I wanna learn how can I solve this problem of undefined symbols while trying to load them from another function. Here's the code to explain: [CODE]void maxmin(struct ma mx) { int max=mx.ev[0]; int min=mx.od[0]; for (int i=0;i<10;i++) if (mx.ev[i]>max) max=mx.ev[i]; for (int j=0;j<10;j++) if (mx.od[j]<min) min=mx.od[j]; cout<<"The biggest …

Member Avatar for endframe
0
341
Member Avatar for holyskylark

[COLOR="Red"]i have written this code to inser data in my database table "member "through the form but it is not working if i start debugging the code it gives no error but when i open my database table to see the inserted data it is not working. please help me …

Member Avatar for kvprajapati
0
149
Member Avatar for Kosithc

Hello, I am a totally newbie and I would be pleased, if you could help me. Here is the problem: I have created VS 2008 project and configured it for using the ITK (toolkit for medical image analysis - in my case for reading Dicom images). Everything worked OK until …

Member Avatar for Kosithc
0
632
Member Avatar for pepelara

Hi, I have a database table Files with a column Validated type of bit. Default is 0 and when a file is validated the column turn to 1. In my app I have two discs, a red one for 0 and a green for 1, so I would like to …

Member Avatar for pepelara
0
88
Member Avatar for lightman

Hi I'm fairly new to asp.net and here's my project: my company runs a website that provides daily video broadcasts to our clients. our clients have access to a specific link which I will call "videolink.aspx" and that's hosted in the address [url]http://www.mycompany/videolink.aspx[/url] in which there is a windows media …

0
104
Member Avatar for rhubarb65

Hi I am trying to cross compile a simple program for Windows CE using CodeBlocks. I am using mingw32ce (part of CEGCC) which is a set of tools and libraries for building WCE programs on XP. And some WCE SDL libraries I found here: [url]http://users.uoa.gr/~knakos/scummvm/libraries/release-0-10-0/wince-gcc-libs.tar.bz2[/url] I have succeded in building …

Member Avatar for rhubarb65
0
341
Member Avatar for pradeep2002gs

Dear all, i'm facing a prob for past few days that my servlets classes are not referenced properly in glass fish server . i downloaded a project from sourceforge.net named Javalibrary [url]http://sourceforge.net/projects/javalibrary/[/url] i imported all the files and all files working properly in netbeans i mean i can run the …

Member Avatar for jwenting
0
113
Member Avatar for jorelastig

I should create a Java program called FindThatNumber.java. The program should generate 10 random integers between 1 and 100 (inclusive) using Math.pow( ) and then store them sequentially in an array. The program should then ask the user to enter a single integer. If the integer is in the array …

Member Avatar for jwenting
0
104
Member Avatar for wardduncan

I need some help with understanding an error that I am getting. Can anyone help me. Here is my problem. I am trying to hardcode information for a mortgage calc and I am getting an illegal start of expression error. Here is an example: MortgageLoanCalculator.java:15: illegal start of expression double …

Member Avatar for masijade
0
151
Member Avatar for sbanks_charles

I have a question about something that I don't understand which doesn't seem to affect anything. I have an application that uses a grid to find and select a detail record. I have two cells that contain phone numbers so I have a private sub that handles grid cell formating. …

Member Avatar for sbanks_charles
0
144
Member Avatar for vuki27

I am trying to make a program so that you can enter your name, but I want to limit the amount of characters used to 10. This is what i have so far, and when i press backspace on my program, it doesn't delete the previous character but moves the …

Member Avatar for Narue
0
5K
Member Avatar for Acute

How can i move the Rectangle on the form and animate it as it moves? If i want to move it for example to the right, i must increase it's X cordinate, right? I did it (++x) and drawed a new rectangle and overdrawed the old one with background color. …

Member Avatar for ddanbe
0
719
Member Avatar for edgias

Hello guys! In my application i have textbox where a student has to enter his/her name.I have validated it so that it accepts only letters but the problem is if i want to delete something when typing i have to use the delete button only.I cant use the space tab …

Member Avatar for ddanbe
0
118
Member Avatar for sho12345

Hi everyone, I am having problems with my c++ code for about 2 - 3 hours now and decided I need help. I am a student at a college and I am trying to code this for my assignment. cpp file:[CODE] #include "bridgehand.h" BridgeHand::BridgeHand() { for (int x = 0; …

Member Avatar for Galf
0
172
Member Avatar for angelicakirana

Hello, i'am newbie. I don't know about programming language,in each language, i only know "hello world". Javascript is spend more expensive bandhwidth. Especially for Limited Account of hosting. Is it possible to convert javascript to php or html ???

Member Avatar for angelicakirana
0
3K
Member Avatar for farsen

Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: [URL="http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide"]http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide[/URL] And the demo here: [URL="http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html"]http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html[/URL] Problem is, because of my text and image layout, I want the hide/reveal text to …

0
144
Member Avatar for dreinzy

Hello folks, I'm getting the error message "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/login.php on line 9". I've been at it for hours and my eyes are starting to bleed, I would greatly appreciate a code-weary traveller could spot my mistake. Here's the first 10 lines of my page. …

Member Avatar for dreinzy
0
2K
Member Avatar for danielperez

I want to know what would be better to learn java or javascript and what is the difference. Also what would be a good free study manual or program that could help me.

Member Avatar for magicalmakx
0
92
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
228
Member Avatar for deathscythe129

i need help on how to make a calculator program on C. for example: 100+3*(344-45)-3/20= ? ive done a part of it, but it doesnt even give the right answer. the user inputs anything (excluding letters and some puncts). it accepts the equation as a string. ive already converted the …

Member Avatar for trenzkun
0
267
Member Avatar for ALOK.53

hii all i am trying gridview control in my application.code is executing without errors.but i am not getting output means(internet explorer is coming blank). [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; …

Member Avatar for kvprajapati
0
113
Member Avatar for renegregorio

Hello... Can anybody help me with this? 1. i have the images of our specimen card, located in my hard disk. 2. i want the image of the speciment card to be display in a picturebox when i type in the name. 3. i already made this in Ms Access …

Member Avatar for kvprajapati
0
94
Member Avatar for serkan sendur
Member Avatar for iarmza

I've never learn about pascal language and my teacher had some homework about cache working and he told me write it in Pascal. This is sample running. Main menu 1. Open fake disk 2. Read block to file 3. Write block from file 4. Close fake disk 5. Exit Enter …

Member Avatar for Nick Evan
0
213
Member Avatar for sarfrazashfaq

Hi there I am translating PERL code into python and i am new on both language.I have one question if we have hash key reference in PERL like this way $a->{b} how we can traslate it into PYTHON? and if we have this code $a->{$b} , how we translate it …

Member Avatar for sarfrazashfaq
0
179
Member Avatar for nastia

I have downloaded relo with mingw compiler. How can I run programm with it? or I should download somthing else? Or maybe you can write me some commands with which I can compile and run programm in command line. thank you

Member Avatar for nastia
0
97
Member Avatar for cane23

i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i …

Member Avatar for liamfriel
0
84
Member Avatar for cwarn23

Hi and I have a mysql table that gets a few million records inserted per day and it seems to get corrupted very often. The current database structure is myisam but it keeps on getting corrupted. Are there any mysql data structures that won't corrupt even when restarting the mysql …

Member Avatar for cwarn23
0
112
Member Avatar for haxor98

How do I get a program to check to see if the computer is shuting down or logging off? I want to run code when the computer is shutting down.

Member Avatar for haxor98
0
148
Member Avatar for Hanyouslayer

First off, I know this is homework, and I don't expect anyone to do everything for me. Just a simple explanation is more than enough. The first project I am taking in a number in seconds that the user enters and converting it to hours, minutes, and seconds, but I …

Member Avatar for aabb
0
522
Member Avatar for simplyflawless

Write a method that computes future investment value at a given interest rate for a specified number of years. Use the following method header: public static double futureInvestmentValue(double investmentAmount, double monthlyInterestRate, int years) For example, futureInvestmentValue(10000, 0.05/12,5) returns 12833.590. Write a test program that prompts the user to enter the …

Member Avatar for javaAddict
0
432
Member Avatar for phoenix_dwarf

I'm trying to test out the Ajax multihandleslider control but the control dos not show up on the screen. Only an empty text box. Am i doing something wrong? This is everything... [CODE] <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" /> <div> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <table> …

Member Avatar for phoenix_dwarf
0
126
Member Avatar for praneeth_gunda

Hey Every Body can u PLease help me with this this is a code 4 RSA it is workin' for small values of {p,q,e} like {11,3,7} but it does'nt work for {11,17,7} Please help me at this POint even long double is not enough for storing the value of c[i]^d …

Member Avatar for nyagaj
0
156
Member Avatar for shanef1981

Hi Everyone, I am having an issue with a small app I am writing. It takes a huge report from one of our clients, extracts a few columns, makes date calculations and spits out a csv file for our systems to update the databases. The problem is I am in …

Member Avatar for kvprajapati
0
934
Member Avatar for darek9576

String class provides us with the method String.valueOf(some stuff) that basically converts "some stuff" into a string.. But we can also concatenate "some stuff" with an empty String (""). Both these methods result in a String representation of an object(or other data type) so my question is what is the …

Member Avatar for javaAddict
0
148

The End.