199,114 Archived Topics

Remove Filter
Member Avatar for
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 …

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

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 …

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 …

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 …

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 …

Member Avatar for Fest3er
0
86
Member Avatar for Muaz AL-Jarhi

Hello, Im doing My final project on: "Extending 2d pixels to 3d voxel space". Of-course in my thesis i need to put background in fromation on the topic and I was looking for Information on 2d pixels and its operations. I tried to seach on the web (with google), but …

Member Avatar for ddanbe
0
108
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 …

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 …

Member Avatar for bunifrog
0
140
Member Avatar for keofua

Hi all, I'm kind of new in Java MIDlet, and i'm having some troubles. Let say i got a MIDlet project, named APP.java, and the MIDlet project runs smooth without any problem. And i have another java application, named testing.java, and the java code runs smooth as well. But when …

Member Avatar for peter_budo
0
1K
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

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

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

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

Member Avatar for Ezzaral
0
493
Member Avatar for get2tk

hiya ,pls where can i get an explanatory note on normalization?I will also need an example for each form starting from the 1NF to 4NF.

Member Avatar for Grn Xtrm
0
90
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

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 …

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 …

Member Avatar for stultuske
0
122
Member Avatar for kodypruitt

hi, my name is Kody Pruitt and I'm extremely new to this...I know it's a very impossible thing to estimate but I was wondering if you think it's pretty reasonable that I could start from damn near absolute scratch and be working in the game industry or some related field …

Member Avatar for MJ Pieterse
0
123
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 …

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 …

Member Avatar for daviddoria
0
122
Member Avatar for rajeesh_rsn

Hi i have created a website for my client using PHP and mysql . The client need to backup a table in database as excel file every day. Well he had no idea about coding and all ... He need to backup using a simple way. Please anyone let me …

Member Avatar for verruckt24
0
98
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 …

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 …

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

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 :)

Member Avatar for peter_budo
0
99
Member Avatar for Eager_Beever

I am a newbie and developing a website using ASP .Net 2.0 with C# 2005. I would like to add a facility to count the no. of visitors to my website. I have collected the basic informations to add this feature using Global.asax. I have made modifications to Web.config by …

Member Avatar for SheSaidImaPregy
0
197
Member Avatar for sandypeter111

we do not have go to each and individual site, just rss of particular portion of the site can be pasted in rss reader and from rss reader we can have that much portion of the site in our rss reader. so we do not have to navigate the site.

Member Avatar for Jennysmithuk
0
183
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 …

Member Avatar for Asmodaii
0
107
Member Avatar for sanfan49er

I get a parse error at the end of my code. I can create an entry and successfully add it. Everytime I try to view it this message appears Parse error: parse error in C:\wamp\www\viewguestbook.php on line 57. Please HELP!!! so close to being finished [code=php]<?php $host="localhost"; // Host name …

Member Avatar for sanfan49er
0
109
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???????????????????????

Member Avatar for PRATS 1990
0
103
Member Avatar for FrancisC07
Member Avatar for Zhoot

Heya. I have a problem with a mail script. It returns no error or anything it just doesn't send. [code]if(mail($email, "Test", $mess, "From: $nick <$email>")){echo 'Mail sent!';}else{echo 'Mail failed';}[/code] Sorry if the code looks confusing, I can write better but I've rewritten it so many times to get it to …

Member Avatar for cwarn23
0
116
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.

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 …

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 …

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

Member Avatar for sharada.rk
0
295
Member Avatar for samarudge

Hi, I am developing a piece of software which is not in any way being designed to hack into my schools proxy server using HTTP auth :P At the moment I have got it to generate random passwords of a random length, however using this method it is sometimes repeating …

Member Avatar for samarudge
0
178
Member Avatar for swit

Hello, can anyone help me. im working on a project using joomla cms and within a certain component, all of a sudden the save, edit and cancel buttons dont work. all the buttons that have javascript code behind dont work in the joomla back end. plus, the buttons work perfect …

Member Avatar for swit
0
140
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 …

Member Avatar for anandkrishnantc
0
178
Member Avatar for dastikop

Hi ALL we are doing a prject on VPN or virtual private networks.. for this we have created the front end.. and in many pages there are operations performed such as file uploading, create users and so on.. so when these submit or upload buttons are clicked the server needs …

Member Avatar for ejosiah
0
314
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 …

Member Avatar for lounestor
0
134
Member Avatar for sreya.n

Hi all, How can we open a flv file using the lightbox?I am using the following code <a href="http://myurl.com/video/clock.flv" class="lightwindow">Link Name</a> But the browser still downloads the file instead of showing it in lightbox. One more thing...is it possible to display some text along with this video in the lightbox? …

Member Avatar for sreya.n
0
105
Member Avatar for gagan22

Hello all, I have one problem in javascritpt or i do not it may be ajax need. Actually i am working on a shopping cart. In this when i add product to my cart and after adding that product in my cart . I want to change the quantity of …

Member Avatar for Luckychap
0
126
Member Avatar for srvishnukumar

Hi Friends Wish U Happy New Year 2009 I Need Email sending Concept in asp.net If possible sent me some notes about email concept and sample codings.... Waiting for valuable Rply Thanks with vishnukumar SR

Member Avatar for greeny_1984
0
169
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???

Member Avatar for Dhaneshnm
0
91
Member Avatar for jascase901

Hello python is my first language, and i have read 1 book on it and gone through a tutorial, but i still don't feel like i have a firm grasp on python. I hear the best way to master a programing language is to actually program. So i want to …

Member Avatar for lllllIllIlllI
0
161
Member Avatar for wookinhung

Good day, I am currently facing a problem with my VB6 program. I would like to send a form activated from the program of one pc to another pc linked together which doesn't have the same program. How can I do that? I only need to send the form to …

Member Avatar for koolsid
0
142

The End.