199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for reddishmiles

hi pls gelp me with my assignment.. i supposed to create a cash register program that will calculate customer's payment and change.. here's what i have so far.. [CODE]#include<stdio.h> #include<conio.h> int main(void) { printf("Welcome to Reddish Bar&Cafe"); printf("\n\n\Choose from the items below:"); printf("\n\n\n\Margarita= 25 bucks"); printf("\n\Beer= 10 bucks"); printf("\n\Martini= 35 …

Member Avatar for reddishmiles
0
969
Member Avatar for KrazyKitsune
Member Avatar for PDB1982

How can I code to restrict the users input to 5 numbers and no more or less....I can't think of a good way to do it. [code] import java.io.*; public class Palindrome { public static void main(String [] args){ try{ BufferedReader object = new BufferedReader( new InputStreamReader(System.in)); System.out.println("Enter number"); int …

Member Avatar for tong1
0
110
Member Avatar for tharder

I have 2 forms shown below. Form1 has a button that opens Form2. Form2 has a button that (I wish) puts text in a textbox on Form1 This is about as bare bones as it gets. No one I've talked to knows what to do. It appears that everytime you …

Member Avatar for ohjiroChan
0
830
Member Avatar for ceyesuma

Hello: I tried to create the jar of a project on C drive I have these command with the error. Could someone help with the creation of the jar? [b][/b] [b]command[/b] f [code] C:\Program Files\Java\jdk1.6.0_11\bin>jar -cvmf [/code] [b]path to manifest.txt[/b] [code] C:\Users\depot\Documents\ceyesumma\java_cache\my_projects\guitar_master_project\target_guitar_master\guitar_master\guitar_master\build\classes\view myManifest.txt [/code] [b]intended gm.jar denied on c: and …

Member Avatar for NormR1
0
1K
Member Avatar for maryarlene

Hi. I'm having a problem getting the per values or per digits entered in a textbox? and I need to sum it up that shows the answer in another textbox. like for example I've enter 123 in textbox1 and textbox2 should display the answer as 6 which the sum when …

Member Avatar for Momerath
0
106
Member Avatar for kchyn

Hey, I have a generator but it works dependently on time, so it makes new values only every second. Is there a way to make it work faster? I want to be able to generate new numbers every millisecond if possible. [code=C++] srand((unsigned)time(0)); int a; int b; int c; int …

Member Avatar for Valaraukar
0
249
Member Avatar for KrazyKitsune

I'd like a code in which a raw_input function will end and move to a print function after 35 seconds. So something like: [code=syntax]var = raw_input() # put time limit of 35 secs here print "Time's up!" # prints this only if time runs out in the raw_input[/code]

Member Avatar for wikirifi
0
4K
Member Avatar for Zexsz

I'm working on a basic CMS for a club at my school. But I'm having trouble with the log in. The log in works but after entering the user name and password and submitting it, the form comes back up and you have to do it a second time before …

Member Avatar for Zexsz
0
142
Member Avatar for frank754

I'm trying to quickly learn C# in Microsoft Visual Studio 2008, as I need to show some proficiency for my new job. Previously I have worked mostly with Linux (PHP/MySQL). I not having any trouble with C# itself (variables, loops, etc.), but what I do need is to learn as …

Member Avatar for frank754
0
145
Member Avatar for Toikkala

Hey, i need to make app that should take 10 chars from list. I tried it with range command but it's not working. [CODE] list = 'abcdefghijklmnopqrstuvxyzo' for list in range(10): print list [/CODE] And this code just prints numbers 0 to 10. So, is there some other command that …

Member Avatar for TrustyTony
0
230
Member Avatar for ayooshkasmth

Is there a way to display text from selecting checkboxes such that different combinations have different texts?

Member Avatar for ayooshkasmth
0
77
Member Avatar for camelCase

Hello Daniwebber's, I am developing a web browser. When the user clicks "Go" or "Enter" it will navigate to the website, however if it doesn't contain popular website keywords such as "http://" then I know they didn't actually want to go to a website. Then I would have it perform …

Member Avatar for mshauny
0
1K
Member Avatar for InnocentVamp

Hi all. I want to ask about storing the photos in a MySql database. I am developing a Software for Tours & Traveling company in that i need to store the photos of the customer. The further requirement is to export the database to an Excel sheet including the photo. …

Member Avatar for noobsaibot
0
1K
Member Avatar for neoraghav

Hi, I'm new to pointers. i got some requirements...... Following is my requirement.........i want to use a double and triple pointer array [2D,3D] and in that double pointer i want to get data from the user.how can i achieve that using malloc and free for assigning and deallocating memory. im …

Member Avatar for mike_2000_17
0
2K
Member Avatar for bwls

I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup …

Member Avatar for fobos
0
121
Member Avatar for phummon

Hi everyone, I'm a moderately experienced C coder trying to figure out the [B]execve()[/B] command. Here's the basic problem: My program takes a command from the user, loaded into the string UsrCmd. The string is tokenized and each token is loaded into ParaArray[]. Then ParaArray[] is used as arguments to …

