132,726 Archived Topics
Remove Filter ![]() | |
Hi, I formatted my pc and restored everything back and now I forgot how to install jdk and set the path. I am using windows vista..... I created a CLASSPATH in system variables as follows .;C:\Program Files\Java\jre1.6.0_02\bin and path in system variables as %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_12\bin and again a new path … Software Development java windows-vista | |
Alright, Here is my problem. I am using VB 2008. I am trying to get information from comboboxes to link to others. by that I am trying to get a flowlist going. box1= vehicle year box2= vehicle make..... then model, etc. I appreciate any help that comes my way. here … Software Development vb.net | |
[CODE] const char* findThisMsgInMem = "Hello World! Everyone is Happy"; if(memcmp(&dataInMem[i], findThisMsgInMem, defaultMsgSize) == 0) { memcpy(&dataInMem[i], newMsg, strlen(newMsg)); //more code here }[/CODE] This is first time for me trying to use malloc, and realloc. Please see the coding example for illustration purposes. Don't worry of this lengthy question, most … Software Development c++ file-stream | |
Project Title : Student Grading System Purpose : Calculate the grade and sort the student matrix in descending example Input file : studentsmark.txt example Output file: studentresult.txt How the user operate the software: 1) user run the software 2) an interface show on the screen 3) user keyin Input file … Software Development c user-interface ![]() | |
Hi, I am trying write a program to input and output data from a microsoft access file with java.sql class and the swing class. basically i am on the first stage, trying to figure out different parts. the first thing i would like to know is: (assume it is already … Software Development java java-swing microsoft-access | |
I am enclosing my code and as you can see below the Event Recorded Banner the event type will not display. I would appreciate if you could show me what my problem may be. Everything else works properly. I am stuck. [code=cplusplus] #include <iomanip> #include <cmath> #include "EventBooker.h" EventBooker::EventBooker() { … Software Development c++ | |
I'm writing an application that needs to store a ton of objects and some attributes. I was wondering, based on python's inner workings, if it's more memory efficient to have one huge dictionary or many small dictionaries and then one dictionary that just references the smaller dictionaries? Any information would … Software Development python | |
I have a problem with a program I'm writing. It's supposed to find the factorial of the number you input, but it's not. The problem seems to be that the recursive function isn't...well...recursing. Right now, when compiled, the program multiplies the number by the number before it. So if it's … Software Development c++ | |
So I have the below code to check the input, I'm just having trouble because apparently flushing the input causes the tests (its an assignment) to lock up and I need to manually break out of it. The problem is that if I remove the flushing of the input it … | |
So, I'm attempting to write an object oriented program that solves simple sudoku puzzles by checking the rows, columns, and the 3 x 3 grid. [code] #include <iostream> using namespace std; #include "doth.h" int main() { User file: Sudoku call; int flag=0,ptx=0,pty=0; call.Display(); for(;flag != 1;) {[COLOR="Red"] if (Puzzle[ptx][pty]==0) { … | |
Hi, I have a homework problem in where I have to count the vowels from a readin file from a flashdrive/harddrive. Then the amounts of each vowel has to be displayed & which occurred the most amount of times & which occurred the least amount of times. Extra credit (which … | |
I have a little problem. I have a lot of code in the backgroundWorker2 (//Do Stuff) When pressing the button1_Click, everything works great and the code executes for the backgroundworker. But if I now try to drag the form around on the desktop, the form will "get stuck"(Not Responding). It … Software Development c++ | |
Hi I want to link my program in vb6 to the system calendar in windows XP by using shell but to be able to do that i need to know the default path or file location of the system calendar ( i was searching all day and still didnt find … Software Development visual-basic windows-xp | |
I am new to C++ and attempting to complete an exercise my question is How you can use cin.ignore to ignore every character up to and including a specified character – for example a full stop, ’.’. Software Development c++ | |
I am at work and did this program on notepad and not sure if this is correct or not. Can someone that has the visual studio compiler test this and let me know if it works. If it does no could you offer any minor feedback on the location of … Software Development c c# c++ visual-studio | |
Hi everyone, I'm making yet another program, and i am needing a login screen. The first form has 2 edit boxes and 2 buttons. The cancel button closes the program, the login button checks the username password if there correct or not. I have written the code for the login … Software Development pascal | |
i am using an else if to call a method from another class but it says a ')' is expected can anyone help please :D else if (source == tol.jbTakeOut) { bookname = tol.jtfBookName.getText(); authorf = tol.jtfAuthorFName.getText(); authors = tol.jtfAuthorSName.getText(); [I]Store.changeLoanStatus(String bookname, String authorf, String authors);[/I] //the line which the … | |
I'm new to threading and wanted to make a program that was going to receive data from two separate pieces of hardware and populate a queu with their data. I then wanted to pull the data out of the queue and draw it to the screen graphically. So each piece … | |
I was given this assignment to create a function and have the user input a number and the function is suppose to give you the amount of change back. My program is listed below [code] #include<iostream> using namespace std; int change(int,int& ,int& ,int& ,int& ,int& ,int& ); int main() { … Software Development c++ | |
I'm trying to solve [URL="http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtcg4LEghjb250ZXN0cxh5DA"]this[/URL] problem. The input file I used was the one on the site: [CODE]4 9 0123456789 oF8 Foo oF8 0123456789 13 0123456789abcdef 01 CODE O!CDE? A?JM!.[/CODE] My abstract idea was: Read the first line, loop the program that many times. Read the next line. Load the … Software Development c | |
I was reading about the new "tuple" type coming in c++0x, and I decided to try it. I saw that if you give a compiler flag -std=c++0x it will work. So I did it, and then #include <tuple> works and everything was good. Then I decided to try the default … Software Development c++ | |
For this assignment you will write a wrapper routine for the LAPACK routine DGESV to solve the system of equations Ax=b (where A is a num by num matrix, and x and b are vectors of length num). A wrapper is a routine that reformats (or supplements) it's arguements in … | |
Hi, I've a file having some regular expressions. e.g. cat regex.txt [\t\n] abc.*pqr If I write a small bash script as below, while read line do echo -E "$line" done < regex.txt even with -E switch passed to echo the output is [tn] abc.*pqr So the backslashes have vanished in … Software Development regex shell-scripting | |
Hi! My assignment was to create a program to retrieve the IP address based on a host name... which I totally did :) at least I think i did; it does actually work :) but in my operating systems class the professor introduced threads, and I don't really get it … Software Development dns operating-system vb.net | |
Hi Everyone I am new and just found this site yesturday I am looking forward to visiting here often. I have been working on this project (yes for school the awful Inventory Program.) I had it working and did a couple of quick changes walked away for a nap and … Software Development gui java java-swing | |
Dear All, I want to read Content of Text File for example my test.txt file Content is "True" means i want to Show Message box as Finish how to do this ......... regards user Software Development visual-basic | |
Is there a built in type to store UNordered pairs? ie. I want these [code] pair<double, double> a(4.0, 5.0); pair<double, double> a(5.0, 4.0); [/code] to be equal. Do I have to make a wrapper and override == ? Thanks, Dave Software Development c++ | |
| |
Need to write a simple declaration program w/c apply the substitution method. substitution table is: *-a $-e /-i +-o --u sample outputs ENCRYPTED MESSAGE: m$$t m$ *t 9:00*m /n th$ p*rk DECRYPTED MESSAGE should be: meet me at 9:00am in the park MY PROGRAM: [code=c] #include<stdio.h> main() { char c; … Software Development c | |
Hi, I have to display a JCombobox which contains JCheckBox(containing a single character) as its elements. Combobox has to allow multiple checkbox selection. When the selection is over, combobox has to display the selected checkbox values. Thanks in advance, Sagar Software Development java | |
hi guys i have designed software to read data from scales everything so far is so good except (yes theres always an except) part of my data arrives as 899 which is supposed to be 8.99 how can i converty this data to show 8.99 thankyou stephen Software Development vb.net | |
I'm having a little trouble shutting down a thread that might or might not be executing when the program closes. The thread, actually there are two of them, is started in an OnTimer event, and in OnDestroy I stop the timers then I want to close the threads. The thread … | |
can anyone help me with this school project? they want me to create something like this : using Net income = Revenue - costs - salary net income percentage is by multiplying (Net income)/(Revenue Ratio) with 100% Handphone net income computation ----------------------------------- 1. Press A to enter Revenue and Costs … Software Development java | |
Hello people .. I have a problem with my program ,, it is designed to count the number of digits and if its 5 it will test if its a palindrome number.. my problem is with the while loop... please help public class Palindrome { // checks if a 5-digit … Software Development java | |
I often have this situation [code] class OrientedPoint { private: Point P; Vector N; Color C; bool valid; public: //////////// Constructors ////////// OrientedPoint() {} OrientedPoint(const Point &Coord); OrientedPoint(const Point &Coord, const Vector &Normal); OrientedPoint(const Point &Coord, const Color &C); OrientedPoint(const Point &Coord, const Vector &Normal, const Color &C); [/code] where … Software Development c++ | |
Hi, I have written a v. small VB.NET program that spawns "cmd.exe" using Process, redirects stdin/out/err; works OK so far. Does anyone know how to get : * the details about the process currently running (if any) under cmd.exe (like how the command shell displays 'c:\windows\system32\cmd.exe - dir /s/b' when … Software Development vb.net | |
Use the stack class in a program that reads a String, one character at a time, and determine whether the String contains balanced parentheses, that is , for each left parenthesis ( if there any ) there is exactly one matching right parenthesis later in the String . so the … Software Development c++ | |
How can i print values on the word document from access table,there are more than 1 records for a single person Here recordcount holds 4 values,bt it is not beng printed on the word doc,it is coming out of the procedure [code] If rs.RecordCount <> 0 Then If Not IsNull(rs!Name) … Software Development visual-basic | |
i don't know if this is the place to ask this but is there a way to write a program that will increase the mobile phone's bluetooth's range for one second??? if not in java then is there something else... thank you in advance :) Software Development java | |
Hey guys, I had to determine the output of given code that uses a 2D array. The 2D array given looks like this: data.txt: 5 8 4 3 9 5 6 4 9 5 3 2 2 2 0 9 7 3 7 4 5 6 9 5 8 8 … Software Development java | |
Hey guys this is a very naive problem,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, but how do i save the c programs i compiled on borland c++ on the dekstop??????????????????????? Software Development c | |
Hi! can someone tell me how to count the number of lines? Software Development c++ | |
hi guys im using crystal report 8.5. but i wanted to print some report in the network by using some share printer. it is possible ? please kindly share some idea on how it take. thx in advance. Software Development printer visual-basic | |
Hello everyone, I am having a problem, I want to transfer the data from a text field which is found in the class "ServerInterface" to a method in another class "Server". I wanted to transfer data to the method "sendData()" in the class Server when the user enter data in … Software Development java socket-programming user-interface | |
any one help me to connect my vb6 form value to oracle 9i database ? How to retrieve a data from a table in oracle to visual basic form and to search on vb frm form retrieve the search value from oracle please help? also help me to how to … Software Development oracle visual-basic | |
I work for a company that does not allow us to have access to the internet but I need to create graphs using HTML. What I want is this file to be able to read from a file and create a graph that tracks four values; A,B,C,D. The graph needs … Software Development java | |
Hello, I am new to delphi. I have a problem. I have a string which can be of any length. Sometimes with delimiter characters for printing in new line. Now I need to distinguish whether the received string is a number (both -ve and +ve) or any other alpha numeric … | |
hi im a new memeber .iv started learning java recently. i was wondering could anyone help with this problem because i just cant seem to work out where i'm going wrong. its my method call thats giving me the proplem...i think. if anybody has any solutions i would be grateful … Software Development java java-swing | |
Hello all, I have a datagridview, and I have 2 columns, a comboboxcolumn and a textboxcolumn,Now I want to bind this columns to my Dataset. how do I do this??? Software Development dataset |
The End.