132,726 Archived Topics
Remove Filter ![]() | |
Is there a way to change the button's shape from rectangle to circle like those in Windows Media Player ? :?: Software Development c | |
need help with current code, I am a newbie. keep in mind, that everything that can be, needs to be passed by value. and only three functions can be called from main. they are getEmployeeData, displayEmployeeInfo, and calculateGrossPay. and all functiontions must keep the header type below. Help is greatly … Software Development c++ | |
I wanna ask .... if I want to save the content of JEditorPane or JTextPane in a file without losing the formatting ... how should I do it .... If I save it to a string ... all the formatting is lost . Software Development java | |
I need help using the GCD Algo. in my program, I can't figure out to use the algo in my program. The algo: int gcd(int a, int b){ assert(b != 0); int rem = a % b; while(rem !=0 ){ a = b; b = rem; rem = a % … Software Development c++ | |
a program that will allow the user to input two fractions and one of the four operations of +, - , *, and / . Once this information has been entered, the program should compute the operation on the two fractions and then output the answer appropriate labeled. Reducing the … Software Development algorithm c++ first-post | |
Hey guys, Could you help me with this particular program, say, named wsh (wimpy shell) that reads commands from standard input, executing them one at a time. After starting the process to run a command, wsh waits for the process to complete before processing the next command. For example, the … | |
I have never seen an example of this, but I need to call a function or another bool from inside a bool! If anyone knows how this might go, please let me know. P.S. This website is awsome! Thanks, Paul //something like this, however this is not working... bool getEmployeeData(int … Software Development c++ | |
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 Software Development c | |
i wanna know how i can write in C a compiler for checking the multiplication and the division of course... ;) Software Development c++ | |
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 … Software Development c++ | |
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}}; … Software Development c | |
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 … Software Development java | |
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. Software Development java | |
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 | |
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, … Software Development c++ | |
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 … | |
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 … Software Development java | |
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"); … Software Development c | |
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 … Software Development image | |
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 … Software Development c | |
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] = … | |
[B]Is it possible to convert from VB code to C and what is the best way to do this?[/B] Software Development c | |
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 … Software Development c++ | |
I don't understand how to used [B]Interfaces[/B] WindowListener and [B]Methods[/B] of it. Please for give me example. Thanks! Software Development java | |
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! … Software Development c++ | |
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 … Software Development java | |
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 … Software Development c++ | |
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 … Software Development c++ | |
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.... Software Development c | |
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 Software Development c | |
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 … Software Development file-stream java | |
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)); … Software Development java | |
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 … Software Development c++ | |
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 … Software Development c++ | |
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: Software Development c | |
![]() | 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 … Software Development java ![]() |
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 Software Development java | |
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 … Software Development c++ | |
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( … Software Development c++ | |
| |
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 … Software Development visual-basic | |
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 … Software Development java | |
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 … Software Development java | |
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 … Software Development java | |
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 = … Software Development c | |
[FONT=Verdana]Hello everybody, I am fairly new here. I was banned from another forum because of a false rumor that got to the administration. Anyway, just wanted to welcome myself. Secondly, I am trying to learn C++ and I purchase a C++ book from a local book store. The book is … | |
HI, I need to add multiple InputBoxes in my form. I'm stuck. I'm thinking I either need to add another sub or use Projects, add to project. I don't know. The book doesn't give you any instructions except how to add one iput box which wasn't a problem. Thanks for … Software Development visual-basic | |
Hi, I get this message when the program shold exit the main function. I think that the problam could be in that function (that is being called from main): void scanFileToMat( ifstream mFile,int arr[43][43]) { string m ,s; int pos; double sign; int col, value; getline(mFile,m,')'); while(!mFile.eof()) { mFile>>sign; arr[numSV][42]=sign>0; … Software Development c |
The End.