Member Avatar for mitrmkar
0
284
Member Avatar for aviavyne

Hello, I started c++, and I recently got an assignment, which is supposed to calculate the sum, variance, mean deviation, and mean in a set. The user can input any number positive or negative for the set. Because it is a set, the person may enter as many numbers as …

Member Avatar for mike_2000_17
0
295
Member Avatar for Kamboodle

Hi guys, Would it be possible to remove the phone company and website from this contact form? The code is at: [url]http://pastebin.com/YnNG7RrL[/url] Any help would be great

Member Avatar for Stefano Mtangoo
0
123
Member Avatar for rajeesh_rsn

Hi friends, What is the correct method of uploading files using php ? Now I am using a simple file upload script and that will upload that file to a directory in my ftp server. And I will make that directory's CHMOD to 777. Is this is the correct way …

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for umairqureshi_6

Need help from u all am a newbie here!!! making a 2D project, snap link is given below [url]http://i238.photobucket.com/albums/ff224/umairqureshi_6/back.png[/url] here i have to blast the ship which is moving downward on x-axis with a cannon ball ,on the mountain the function i am using for projectile trajectory is ---------------------------------------------------- void …

Member Avatar for umairqureshi_6
0
518
Member Avatar for Davenavie

Need help with this project 1. Declare two integers, one for row number entered one for the number of columns entered 2. Declare a string variable named dummy it will be used for the ending prompt. 3. Display the title [item #1] using Console.Writeline() 4. Display a blank line [2] …

Member Avatar for ddanbe
0
92
Member Avatar for cooolpunit

i would like to write a program regarding the give character is vovel or consants but i am able to input the character can any one tell with full netbeans program including jTextField and all...........

Member Avatar for stultuske
0
83
Member Avatar for varun mca

[B]Hello sir... I want to know that if we can make a function that exactly works as clrscr() if yes then please give me some idea to implement that..I will try that...[/B]

Member Avatar for Adak
0
118
Member Avatar for ezkonekgal

my desired output is this: Input number of process to simulate SJF: 4 Input burst time for each process: P1 = 7 P2 = 4 P3 = 1 P4 = 4 Input Arrival Time for each process: P1 = 0 P2 = 2 P3 = 4 P4 = 5 Now …

Member Avatar for Valaraukar
0
121
Member Avatar for manjukdvg

in my application i have JSP and a Java class(not servlet) ,if user clicks on the JSP it has to pass the value to the Java class , how to get the values from JSP ?

Member Avatar for stultuske
0
388
Member Avatar for mynameissiva

hi I want create a login page in asp.net using c#.. and am using sql server-2005.. name and password should be valid which store in DB then only page redirect to next. so plz help me quickly to do my task. plz give from basic level thank you

Member Avatar for mynameissiva
0
151
Member Avatar for vincezed

Hi I'm creating a application where there are different users like admin and others. I want to log in as admin and hav all the previlages to it and when login as others it should have only minimum previlage. I'm doing it C#.net. can any one give me the code …

Member Avatar for daniel955
0
85
Member Avatar for ccube921

I don't know why my compiler didn't like my for loop [CODE]#include <iostream> using namespace std; int main() { cout<<"Please enter an integer.\n"; int intege; cin>> intege; cin.ignore(); cout<<"Please enter it again." for ( int inte = 1; inte = 1; ) { cin>> integ; if (intege==integ) { inte=0 cout<<"Thank …

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for jlancaster954

hi everyone, i'm looking for some help please! i'm in an intro to java class and i cant figure out what i'm doing wrong.i am getting an error message that says: Ch3_PrExercise1.java:29: ';' expected String inData.; like i said i just starting out so any help or advice is greatly …

Member Avatar for Stefano Mtangoo
0
384
Member Avatar for jrhitokiri

Hello, I have this code that supposedly imitate a DTR for a homework. I've made the preliminary code, but I'm kinda surprised at the output since it's not what I had expected. Here's the code: [CODE] int login() { int id; char* name, log_time; time_t lt; lt = time(NULL); printf("\nPlease …

Member Avatar for jrhitokiri
0
237
Member Avatar for accountholder

hi, please help me nice guys ;) mysql column: `userid` contains: donny `friends_userid` contains: cherry linda jackson michael mika // each word means one different person then... how to: ----------------- add more friends delete a friend edit a friend ------------------ in the `friends_userid` using php without breaking another "friends"?? thanx …

Member Avatar for Stefano Mtangoo
0
189
Member Avatar for cortez716

Here's what Im trying to do... Write a program that asks the user to guess the next roll of a six sided die. Each guess costs $ 1. If they guess correctly, they get $ 100.00. The player will start out with a $10.00 bank. Each time he (or she) …

Member Avatar for Akill10
0
180
Member Avatar for alleybye

i got this! [CODE]Option Explicit Public con As New ADODB.Connection Public rsTally As New ADODB.Recordset Public Sub Connect() con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Aianski\Desktop\Cliente ko\SGO_Tally.mdb;Persist Security Info=False" rsTally.Open "select * from tbl_Tally ", con, 3, 2 End Sub [/CODE] i think its right. but when i run it i get "syntax …

Member Avatar for AndreRet
0
99
Member Avatar for danilomayojr

Dear Programmer i am having problem developing simple reading and sending data via rs232.. can anyone help me by sending me a very simple module with comments with regards to reading and sending data.... Thanks in advance good friend!!! Danilo Mayo Jr., Philippines

Member Avatar for AndreRet
0
163
Member Avatar for hell_tej

:) Hi Masters, I m creating a project of VB to Access conectivity. I need that i want store data in server, there is 5 PC server-client networking.[B]How can i write Program in VB to STORE DATA IN SERVER[/B].I m totaly blank for this problem. :'( Please Help me to …

Member Avatar for AndreRet
0
233
Member Avatar for fourty

Hi Pals could anyone show me how to code an active clock window Thanks in advance fourty

Member Avatar for AndreRet
0
182
Member Avatar for ivan3510

Hi all! Sorry for my bad english (if it is bad). How is on site jango.com made that, when song plays and when we click on a button e.g.Home, or Music..., site changed, but the song still plays, it doesn't stop playing? (Which program they used to make that!) Thanks!

Member Avatar for ivan3510
0
118
Member Avatar for nativeoak

I am trying to pass a two dimensional array to a function and modify it. I understand that two dimensional arrays are automatically pass-by-reference parameters so that solves half of the problem. However, when I try to compile the code: [code=c] #include <cstdlib> #include <iostream> using namespace std; int x, …

Member Avatar for Greywolf333
0
146
Member Avatar for mayuri_desh

i have a login page, where i check login name and password if it matches i create a session.and redrect it to other page, now the problem is in localhost(WAMP Server)it works fine but in server when i host it it does not redirect it shows an error like this …

Member Avatar for mayuri_desh
0
105
Member Avatar for Olliepop

Hey guys i have a real issue I want to do these 3 things from an applet: ________ 1) Load an URL into a frame inside the browser and 2) Insert data into a form which is inside a frame in the users browser, and then submit the form using …

