199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arizona24

program of strack -------------------------------------------------------------------------------- Hi, I,m Arvind .I have problem in stack programming,please tell me how to enter no's in a stack and how to check for overflow & underflow using push & pop function. arizona

Member Avatar for Narue
0
138
Member Avatar for HSN

Hi guys, I have a problem with the following syntax: [COLOR=DarkRed]T -> T , k , T T -> nil T -> number[/COLOR] This is a BNF rule for binary trees. Assuming that [B]nil[/B] and [B]number[/B] are tokens, I need to remove the ambiguity of this grammar without restricting the …

Member Avatar for Narue
0
108
Member Avatar for foreverman2002

hi rellay i am new in you forum but i think that i will intersted with you... my quastion is: how can i compressed any file as zip by php? i have a file and i want from user to download it as zip file and i want to compress …

Member Avatar for foreverman2002
0
141
Member Avatar for manos

i wanna know how i can write in C a compiler for checking the multiplication and the division of course... ;)

Member Avatar for Waskar
0
156
Member Avatar for V5dave

am calling Form2 from Form1, and depending on the input in Form2, I want to enable/disable buttons in Form1 when I exit. However, because I need to call Form2 header before I define class Form1, Form1 is not defined when the compiler sees my call to it. If I therefore …

Member Avatar for Narue
0
394
Member Avatar for Alfy

i am suppose to multiply the two matrices together using a for loop, but the only way i can figure it out is by using printf( a[0][0] * b[0][0] + a[0][1] * b[1][0]) 4 times to find each piece. Please help. #include <stdio.h> int main() { int i,j,k; int a[2][2]={{1,2},{3,2}}; …

Member Avatar for Waskar
0
139
Member Avatar for themafia_69

hey guys, im in ap computer science (java) and now we are doing constructors, and i am lost, i dont know how to make a constructor, i am soooo clueless, im starting to pick up but no way near close to undresstanding, can someone give me a crash course in …

Member Avatar for themafia_69
0
193
Member Avatar for Jools

hello my name is Jools... im quite new to asp and have a problem... sorry if i am not ment to post it here... Basically I have a page with a form where the user can select details…. This then searches a database for the results and then each result …

Member Avatar for Lafinboy
0
138
Member Avatar for kumar25

hi all, i am a beginner in java programming.Could anyone please provide source code for the following program. A program that reads a integer and breaks it into a sequence of individual digits in reverse order.TQ.

Member Avatar for alc6379
0
201
Member Avatar for Dave G.

Hello, I am trying to set up my website to be able to accept coupons. I am working in JSP and want to be able to get the current date and compare it to the date stored in the database. I have a field in the coupon table named 'Expiry' …

Member Avatar for Dave G.
0
221
Member Avatar for shantuli

hi everyone, pls solve me the following problem. i need a java program that stores the following string in a two-dimensional char array : "Bell" "Dell","Hell" and "Sell".extend the programe to read the array and display each caracter in a console window. thank you. shantuli

Member Avatar for tigerxx
0
109
Member Avatar for ellas747

I have a problem. I have this code but the problem is how do i put the results in a histogram form. Can someone please help. #include <iostream> using namespace std; int main() { const int arraySize=30, rangeSize=9; int gross_Sales[arraySize]= { 2430, 3500, 9400, 14300, 4200, 1250, 9990, 5410, 5400, …

Member Avatar for Dave Sinkula
0
125
Member Avatar for hopeolicious

I have to use a while loop to display everything 3 times and then i have to use a do while loop to do the same thing when i added my while and do while loop it keeps on repeating like a millions times and i cant stop it can …

Member Avatar for subtronic
0
133
Member Avatar for mus_203

