132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chrissyln13

I am trying to write this "program" for my distance ed course and I almost have it done I just can't figure out how to get the values from the function BoxDimensions into the function DisplayData so that it can print out the dimensions. Help???? Thanks. [CODE]#include <iostream> using namespace …

Software Development c++
Member Avatar for chrissyln13
0
133
Member Avatar for Anilbrp

Hi all, I am new to this perl script. I want to open notepad.exe in perl script in the foreground., i.e if I give the command as system ("c:\\windows\\notepad.exe") , notepad should appear in the foreground. (should not run as a background process). I am using Apache server on windows. …

Software Development apache perl windows-server
Member Avatar for samarudge
0
2K
Member Avatar for Xokzin

Hi There, I'm a begginer in C++. In the program below the value must be returned to display the appropriate message. I expiriencing problems trying to compile the program. The erro message: [Warning] In function `bool passOrNot(char)': non-lvalue in assignment Can you help. Thanks #include <iostream> using namespace std; int …

Software Development c++
Member Avatar for Xokzin
0
85
Member Avatar for Karkalash

Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends?

Software Development java
Member Avatar for unitechy
0
75
Member Avatar for yap

Hi all in here, It is said that system("PAUSE"), automatically generated by dev-c++ for console application, to prevent console window of disappearing instantly would be not standard c++, furthermore it would be consume much of a computers resources. What is a good replacement for it? I have been experimenting with …

Software Development c++
Member Avatar for tesuji
0
2K
Member Avatar for kohkohkoh

I tried to search over this site and others as well. But couldnt help me to solve the above matter. Actually i want to do a searching algorithm in a PDF file. I tried to use: [EMAIL="%@Import"][COLOR=seagreen]Import[/COLOR][/EMAIL][COLOR=seagreen] Namespace="System.IO"%> Sub page_load(ByVal Sender As Object, ByVal e As EventArgs)[/COLOR] [COLOR=seagreen] Dim filetoread …

Software Development algorithm api email pdf vb.net
Member Avatar for raydenvm
0
134
Member Avatar for vieestchien

Hello, I am trying to generate a very large uniformly distributed pseudo-random number (around 15 digits, similar to Random.nextLong() in Java), the problem is that both rand() and random() only return int/long type (10 digits max). Is there any way to generate pseudo-random number in long long int type? Thank …

Software Development c++
Member Avatar for tesuji
0
84
Member Avatar for nanawan

hi...i have problem to create login form i have 2 textbox which is Text1.text and Text2.text and im using ms access 2003 for my database table: login field : user and pass please help me...

Software Development visual-basic
Member Avatar for debasisdas
0
63
Member Avatar for elanch

hi all! I'm usuing VB 5.0. I need to store data getting input in VBform in MSAccess data base. I tried with ADO connection but its not working. Can any one send me the basic code to store data in MSaccess and to read the data. You help is highly …

Software Development visual-basic
Member Avatar for debasisdas
0
83
Member Avatar for nelledawg

Hey guys, this is a really basic question but I can't figure out how to answer it! I wrote a program for users to input product price, quantity, etc. After getting the input the program displays the quantity, price, total cost, etc., and asks if the user wants to input …

Software Development c
Member Avatar for Radical Edward
0
161
Member Avatar for Mantu89

For example I have string that contains hexadecimal numbers: std::string hexStr = "E110A3" and I want to convert it to char. So that char hex[3] = {0xE1, 0x10, 0xA3} How I can accomplish this? I tried to search but I didn't find answer to this.

Software Development c++
Member Avatar for Mantu89
0
3K
Member Avatar for realone

Hi, Please i need a code in vb6 to compare record stored in databse one after the other to check for the occurence of duplicate record . 1. The check will be the first record compare with other records 2. The check will be the second record compare with other …

Software Development visual-basic
Member Avatar for selvaganapathy
0
262
Member Avatar for Sky Diploma

Help Me with this code. i JUST installed code::Blocks and am not familiar with the errors , I wanted to know what is going wrong with this? [CODE=CPLUSPLUS] #include <iostream> using namespace std; int f(); class Date{ int d,m,y; static Date default_date; public: void set_default(int dd,int mm,int yy); Date(int,int,int); Date& …

Software Development c++
Member Avatar for Sky Diploma
0
149
Member Avatar for geetajlo

i have a button name save and a datagrid with 2 columns namely drugname which is a combo box and qtyused(simple) and a txtFirstName on the form if the user enters firstname and 4got to enters or select the datagrid column i want to remind him/her by a msgbox that …

Software Development vb.net
Member Avatar for Pgmer
0
64
Member Avatar for geetajlo

Hi in my country we can phone anyone by only 7 number... Eg 2345897 and sometimes we represent it in this format 234-5897 by a - (negative).. i want to tell the txtPhoneNumber that after 3 numbers ahve been entered a negative should be place and it should comes automatically …

Software Development vb.net
Member Avatar for Pgmer
0
116
Member Avatar for NycNessyness

