132,726 Archived Topics
Remove Filter ![]() | |
Hi I have just been attempting to update my site. Apparently an applet I use now needs to become an object for XHTML. I have managed to do this and it works in Firefox and Opera ... but IE6 will not play ball. [URL=http://www.tankedup-imaging.com/xhtml/links.html]I've got a link to a test … Software Development java | |
Hello ladies and gents, Ive downloaded the first four PSDK-FULL files and wanted to install these, but I don't know how exactly to do so. I tried to use winzip and extract them, but keep getting an error that says, failed to launch file: C\Documents and Settings\Johan Berntzen\Local Settings\Temp\install\setup\PSDK-x86.msi I … Software Development c++ | |
Hi, I am working on a project that finds of the data cache behavior of a given c program containing loops. It calculates the cache hit ratio. Anybody having realted code please post it Software Development c first-post | |
hi, i was wondering if someone can help me. i am trying trying to convert a string containing aA into a bigInteger Value. i've read about it but have no idea how to implement it in java. thanks in advanced, K Software Development java ![]() | |
Hi, I need help in solving Incomplete Gamma Function. does neone has a java code to crack this problem.Pls help.I will be highly thankful. Thanks and kind regards, Rahul Gupta. Software Development java | |
After entering 8 names,phone numbers,and birthdays. A list appears at the bottom of the console which is suppose to display name,phone number, and birthday. Well with this code the name shows up so does the phone number,but the birthday doesn't show . Can someone help. Thanks for(x = 0; x … Software Development display | |
I've been working on this program all day and I'm so lost please help! I need to have a class that uses a 40 element array that has predicate function IsEqual, IsGreaterThan, etc and with member functions input, output, add, subtract. Is there anyway I can make this code smaller? … Software Development c++ | |
How are functions returning reference used?? Do they return values on the left side or the right side of the assignment. I would be glad if I could get some help. Thanks, comwizz. Software Development c++ | |
im trying to make a table using askii art thats changed when the dimensions of the array are changed. i have been playin it for like 2 hours and i cant figure it out, here is was i have so far. my definitions [CODE]#define M char (197); #define U_L char … Software Development c++ | |
[COLOR=Green]1 John US [I]1234.00[/I] 2 Jessica Alba United Kingdom [I]23789.00[/I] 3 David UK [I]12.00[/I][/COLOR] Suppose i've this data in my txt file. How am i going to scan the file to get the deposit field(the one in italic) for each user? Thank you... Software Development c | |
Hey guys, I am in the process of a program that counts integers I can do this by looking for the int keywork and then incrementing a variable although if an integers are implemented as: int j,k,l; I am not sure how to count this as 3 ints, I know … Software Development c++ | |
:?: [CODE]#The number of lines, and the number of words. import string def main(): data = raw_input("Enter the path and name of your ") infile = file(data, 'r') data_file = infile.read() number_of_characters = len(data_file) print "The number of characters in your text is", number_of_characters list_of_words = string.split(data_file) number_of_words = len(list_of_words) … Software Development python | |
Hello.. I've a question. Let say i've this in my txt type file with id field, name field, address field and deposit field :- [I]1 Jessica Simpson United Kingdom 5687.900000 37 Jennifer Anniston United States 7659.000000 4 Brad Pitt United States 87549.000000 9 Mike Shinoda United States 999865.000000[/I] How can … | |
Hello guys. I'm capturing the keyboard input using the class below. And I have no problem doing that. What I wanna ask is how to understand if a key is pressed, released or being pressed. Let me explain more... When ever any key is pressed the member function GetData() returns … Software Development c | |
I need to design a GUI based on PyAUI. Do anybody have sample codes or tutorials that show the working of PyAUI. | |
Hi, Im writing a program that takes screen shots at user determined intervals for a number of seconds (that way you can change frame rates), after each screen shot a new MDI child is loaded and the picture placed inside the image box on the form. When the set number … Software Development image visual-basic | |
Hey there all. I've got this assignment (due next Monday!) and I haven't made much headway into it. It's horrible becuase I usually have some idea about how to go about solving the assignments. (If you've read it through already) So far, all I've managed to do is create a … Software Development java | |
In C you can declare a function like this int average( int first, ... ) Where the ellipses denote a variable argument list. If I have a function like that in a c++ DLL and I want to link a Visual Basic GUI to it, how would that function be … Software Development gui visual-basic | |
OK well ive been trying to get this..and its just not working the way it should work.... :cry: The this is i got the cin in there...to put the input up in the code but it wont find where the addreess is....like i should be able to say...Erics address is?...and … Software Development c++ | |
I must be missing something here. I am having trouble when I try to get an input. The numbers work fine, but once you get the correct answer, the area: [CODE]void tryanother() { char yorn; printf("Would you like to try another one? (y/n)\n"); scanf("%c", &yorn); if (yorn == 'y') getnum(); … | |
how do you make a button so when clicked it makes all the info you typed in the form of a java/netbeans program, and it emails the info to a specific email address? i know im a newbie at this :o Software Development email java java-netbeans | |
i have a computer science project for which i am recreatin the game of hangman as "classmate" here is my code the problem is that the correct guess of the name is not shown as "you won" somebody please run this code and help it is done in tc++ so … Software Development c++ | |
Hey guys, I have the following two pieces of code and I am trying to combine them so it will say if hello is found and it is at the start or the prevous character is whitespace then add one to the count but when i try to combine these … Software Development c++ | |
please send me a program of SRTF using c++, using linked list... i'm realy spending days trying to do it but i cant get it right so i need a basis for me to do it my own.... Software Development c++ linked-list | |
hello, i have copied parts of it from the book, am not allowed is there anyway someone can chage as much as there can, and try and get rid of ASC, is there another way of doing it, without ASC, OR ASCW, please someone help, please nicky Public Function Zeichen_OUT(Zeichen … Software Development visual-basic | |
I have designed a vb program and now i want to pass parameters from outside application to vb. what should i do?? Software Development visual-basic | |
I messed with C++ my first year in programming, and now as an AP student its all Java focused. As I want to be a game programmer I decided to get back to learning C++ because I've heard its often used. So, I downloaded Bloodshed Dev-C++, which was reccomended by … Software Development c++ | |
#include<iostream.h> class rectangle { protected: int lenght,widht,height; public: rectangle(){lenght=0;widht=0;height=0;}; void seta(int lenghti); void setb(int widthi); void setc(int heighti); int getlenght(); int getwidth(); int getheight(); }; class box:protected rectangle { private: int length,width,height; public: rectangle(){length=0;width=0;height=0;}; void setlenght(int lenght); void setwidth(int width); void setheight(int height); int getlenght(); int getwidht(); int getArea(); int … Software Development c++ | |
[CODE]import sys def main(): usage = 'Usage: %s [options] <file name>\n' % sys.argv[0] options = 'Options:\n' options = options + ' -c, --chars print the character counts\n' options = options + ' -l, --lines print the newline counts\n' options = options + ' -w, --words print the word counts\n' usage … Software Development python | |
ok im stuck here atm...what im trying to do is to have the program compile to run in windows..and i have to type in the name...and the program goes into the database and finds the address and puts it onto the screen...just like an address book.. So heres my code..anyone … Software Development c++ | |
import sys :o def main(): usage = 'Usage: %s [options] <file name>\n' % sys.argv[0] options = 'Options:\n' options = options + ' -c, --chars print the character counts\n' options = options + ' -l, --lines print the newline counts\n' options = options + ' -w, --words print the word counts\n' … Software Development python | |
my program runns but it isnt coming out right, i need to have on the left side my input*.01*cash and on the right side the chas sequencing 1-20 the problem is the cash numbers are counting more than once before going on to the next number for example: 1 1 … Software Development c++ | |
Hi, I want to write a function that coverts a double number into its rational form. For example if the input number in 4.33 I must get numerator = 433 and denominator = 100. Here is something I tried, it doesn't work because of floating point inaccuracy : [code] void … Software Development c | |
hello everyone ı have a problem with writing the program #include <stdio.h> int main(void) { char desiredgrade; double score; double currentaverage; double weight; printf("Enter your desired grade"); scanf("%c,&desiredgrade"); printf("Enter your current average in the course"); scanf("%f,¤taverage"); printf("Enter the final exam weight\n"); printf("as a percentage of the course grade"); scanf("%lf,&weight"); if … Software Development c | |
hi, i can figure out why this program keeps counting up the cash variable more than once when i run it, like it'll be 10 10 10 10 10 11 11 11 11 11 and the percentage numbers have the letter "e" at the end of each percentage... just seeing … Software Development c++ | |
I have an Amusement Park Problem in C++ > Category > Children > Price $2.00 > The first child is always free > Category > Youth > Price > $8.50 > For every 4 tickets in this group one person is free. > Buy 4,get one free > Category > … Software Development c c# c++ visual-studio | |
> Write a C++ program having a recursive function recursiveMinimum that takes an integer array and the array size as arguments and returns the smallest element of the array. The function should stop processing and return when it receives an array of 1 element. #include <iostream> int recursiveMinimum(int[], int); int … Software Development c++ visual-studio | |
Word Count. A Common Utility On Unix/linux Systems Is A Small Program Called "wc." This Program Analyzes A File To Determine The Number Of Lines, Words, And Characters Contained Therein. Write A Version Of Wc. The Program Should Accept A File Name As Input And Than Print Three Numbers Showing … | |
im not sure how to write an assignment operator for a 3d array this is what i have bit i know its wrong [CODE]Cells& Cells::operator= (const Cells& cells) { resetSize(cells.DEPTH, cells.ROW, cells.COL); for(int d=0; d<DEPTH; d++) for(int r=0; r<ROW; r++) array[d][r] = **this for(int c=0; c<COL; c++) array[d][r][c] = cells.array[d][r][c]; … Software Development c++ | |
Id like someone to take a look at this piece of code and tell me any errors to correct, ms-vc++ 6.0 says there are 3, but when I correct them it creates more errors (example being: going from 3 errors to 18 with one ';' going in) Help appreciated. Here … Software Development c++ | |
how to optimize this code in c? int j=4,k=4; for(i=0;i<1000:i++) { j+ =i: k-=i: } Software Development c | |
i am using ADODB to connect an access database to my forms. i have the folloing code which searches the database table for a barcode. it searches and displays correctly, until you put in a non existant barcode, then it comes up with error 3021. eof bof error. it highlights … Software Development display visual-basic ![]() | |
Well, i searched all through google and stuff...but in vain..i want to add a functionality in my program to copy and paste buttons which are present on the screen.....I got a wonderful article to copy and paste text.but what about some swing components???????how do we copy and paste them????? [site]http://www.cafeaulait.org/course/week13/[/site] Software Development google java java-swing | |
What happens if you call openStream twice? I have this code in which I open up a weather xml page and get information out of it. Unfortunately, the way I do it has me doing a linear search down the page for the line I need each time I want … | |
I have a program where the user enters a number and it prints all the prime numbers between 1 and that number. I have been able to do that. It must also print the max prime number, the greatest prime between 1 and that number. This is where I am … Software Development c++ | |
This is the first program I am writing after taking one C++ class 4 years back. Please help me with this syntax error: #include <iostream> #include <math.h> using namespace std; enum run {TERMINATE=0, LOOP, NoRoot}; double f (double x); double f (double k); double f (double n); return (x*(1 + … Software Development c++ | |
AM I DOING THIS RIGHT, PLEASE HELP ME, SO ME MORE EXAMPLES ON HOW TO RIGHT IT :o C:\home\COP1000\a\3>python wc.py futval.py test.txt wc.py 22 103 699 futval.py 2 4 22 test.txt 52 223 1683 wc.py 76 330 2404 total Software Development python | |
Hi, This is my final question on my GUI , I promise. I wanted to create a global String array that once it was initialized and set in one GUI that it could be accessed by any of the other related GUIs or do I have to pass it from … | |
Hello! I'm supposed to write a program that starts by drawing a 200 X 200 square at the top-left corner of the monitor. Continue drawing squares that become steadily smaller as they are displayed to right side of each preceding square. The bottom of the square stays at the same … Software Development java |
The End.