Member Avatar for Olliepop
0
126
Member Avatar for cortez716

I've writen a simple calculator code it is pasted below. What do I need to change in order to make it loop using a "while" statement until, the user inputs the letter ("Q" upper or lower), casuing it to exit the program instead of a function such as(/,*,-,+).. please help... …

Member Avatar for VernonDozier
0
126
Member Avatar for I_am_barrage

I'm working on this project and I'm REALLY close, I'm just gettin a C2059 error and I have no idea why? [CODE] #include <iostream> using namespace std; int main() { int guess; int die; float total = 10; char ans; cout << "Welcome to Dice Roll!" << endl; cout << …

Member Avatar for I_am_barrage
0
211
Member Avatar for kerimabdullah

#Hi friends I want to shorten these codes I must control at least 100 space and delete please help[CODE] for i in range(mylist.count('')): mylist.remove('') for i in range(mylist.count(' ')): #delete 1 space mylist.remove(' ') for i in range(mylist.count(' ')): #delete 2 space mylist.remove(' ') for i in range(mylist.count(' ')): #delete …

Member Avatar for TrustyTony
0
126
Member Avatar for MARKAND911

i have a div tag named <div id="div1" runat="server"></div> i wrote a javascript which adds content like 0,1,2,3, in this div tag as its content. Now i want a script which will delete some of the content of div1. as like 0,2,3, how can i remove content from div tag.

Member Avatar for MARKAND911
0
178
Member Avatar for rodel~

how can i make a basic calculator on turbo c++ that the result is can be used again and again to any operation

Member Avatar for prvnkmr449
0
85
Member Avatar for cogitoergosum18

i can see the light at the end of the tunnel after working on this thing for 6 hours strait but i am faced with a last few errors. First here is the code: it is really long. the error statements are: 'seriesParallel' : undeclared identifier seriesParallel' : undeclared identifier …

Member Avatar for prvnkmr449
0
245
Member Avatar for kumar_k

Hi, Iam in the process of creating a program for converting words in a file to numbers. Am struck at the input file selection gui script. i want to create a GUI to open a file from the open file dialog box and to read the words in the file …

Member Avatar for kumar_k
0
143
Member Avatar for ezkonekgal

i have declared [CODE] char arr[10][10]; [/CODE] and did this: [CODE] for(i=1;i<=n;i++){ arr[i] = (char)i; } [/CODE] but it wouldn't work.. i want to put the number inside the array.. y does this error?

Member Avatar for prvnkmr449
0
114
Member Avatar for PierlucSS

I have this list of object: [CODE]public List<XHTMLError> Report = new List<XHTMLError>(); [/CODE] Which is defined this way: [CODE] public class XHTMLError { public List<string> Errors = new List<string>(); private string _errorType; public string ErrorType { get { return _errorType; } set { _errorType = value; } } }[/CODE] I …

Member Avatar for sohelelite
0
124

The End.