How can I store variables in an array. With a mixture of strings, variables and information entered in textfields. With what I have below. If I wanted to store numbers, price, total, tax, and name in an array, how can I do it? Thanks in advance. [code=java] String[] numbers = …

Software Development java
Member Avatar for NycNessyness
0
81
Member Avatar for banban2008

i want to do program that calculat percentage of error percentage of error ={ X ( calculated) * X ( measuered) } * 100 / { X ( measuered)} and if the result more than or equal 50 it is bad if it is less than 50 til 20 it …

Software Development c++
Member Avatar for e_pech
0
155
Member Avatar for ejazcyberia

Hi, The below script works fine for me but with normal login, Actually i need to go with "enable 5" and with password "xxxx" to get the user details. So please any one help is here highly appreciated. Here is my prompt for enable, Pleaes have look on it, ERX02>enable …

Software Development perl session
Member Avatar for ejazcyberia
0
156
Member Avatar for abhi287

Hi all, I've two questions- First In the j2me application suppose i've a list with no. of items. To select the item between 1 to 9, i can use 1 to 9 keys on keypad. Is thr any way such that i can select the list items after 9like 12 …

Software Development java
Member Avatar for abhi287
0
156
Member Avatar for joshmo

Am trying to edit and also delete data in my text file but am finding a little problem...i want to read the specific text and the program stops when it reaches an end of line and not eof..i tried using '\n' but maybe I used it wrong cuz it cant …

Software Development c++
Member Avatar for VernonDozier
0
183
Member Avatar for jaasaria

hi guyzz... i have a code here about chatting using winsock, but it is not working and I tried 2 surf in net but the error cant be solvd cleared.. .i have a runtime error 40006(wrong protocol or connection state....) and the error is refer to the senddata properties... plzz …

Software Development visual-basic
Member Avatar for jaasaria
0
291
Member Avatar for vinaya

How we can allow only excel sheet to be uploaded in file uppload functionality.

Software Development
Member Avatar for vinaya
0
92
Member Avatar for korssane

HI folks, I have 2 questions ; 1) i have 2 groupBox s and what i want is when i select a ( listbox item or radiobutton) in the 1st groupBox it disable ( or clear ) automatically the 2nd groupBox or the other fields ? 2) How can i …

Software Development
Member Avatar for korssane
0
118
Member Avatar for subhandi

Please help me guys... how to show clock in capture video, example in my attachment thanks a lot for your kindness...

Software Development video visual-basic
Member Avatar for subhandi
0
109
Member Avatar for nandhini21

Hi pple I've using visual studio 2005 and sql server 2005. I've stored my usernames and passwords in the database. Now i have problems on how to use select statements to check username. Meaning. if username is not found, it gives error msg, if username exist, it compares with the …

Software Development vb.net visual-studio
Member Avatar for aastephen
0
207
Member Avatar for JoE Guana

Hey guys, i'm new here and i'm also new to C++. I have a task where I have the user input a file name and then the program loads it into an array of type struct then finds the top 3 values and outputs them. I am so stuck right …

Software Development c++ file-system
Member Avatar for VernonDozier
0
218
Member Avatar for KatB

Okay I have a new assignment. I think I actually get the whole random access files ( I hope) but I have no clue as to how to set up my form(s). Does anyone have advice on how to set up the forms? Here is the assignment. Objectives: This assignment …

Software Development visual-basic
Member Avatar for jesan
0
636
Member Avatar for Petey211

I am using a status bar in a program that i am working on for VB.net 2003, i am trying to have some text scroll or marquee across the screen from right to left, can someone please help me with the code.

Software Development vb.net
Member Avatar for Jx_Man
0
216
Member Avatar for slayer10

