132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for redmaverick

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
Member Avatar for VernonDozier
0
116
Member Avatar for archangelzero6

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
Member Avatar for archangelzero6
0
174
Member Avatar for f.ben.isaac

[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
Member Avatar for f.ben.isaac
0
509
Member Avatar for gseed87

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
Member Avatar for r.stiltskin
0
193
Member Avatar for k2k

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
Member Avatar for k2k
0
285
Member Avatar for greg022549

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++
Member Avatar for VernonDozier
0
124
Member Avatar for daniwebnewbie

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
Member Avatar for paddy3118
0
261
Member Avatar for orwell84

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++
Member Avatar for orwell84
0
161
Member Avatar for Takafoo

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 …

Software Development c++ puzzle
Member Avatar for Takafoo
0
128
Member Avatar for Dragonsfire

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) { …

Software Development c++ puzzle
Member Avatar for Dragonsfire
0
96
Member Avatar for trixymix31

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 …

Software Development algorithm c++
Member Avatar for trixymix31
0
99
Member Avatar for Lukezzz

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++
Member Avatar for Lukezzz
0
75
Member Avatar for animefun2

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
Member Avatar for hkdani
0
819
Member Avatar for SUD

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++
Member Avatar for William Hemsworth
0
866
Member Avatar for Azurkan

So A friend and I are new to C++ and we are trying to create a sudoku project and are trying to figure out different ways to do so. Right now we are stuck at the repetition checking. I was wondering if anyone could help us out?? We are trying …

Software Development c c# c++
Member Avatar for nucleon
0
100
Member Avatar for jimjohnson123

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
Member Avatar for nucleon
0
151
Member Avatar for satrix36

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
Member Avatar for malditcha87
0
566
Member Avatar for G-to-the-RIZZLE

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 …

Software Development java storage
Member Avatar for G-to-the-RIZZLE
0
125
Member Avatar for Talguy

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 …

Software Development c++ queue
Member Avatar for Talguy
0
119
Member Avatar for neox183

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++
Member Avatar for neox183
0
92
Member Avatar for Hiroshe

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
Member Avatar for Hiroshe
0
216
Member Avatar for daviddoria

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++
Member Avatar for daviddoria
0
85
Member Avatar for nito28

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 …

Software Development c c# c++
Member Avatar for StuXYZ
0
134
Member Avatar for lml108

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
Member Avatar for Fest3er
0
86
Member Avatar for SelArom

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
Member Avatar for davidps
0
445
Member Avatar for bunifrog

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
Member Avatar for bunifrog
0
140
Member Avatar for devstudio.2007

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
Member Avatar for koolsid
0
111
Member Avatar for daviddoria

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++
Member Avatar for DemonGal711
0
144
Member Avatar for erialclaire_238

Can anyone tell me how to loop char in stdio.h? Tnx

Software Development c++
Member Avatar for erialclaire_238
0
75
Member Avatar for erialclaire_238

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
Member Avatar for erialclaire_238
0
207
Member Avatar for SSagar

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
Member Avatar for Ezzaral
0
493
Member Avatar for stephen lowry

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
Member Avatar for stephen lowry
0
121
Member Avatar for m610

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 …

Software Development delphi pascal
Member Avatar for m610
0
325
Member Avatar for weinyeong

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
Member Avatar for stultuske
0
122
Member Avatar for SQ89

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
Member Avatar for verruckt24
0
2K
Member Avatar for daviddoria

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++
Member Avatar for daviddoria
0
122
Member Avatar for dougy83

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
Member Avatar for dougy83
0
335
Member Avatar for raymyster

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++
Member Avatar for VernonDozier
0
325
Member Avatar for dev_kc

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
Member Avatar for dev_kc
0
200
Member Avatar for dv1r

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
Member Avatar for peter_budo
0
99
Member Avatar for Asmodaii

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
Member Avatar for Asmodaii
0
107
Member Avatar for PRATS 1990

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
Member Avatar for PRATS 1990
0
103
Member Avatar for FrancisC07

Hi! can someone tell me how to count the number of lines?

Software Development c++
Member Avatar for Ancient Dragon
0
163
Member Avatar for jaasaria

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
Member Avatar for bornok15
0
99
Member Avatar for neutralfox

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
Member Avatar for neutralfox
0
90
Member Avatar for ericssionz

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
Member Avatar for dev_kc
0
67
Member Avatar for ozzie212

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
Member Avatar for sharada.rk
0
295
Member Avatar for anandkrishnantc

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 …

Software Development delphi pascal
Member Avatar for anandkrishnantc
0
178
Member Avatar for lounestor

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
Member Avatar for lounestor
0
134
Member Avatar for sharsha

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
Member Avatar for Dhaneshnm
0
91

The End.