132,726 Archived Topics
Remove Filter ![]() | |
Hello everyone, I am wondering how to transpose a matrix (m * n) with only constant space complexity O (1). (The transpose algorithm should execute/operate on the original matrix.) thanks in advance, George | |
im new with Swing..im having problem on gridbag layout(my classwork)... im trying to stick a header(label) and a scrollpane(with a JList attach to scrollpane) to a tabbedpane which the outcome may look like [URL=http://www.geocities.com/dogkickass/1.jpg]this[/URL] but for some reason..my scrollpane doesnt want to show up... i need some help and tips … Software Development java java-swing video | |
This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying:: size of cdRecords is not known and need explicit cast to convert I cant work out what the problem is because another program … Software Development algorithm c data-structure display file-system user-interface | |
I have a working model of Visual Basic 6.0 that came with my textbook that I have from ITT Tech. Im trying to install it but i keep getting a window that reads: 16 bit Windows Subsystem C:\WINDOWS\SYSTEM32\AUTOEXEC.NT The system file is not suitable for running MS-DOS and Microsoft Windows … Software Development microsoft microsoft-windows visual-basic | |
I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file? Software Development python | |
My app has four group boxes with four text boxes and one button in each group box what i would like to do is use the keyboard enter button to tab instead of the tab button and when it gets to my control button instead of left clicking the mouse … Software Development | |
I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code] Software Development python | |
I want to know how to write a program to print all Armstrong numbers between 1 and 500. Software Development c | |
hi guys i want write one program to hide process in windows. but i dont know how... ;) can you help me. i want any sample and source code. thanks Software Development c | |
I'm having this issue on how to sort reports based on part numbers i have part numbers that i return have either a part number as in 1000 or if there have been multiple part number could be 1001-2 mean that there were 2 revised copies of the part number. … Software Development visual-basic | |
Hi again.I was just wondering about different layouts I can use with swing and I just came accross a sample program at [url="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html[/url] anyways there was this example program that I just couldn't find the error.Anyhelp would be welcomed. The error it is giving is cannot find symbol variable springutilities … Software Development display email gui java java-swing | |
[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of … | |
i've been doing c# (breath of fresh air after 5 years with java) for a few months now, and most of that time was spent in vs.net beautiful IDE, but only one shortcoming - wont work in linux. i've went thru many hoops trying to trick it and got close. … Software Development ide open-source visual-studio | |
Below is a program that determines if one address comes before another address using classes. One constructor takes an apartment parameter and the other doesn't. My errors are invalid conversion from int to const and among others. Any ideas? [code]#include <iostream> #include <stdlib> using namespace std; class Address { public: … | |
Hi Anyone, I've made a web application, and now I want my web login by username and password as below but it's have got error('Login.WebForm1.DBConnection(string, string)': not all code paths return a value) anyone who can help me? [code] private bool DBConnection(string strUserName, string strPassword) { string LoginSQL; OleDbConnection MyConn … | |
[Microsoft VB.NET Step by Step by Microsoft Press] This book has some good things and some bad things. Unfortunately I personally found it to be lacking some of the more critical coding practices I was interested in. But at the same time it does have some good points. Good: -Good … Software Development microsoft vb.net visual-basic visual-studio | |
python -------------------------------------------------------------- [url]www.python302.tk[/url] [email]python302@gmail.com[/email] -------------------------------------------------------------- ALL FOR YOU SPIDY -------------------------------------------------------------- Disclaimer: This paper is not to be copied, or used on any website without my permission, consequences will occur if it has been found on ANY website. Only time it is allowed to be used on a website is with … Software Development email mac-software open-source operating-system perl python ruby | |
Hi everyone, I'm having trouble with this program, I hope you can help me with it. I have to write a function that takes an integer value and returns the number with its digits reversed. This is what I have so far...... I will put a [U]*/*[/U] where i need … Software Development c++ | |
Hi, i need help creating a copy constructor. i have a class called CElist (and another called CEmployee) and it contains methods like this one: bool CElist::getFirst(CEmployee& e) { //do some stuff //sets e to the first employee and returns true //returns false if it cant } my problem is … Software Development c++ | |
Hello everyone, When running the following block of source codes (the MMAPI library I am using is downloaded from [url]http://www.sun.com/software/communitysource/j2me/mmapi/[/url]) [Code] public static void main(String[] args) { try { Player player = Manager.createPlayer"http://localhost/sample.wav"); player.start(); } catch (MediaException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } [/Code] java.lang.UnsatisfiedLinkError … Software Development java | |
Need help with the C++ programming. I am trying to compute the count of values, the average, and the standard deviation of the input given by user. My output is correct except for the standard deviation. My code is below: Thanks [code]#include <iostream> #include <string> #include <cmath> using namespace std; … | |
Hi. Im doing a c++ course. And we are doing a assignment to do with I/O File streams. We are using struct. I can add, update, print, and search for records. Now, I need help to read data into an array and sort the array on any one field and … Software Development c++ | |
Hello, I am trying to insert true or false into an xml file that has one node <LoggedIn></LoggedIn>. This is what I have so far: [CODE] [size=2]StreamReader xmlString = [/size][size=2][color=#0000ff]new[/color][/size][size=2] StreamReader(Server.MapPath("ResponseMessages/LoggedIn")); XmlDocument doc = [/size][size=2][color=#0000ff]new[/color][/size][size=2] XmlDocument(); doc.Load(xmlString); [/size][/CODE] Software Development xml | |
That's my objective in the title.. p.s. does anyone know how to make text inputs opaque? p.p.s does anyone know how to retrieve BBPost addresses to send a post to multiple Boards/Rooms? Software Development first-post visual-basic | |
I HAVE SPECIFIC QUESTIONS!!! 1. Why do you need [b]Self-Referential Classes?[/b] Please provide a "real" life example of when it would be used. [code]class Node { public: Node(int); void setData(int); int getData() const; void setNextPtr( const Node *); const Node *getNextPtr() const; private: int data; Node *nextPtr; };[/code] 2. ^^^What … Software Development c++ linked-list | |
Hi, I'm using MS visual studio 6 for a C++ program. I am able to run the program from IDE, but when I've attempted to run it from the command line, I get a message the program name is unrecognizable. I've included the following code: [CODE]int main(int argc, char *argv[])[/CODE] … Software Development c++ ide visual-studio | |
i wanna start programming with c++ what would you guys suggest is the best compiler program out at the mo? :twisted: Software Development c++ | |
I'm not finished with my program yet, but i've run into a few problems. The first main problem i see is that i seem to be doing something wrong to display the array that the user enters. It only shows one value, and it displays it twice. I cant check … | |
The Acme Software Company sells its "Adding Tutor" software for $109.Quantity discount are given using the following table: Quantity Discount 10-19 20% 20-49 30% 50-99 40% 100 or more 50% Write a program that asks for the number of units sold and calculates the total cost of the purchase including … | |
I am having a problem with C++ templates which is actually quite embarrassing for me to admit to since I predict a lot of you will figure my problem out faster than it took me to write this post but I've exhausted my patience for right now. I wrote this … Software Development c++ first-post | |
I am trying towrite a C program which will print yearly calendars, given as input the year numbers. Input data will be taken from a text file, which will contain an unknown number of data lines, each containing a single integer giving a year, I first created a function to … Software Development c | |
![]() | I'm pretty new to C++ and I'm having a problem with a Uni coursework. I have two classes A & B which need to be able to call each others functions so they each hold a pointer to the other. I had the problem that they #included each other so … Software Development c++ |
I'm writing a blackjack program for class and I am having a problem with Aces, jack, queens, kings, my random number generator generates a 1, 11, 12, 13 for those cards, respectively... but Aces should be worth 11, jacks, queens, and kings, as 10, I have attatched my current code, … Software Development c | |
I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown in the next line of the same open file. Itz almost like … Software Development c++ file-system | |
Ok, im new to c++ and i looked around and couldn't find anything on it.. I have a global char such as the one below, i made a loop to go through and basically "grab" each name in the names list and then display it to me.. but instead of … | |
I'm writing a c++ program for a class I'm taking. I'm having a problem getting the string variable into the void print_results function. Basically, at the beginning of the main function, I ask the user for their name. I can use the name variable in the main function and it … Software Development c++ display visual-studio | |
[php] #include <iostream> #include <cmath> using namespace std; class point { public: point(int xcoord , int ycoord); //constructor point(); int getX(); int getY(); double getDistance( point otherPoint ); void setpnt(point p); private: int x, y; }; class rectangle { public: rectangle(point p1, point p2, point p3, point p4); void perimeter(); … | |
Hi, guys I needs someone to help me.I do have difficulties to understand functions in c++. If you can help with more tutorials.I will saved.. Please,even some good web sites where I can practice. Thanking you in advance Software Development c++ | |
:?: I am attempting to write a C++ program that has the results of a T/F test. It takes the information from a data file and then it compares the students answers to the correct answers. I have two problems. First the data file has the first 8 characters as … Software Development c++ | |
I'm not an idiot but there are times when my computer sure makes me feel like one. I have several arrays declared in my code yet there are a couple of new ones that I am trying to create that it won't accept as greater than one dimension. good arrays … Software Development c | |
[FONT=Comic Sans MS][SIZE=2][COLOR=Magenta]Write a program which reads a text from a file declared by the user. If the file does not exist a message should state this and the program should be terminated. If the file opens with success the program should read the text and then output the uppercase … Software Development c++ | |
Hi all. I am very new at this stuff; first C++ Programming class with no background whatsoever. We are asked to create the design work and coding to generate an invoice given certain criteria. I wrote the program using the info and directives provided but I am coming up with … Software Development c++ | |
Hi, I have the following problem [url]http://www.ahmedosama.com/buildlog.htm[/url] it's strange cause it's in the built in "include" files of the VC++ (2003), can u please help me out. Software Development c++ | |
Hi, I wrote a program in C and when I compiled, got the following message (word for word): Error: Unresolved external '_EDGE' referenced from C:\Graph\Test1.OBJ The funny thing is that the error is not the usual compiling error that tells me which line of my program has the error. That … Software Development c | |
Here is a little of my program: struct Town { int population, outbreaks; }; const int MAX_ROWS = 39; const int MAX_COLS = 39; void GetInfRate(Town[][MAX_COLS], int); //some other functions int main() { Town coordinates[MAX_ROWS][MAX_COLS]; //I load my data // I display menu, etc. } void GetInfRate(Town c[][MAX_COLS], int MAX_ROWS) … | |
Hi all, How i make a call servlet to servlet.... code & description is needed. Please help me.. Thanking you. Rishi. Software Development java | |
I have a column of floating point data that I need to right justify and align the decimal points. Help. Data looks something like this. 30.768 1.345 .430 Software Development c | |
Hello everyone, I've been browsing this forum for small while and have gotten some great information out of it through searching so I thank you very much for that. Currently though I have a C++ program I have to write for class that inputs the full name of the student, … Software Development c++ | |
i need to develop a snake game. the simple one. can anybody come out with the skane game source code using java or c++ language, or any recommendation. please!!!!!!!!!!!! i dont want to fail this subject! :sad: :sad: :sad: Software Development java |
The End.