ok im doing a tetris game and i want the piece to move left when i click 'a' and right when i click 'd' and turn clockwise when i click 'w' and turn counterclockwise when i click 's'. heres what i have public class Movement extends JPanel implements KeyListener { …

Software Development java
Member Avatar for Ezzaral
0
200
Member Avatar for Jennifer84

I have a general question about Diagram in VC++ 2008. If I want to draw a diagram out of a serie of numbers for the coordinates X and Y in a Diagram. Is there any classes/ built in methods for this. - Is this very difficult things to do in …

Software Development c++
Member Avatar for mitrmkar
0
299
Member Avatar for BabyEyes

hi , i have a program which i am stock in , its about traffic light . i did the display part but i cant do the timeing and changing the color of the traffic signal . if one signale is green there should be a timer which has time …

Software Development java java-swing
Member Avatar for BabyEyes
0
145
Member Avatar for Kob0724

I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 …

Software Development c++ qt
Member Avatar for Kob0724
0
2K
Member Avatar for hezfast2

I'm writing a program creating a card game of war. I (think) that I have the majority of it done, but I cannot seem to figure out how to split a deck into two separate hands in a Hand class. My code is in components, I have a Deck, Card, …

Software Development java
Member Avatar for Ezzaral
0
837
Member Avatar for jencinas69

hey any body know more about this script to convert CSV to XML [code] <?php /** * Converts a CSV file to a simple XML file * * @param string $file * @param string $container * @param string $rows * @return string */ error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); function csv2xml($file, …

Software Development xml
Member Avatar for jencinas69
0
205
Member Avatar for shakilaf

Hi All, I am using RWZoneSimple object and RWTime object to check whether a given Date is falling under DST (Daylight Saving Time) or not when my server (HP-UX system) is in Non DST time (by having TZ=US/Arizona). I have created RWZoneSimple with the date that falls in DST ("05302008"// …

Software Development c++
Member Avatar for jephthah
0
170
Member Avatar for wellibedamned

okay, i know i might be boring with my questions but could someone tell me how can i read an array of floats mixed with ints and then print them out same as they were on input...? typecasting thing again? anyone knows a good book i could use to stop …

Software Development c++
Member Avatar for jephthah
0
152
Member Avatar for Cybulski

I want recursively fill members of one structure, it looks like this: [code=cplusplsus] struct OPTIONS{ string sDirectoryName; vector<string> vExtensions; int uOperationId; } structCurrentDir; [/code] after filling all members I need to push this structure to another vector: [icode]vDirectories.push_back(structCurrentDir); [/icode] But then I need reset all members and I have problem. …

Software Development c++
Member Avatar for Duoas
0
107
Member Avatar for WesFox13

Hey, I need a little bit of help figuring out how to find the minimum and maximum of a particular data in a file. Should I treat the file I'm opening as an Array in order to find it or is there a certian function that can do this?

Software Development c++
Member Avatar for Duoas
0
272
Member Avatar for lllllIllIlllI

HI I was having a look into classes and i noticed i saw a lot of things like [code] class fruitcake(object): pass [/code] my question is what is the point of the "object" being in the class arguments as it is a Built In Function and i couldn't work out …

Software Development python
Member Avatar for bvdet
0
106
Member Avatar for ibroxy

I am a newbie in perl and I need to produce a script in perl to work and achieve the following: 1) Look into the file /etc/defaultrouter , and store the value in it 2) If the value is a number, go to LIST and print out the second column …

Software Development perl
Member Avatar for KevinADC
0
94
Member Avatar for rockiecool129

hi, Please tell me what the below mentined code is doing? If i pass String s as `my name is "xyz. and " i am writing `. what should be the output. Thanks in advance void parse(Block<String>& f, String s) { int inquote = 0; int nf = 0; int …

Software Development c++
Member Avatar for tesuji
0
84
Member Avatar for janz_03

ei, can anyone could teach me or give some codes on how to create a password verification when opening the database using (msaccess) dao 3.51... thanx

Software Development visual-basic
Member Avatar for janz_03
0
80
Member Avatar for greatfindsct

Hello everyone! I've worked on this program for about 8 hours so far. I've posted for help in my classroom, and no one has answered. I've passed it in although only one was compiled, but I'm determined to find out why the second did not compile. It's with the infamous …

Software Development java
Member Avatar for Ezzaral
0
98
Member Avatar for Ravenn

mm.., hello. First, i'm kinda new to this... kinda, anyway, i'm supposed to write a prog that handles large numbers, like 200 digits long, by storing them in a string of characters. it's supposed to have a class with functions for all the mathematical operations, reading, and writing, maybe into …

Software Development c++
Member Avatar for Ravenn
0
107
Member Avatar for savinki

How can I convert char* to a char value? can someone reply me asap

Software Development c++
Member Avatar for ithelp
0
129
Member Avatar for 9107you

[code] // The "DTfiveint" class. import java.io.*; public class DTfiveint { public static void main (String[] args) throws IOException { BufferedReader five = new BufferedReader (new FileReader ("five.txt")); int multiply[] = new int [5]; for (int i = 0 ; i < multiply.length ; i++) { multiply [i] = Integer.parseInt …

Software Development java open-source
Member Avatar for 9107you
0
90
Member Avatar for zion_neo

Hi to all I am very new for this forum. and I am intrested to work on VB. Is there any practical approach to learn VB.Do anybody have the material ont his.

Software Development visual-basic
Member Avatar for bushman_222
0
85
Member Avatar for savinki

how can I do this?? can someone help me [code] char * abc = "as,df,ert:we,rt,yu:ee,rr,tt"; Class x { char * a,*b,*c; } vector<x> vtr; I want to extract data from abc like, while(there is a ":") { x.a= as; x.b=df; x.c=ert; vtr.push_back(x); }[/code]

Software Development c++
Member Avatar for Radical Edward
0
277
Member Avatar for locsin

greetings! anybody know how to set the system date value. like for example today date is 11/22/2007 i want to set this date into a new value one month ahead it should be 12/22/2007. THANK YOU IN ADVANCE

Software Development visual-basic
Member Avatar for elleinad
0
103
Member Avatar for ulquiorra

Hello all, I'm new to hash tables etc. and for some schoolwork I need to make one. The hash table and hashfunction itself aren't the problem. The "problem " I wish to solve lies in the display function of my code. I like to write a function so that it …

Software Development c++ display
Member Avatar for ulquiorra
0
2K

The End.