Hi, ive only started to program in Java for the last couple of days. I picked up a disk containing JDK 1.3 from my uni so that I can compile programs at home. I typed up this very simple program which is shown below public class Hello { public static …

Member Avatar for mus_203
0
120
Member Avatar for Alfy

write a function begins(string1, string2) that reurns true if string1 begins string2. Write a program to test the function. program: #include<stdio.h> #include<string.h> char begins(char sentence1[],char sentence2[]) { int i,j=0; for(i=0;sentence1[i]!='\0';++i) { if(sentence1[i]==sentence2[i]) j=j+1; else if(j==i) printf("True\n"); } return(0); } int main() { int i, j=0; char string1[100],string2[100]; printf("Enter a sentence:\n"); …

Member Avatar for Alfy
0
119
Member Avatar for srinivasvs

This is really urgent ..... I would be very thankful for anyone who could suggest me and help me out! Hi all, Can I club two exe files while developing a software... Details are as follows: 1. I want to develop a software in which I want to add features …

Member Avatar for Chainsaw
0
188
Member Avatar for Bill T

im trying too build an array this is what i have so far am I on the right track? // Fig. 6.10: RollDie.cs // Using random number generation to simulate dice rolling. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO; // enables reading data …

Member Avatar for Iron_Cross
0
115
Member Avatar for rmerchan

I am getting a -NaN message and I don't understand why? The program so far compiles okay. But prints "the value of lat1 is -NaN." Any help would be greatly appreciated. # include<stdio.h> # include<math.h> float get_lat1(); int main (void) { float lat1; get_lat1(); printf("the value of lat1 is %f …

Member Avatar for Dave Sinkula
0
195
Member Avatar for HollywoodTimms

I gotta write a program that reads a file and determines a customers priority number. The program then builds a priority queue using hte priority number and prints the list of people waiting. Here is what I have so far int main() { int myValue[3][3]; myValue[0][0] = 53,000; myValue[0][1] = …

Member Avatar for HollywoodTimms
0
139
Member Avatar for minnie

[B]Is it possible to convert from VB code to C and what is the best way to do this?[/B]

Member Avatar for vegaseat
0
437
Member Avatar for johnsonkek

HI there guys any one know how to create the correct tone for the sound using c++? i manage to know the basic only c 262 d294 e 330 f 349 f 392 a 440 b 494 c2 524 This is from a handphone ringing tone how do i know …

Member Avatar for vegaseat
0
230
Member Avatar for conmuacuoi

I don't understand how to used [B]Interfaces[/B] WindowListener and [B]Methods[/B] of it. Please for give me example. Thanks!

Member Avatar for conmuacuoi
0
108
Member Avatar for hill0ster

Hello Everyone, I was wondering if anyone could show me how to call a function from inside a boolean statement. Something like the example below. I know it isn't right and was wondering if anyone could give me a hint or an example of coding it correctly. Thank you, hill0ster! …

Member Avatar for hill0ster
0
73
Member Avatar for Rentro

Well I got the whole substring thing working.. thanks a lot. Now I've gotta struggle with the "stdin.readline()" which doesn't wanna work for some odd reason :P I imported the java.io.* i created a new BufferedReader ... and it just doesn't wanna work. Are there any other ways of getting …

Member Avatar for server_crash
0
140
Member Avatar for kind4ever

I'm learn c++ alone and need help to write programs plz help me :cry: [COLOR=Magenta]A.Write is the greatest number?[/COLOR] [COLOR=Blue]You have to stor. In an array, twenty integer number given by the user. One these numbers are stored in this array, you have to find the greatest number and print …

Member Avatar for kind4ever
0
159
Member Avatar for Young Teck 06

I am going to the nearest Barnes and Noble store this weekend, with the greatful help of you, I need some C++ recommendation books for beginners. I know I already asked, but just thought I'd ask again, I have $50 so no expensive books. Overall, anybody with help gets a …

Member Avatar for Dave Sinkula
0
121
Member Avatar for jchamel

I can not figure out what to do. I need one html file to read an asp file for these 4 variables (1) intHrlyRate, (2) intWeeklyRate, (3) intMonthlyRate, and (4) intAnnunalRate. I am suppose to use arithmetic functions to calculate the intWeeklyRate (based on 40 hrs per week and assign …

Member Avatar for jchamel
0
111
Member Avatar for bemrag

thank you for your replies but, I can't open the program. program doesn't work. If you have any different ideas please contact me. thanks....

Member Avatar for Dave Sinkula
0
111
Member Avatar for zoey

Hi can any one help me with the code to reverse 2 strings with [B]unequal[/B] number of characters in them...read the first line and secondline relpace the second line with reversd first line...and replace first half with reversed second line... thanks, zoey

Member Avatar for Narue
0
151
Member Avatar for jchamel

Here is my code. As always I don't understand what beginning asp 3.0 . The book says to do this code, but doesn't explain what vartodaymonth means or varTodayDate = day(now()) means. I am suppose to make two files one html file and in it have the months of the …

Member Avatar for jchamel
0
343
Member Avatar for freesoft_2000

Hi everyone, I am trying to save the entire jtable (as an object if possible) to my disk and then be able to read that same file in the same table. First there are two buttons on my frame one is "load" and the other "save as" when the save …

Member Avatar for Phaelax
0
359
Member Avatar for sunsol

I need some help!! I need to have a user input a phone number and then spit it out using StringTokenizer. This is what I have so far: import java.util.*; import java.io.*; class Prob8_2 { public static void main (String []args)throws IOException { BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in)); …

Member Avatar for Phaelax
0
189
Member Avatar for tendekai

Anyone out there pliz help me.am new to c++ and the program am supposed to write has to accept 1. 19 country names 2. there populations 3. growth const and i have to use a formula (population*growth const) to find the growth of the country. dispalay sholud be like as …

Member Avatar for Stack Overflow
0
149
Member Avatar for ep2002

Hi all, I'm trying to understand the differences between the 2 & whether it's worth the headache finding someone who can do xml, or should I just leave my site to be coded in html & CSS? Even JavaScript seems to be an issue b/c not all people have JS …

Member Avatar for DaveSW
0
217
Member Avatar for ep2002

Hi all, Michelle here. I want to know, objectively, LOL yeh right, who thinks Pearl is better than PHP & why & if it's just as easy to find a Pearl Programmer than a PHP programmer. This is for DB applications. Pls. only respond to this thread if you know …

Member Avatar for Gary King
0
268
Member Avatar for xxraveteddyxx
Member Avatar for xxraveteddyxx
0
114
Member Avatar for pratima

i have got to write a program to read a set of program n print out the average. it will start by prompting the user for the number of numbers to be read and will then prompt for the individual numbers with a prompt such as Enter Number 23 to …

Member Avatar for clartsonly
0
150
Member Avatar for felcris_pf23

hi!do you know how to make a program in C that can run the "*" 1.from left to rith? or 2.from rigth to left? 3.up to down? 4.down to up? 5.combination of all... pls...pls...pls....pls...help me.. :sad:

Member Avatar for alc6379
0
122
Member Avatar for jonoj

Hi everyone I am new to java and am writing a program thats meant to have the following terminal output... Enter a number: 29 29 is a prime number. Enter a number: -7 Please enter a positive integer. Enter a number: 45 45 is not a prime number. Enter a …

Member Avatar for jonoj
0
164
Member Avatar for prakash

hi, can anybody help me , i need the following program to be developed in J2ME. writting screen saver program using J2ME. so if anybody know about this , pls help me regards, prakash

Member Avatar for prakash
0
130
Member Avatar for terepan

I have a client with a site I have maintained for a while at: [url]www.firstdomain.com[/url] The client just bought another domain to attract another audience: [url]www.seconddomain.com[/url] The client does not want to host a site at the second domain. They just want people to be directed to the first domain …

Member Avatar for Young Teck 06
0
101
Member Avatar for jaeSun

ok...i am trying to figure out how to read input .... i am reading input from the command line [code] sh% ./a.out < input_file[/code] within the input_file, it looks like this: [code]0 4 6 7 3 1 3 6 7 4 3 6 2 3 6 7 3 2 4 …

Member Avatar for Stack Overflow
0
277
Member Avatar for nicoletonyf

Hello there, why do I have this message when I try to use subTwoComplex in my testing file? The addTwoComplex works fine but not the "sub"one. What's wrong? thanks error C2039: 'subTwoComplex' : is not a member of 'Complex' *********header file #ifndef COMPLEX_H #define COMPLEX_H class Complex { public: Complex( …

Member Avatar for jaeSun
0
196
Member Avatar for kind4ever
Member Avatar for sameerupare

Hi Everyone, We are trying to set up our application in VB6 which has some user controls. When we are trying to load project and add the .OCX controls thru components options it gives error [B]"filemovecontrol.ocx could not be loaded"[/B]. We tried to unregister and again register a copy of …

Member Avatar for dantut
0
544
Member Avatar for BrownSuga

Ok i have gotten stuck on this program and I need help This program is supposed to calculate the balance of a checking account after the user has entered the type of action (withdrawl, deposit) they would like to do. My output should be a report that prints the beginning …

Member Avatar for tigerxx
0
143
Member Avatar for ubik

The problem is that SOMETIMES, my SID gets embedded in the URL, although at the begining of every page I have this code: ini_set('session.use_only_cookies', "1"); session_set_cookie_params(60*60); session_start(); session_register("blabla"); if (!$_SESSION["logged_in"]) session_destroy(); etc, etc; So there are days/times when the SID isn't embedded in the URL (and in the links of …

Member Avatar for ubik
0
111
Member Avatar for Ghost

I need urgent help with the following problem: Suppose there is a class AirConditioner . The class supports the following behaviors : turning the air conditioner on and off. The following methods are provided for these behaviors : turnOn and turnOff . Both methods accept no arguments and return no value . There …

Member Avatar for Narue
0
220
Member Avatar for javaLearner

G'day.. Am new to this whole object oriented stuff. But keen to learn. Am trying to compile this class but keep getting the following error when i declare anything that 'implements'. i remove the declarations and all subsequent code references and she compiles.. any ideas?? *********************START_OF_ERROR********************** ChatClientApplication.java:6: ChatClientApplication is not …

Member Avatar for javaLearner
0
247
Member Avatar for ray96

Hi! I had 1 problem in C, now I have another one. :o Please bear with me. I am learning the C language. Please run the following calculation in a scientific calculator. When the "=" sign is shown at the end of the calculation, be sure to press the = …

Member Avatar for vegaseat
0
338

The End.