132,726 Archived Topics
Remove Filter ![]() | |
Hi, I created a few window forms and I faced problem when try to link them up. I am able to link up two window form but the problem comes when I tried to link up more than 1 window forms. For example when I want to link up the … Software Development c++ | |
Hi Guys, I'm new to C and OpenCV, my postgraduate project requires me to find different body parts in an image, like legs, hands and torso and head. And then determine if the person is lying on the ground or standing upright. Please help if you have some ideas. Thanx Software Development c | |
I am trying to create a java password code where the password is at least 6 characters Long, at least 1 UPPERCASE, & at least 1 lowercase & at least 1 Digit.Here is an example: Passw3 Can someone help me because it is not working. Here is the code private … Software Development java | |
Hi Can someone please help me. I have created a crystal report in visual studio 2005 crysatl reports. I create a dateset with all my necessary fields and parameter from a stored procedure. I create the report using the wizard. It add all my field, but it does not add … Software Development asp asp.net visual-studio | |
Im writing monopoly, Im still a beginner so please help.... I wrote this for loop but for some reason it starts at 28 and not at 1.... For r := 1 to 28 do If STekoop[1,r] = plek then If messagedlg(STeKoop[r,2] + ' FOR SALE.' + #13 + 'Price: ' … | |
Hi all, I'm developing a software in vb 6.0 with MS Access as backend. This software requires to save the text files in the table. Now the problem is the text will be formatted (Bold, Underline, it may even have MS Word Tables). I have on the form a RTF … Software Development visual-basic | |
i am trying to remova last tokenised string as i am mentioning in below sample....i have stored a data in a hashtable like this.....[ICODE]Hashtable h = new Hashtable(); h.put("111", "A/B/C/d"); h.put("222", "A/B/C/D/e"); h.put("333", "A/B/C/f"); h.put("444", "A/B/C/D/E/g"); h.put("555", "A/B/R");[/ICODE] in order to tokenise these strings and to remove last elements.......for example....here … Software Development java | |
hello..please help me i need to edit data using form(user fill in details)..but after editing the record in database.nothing changes happen otherwise it create new row of date [ICODE][/ICODE] databook.Recordset.Edit databook.Recordset("name") = txtname.Text databook.Recordset("ic_num") = txtIc.Text databook.Recordset("room_type") = cboroom.Text databook.Recordset("check_in") = cbocheckin.Text databook.Recordset("check_out") = cbocheckout.Text databook.Recordset("Month") = cbomonth.Text databook.Recordset("Year") = … Software Development visual-basic | |
Hi all I would like to know how i can obtain the address from intent radio staion for download music. The program RadioTracker do it, but what is the base for to do that?, first to have the web address where is the file (mp3, wmv, ...) and second according … Software Development visual-basic | |
*EDIT* INTERPRET! lol....sorry! Write a recursive function array_sum(int *array, int size, int index) that computes the sum of all the elements of the array starting with position "index". Okay thats not too bad..but then he said this for example, if an array A holds the values 5,4,3,2,1 then the call … Software Development c++ | |
Hello i am using a public computer (im just starting out with c++) so i dont have the code on me but i have figured out how to create a text file. what i want to know is when i create it, it places it in the direcotry that my … Software Development c++ file-system windows-xp | |
Basically I want to set up a 3-dimensional array, but I want to dynamically allocate memory for it. Say I read 3 variables from a file, all ints: f, s, and v. i want to allocate memory for array[f][s][v] array is part of a struct How would I go about … Software Development c++ | |
Hi I need help with the remove function in the AVL tree void remove( generic x ); Thank you guys Software Development c++ | |
Dear all, I'm sorry to ask you again. This code is my jTable that I copy from my Netbeans source code. tblGroupAnggaran.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null}, {null, null} }, new String [] { "Kode group", "Nama group" } ) { Class[] types = new Class [] { … Software Development java java-netbeans java-swing | |
Good morning, I'm facing dificulties to understand what i'm doing wrong! I'm trying to send the contents of a file... [TEX]SPI01 184-25-03-T-01-R.F.T.1.47e85ab1spicsv, 4609, 2008.03.25, 09:51:45 AM 184-25-03-T-01-R.F.T.1.47e8966dspicsv, 0, 2008.03.25, 14:06:38 PM 184-25-03-T-01-R.F.T.10.47e863easpicsv, 48, 2008.03.25, 10:31:06 AM 184-25-03-T-01-R.F.T.10.47e897f4spicsv, 0, 2008.03.25, 14:13:08 PM[/TEX] into a database "spimon" with a table LogSPI01 with … Software Development java open-source | |
hello ..this problem i am posting 3rd time still not resolved i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no … Software Development visual-basic | |
I have written the code below to highlight words in quite large documents. Problem is: 1. It needs to be case insensitive, ie: "dog" or "Dog" should match "dog" 2. It currently matches words inside other words Can anyone help? Many thanks [CODE=cplusplus]void highlightTerms(vector<string> finalWords, string *source){ for (int i … Software Development c++ | |
Hello again! Today's problem is one that is bothering me. My research into it has once again gone to waste, so I hope somebody here can help me understand why this is happening. The problem is everything is working honky dory, however I find myself having to enter the same … Software Development c | |
Hello... i want to grab the currency value from bloomberg, this is a part of bloomberg html. I want to get USD-SGD value, in this time the value is 1.5198. How can i grab it using c language? please help me, because after this, i will translate to dynamic c... … Software Development c | |
Goldbach's conjecture in mathematics is that every even integer number greater than 2 can be expressed as the sum of two prime numbers. Write a program that prompts the user for a number, checks that it is positive and even, and prints the two primes that sum to it. First … Software Development c mathematics | |
Hello, I just downloaded the latest gd library, unziped it - i downloaded a dll version and a source code version. I have problems whit using it in my msvc application. I will paste here the install specifications for visual c++ users : [code] [I]Instructions from the gd site :[/I] … Software Development c++ open-source unix | |
Not exactly sure what I am doing wrong...it is probably something simple and just being an idiot today but I have these two errors in my program and not sure what I am doing wrong C:\Documents and Settings\Don & Diane Kruep\My Documents\Judges.java:54: averageScores(double[]) in Judges cannot be applied to (double) … Software Development java | |
Hey I'm new here to these forums and I'm in need of some help with my program. I'm supposed to write a program that will allow the user to enter up to 100 values into an array. The program will then count how many values were entered and display the … Software Development c++ | |
Help please, just made this little program, no errors but it does not write any text for me on Dev-C++. [code]#include <iostream> using namespace std; int main() { system("title Array Program."); int myArray[5]; int loop; for (loop = 0; loop > 5; loop++) { cout << "Value for myArray[" << … Software Development c++ | |
I've recently made a pi calculator out of a pretty rediculous algorithm (which is incredible accurate by the way). Unfortunately, C++ doubles can only hold 16 digits of it! I know that's plenty enough for any practical applications, but I want more accuracy! (Call me insane). I'm just looking for … | |
I need to have 3 functions in addition to the main. I got a response before except it didn't have 3 functions. The 1st function asks the user how many hours were worked and the pay rate and returns this information to main. The second function calculates the regular hours … Software Development python | |
Hello! The text file is separated by tabs..I have used a struc as below: [CODE]struct scores { int maths int phy; int bio; int chem; int eng; int total; }; struct class { int class_id; char name[50]; }; ifstream fin; fin.open("marks.txt"); char buf[100]; string a; getline(fin,a); char delims[] = "\t"; … Software Development c++ | |
I was given this code by my professor [CODE] main.cpp #include "home.12.h" int main() { cout << mystery(30) << endl; return SUCCESS; } // end of main //========================================= functions.cpp #include "home.12.h" int search(int first, int last, int n){ int returnValue; cout << "Enter: first = " << first << " … Software Development c++ | |
HI, I am having a few problems, I want to make a simple login that will read a text file where the "username","password" will be, it will be displayed like this: "username1","password1" "username2","password2" etc, I would like it so that the login form will read the data, if a user … Software Development visual-basic | |
I do not find Commnon Dialog Control in the toolbox,Can somebody plz tell me from where to drag the control? I have just General Tab in my toolbox???? Software Development visual-basic | |
I use the following code to read data from a txt file: File2Open = "data.dat"; if((In=fopen(File2Open,"rt")) == NULL) { Application->MessageBox("Open data file failed.", NULL, MB_OK); return; } handle = open(File2Open, O_RDONLY); do { Readin1; Readin2; }while(!eof(handle)); Readin1 and Readin2 are two subroutines and consist of many lines of fscanf(In,"%s",&TTT) to … Software Development c++ | |
How I can know OS details,cpu details and the running processes of a remote machine without logging that machine. Software Development shell-scripting | |
Hi all, I`m doing a project on an online bulletin board. I`m not able to configure tomcat in my windows machine. And i`ve been able to compile and run servlets in command line. Its the browser where i want to see the servlets run. Any help will be appreciated. I … Software Development java | |
OK everyone, this is probably gonna be a stupid question, so brace yourself. I'm brand new to all this. I'm really not having a literal problem, but it's driving me nuts because I don't know what it is. Forgive me if something like this has been discussed before. I just … Software Development python | |
Hi, at the moment i have a program that examines a file, does some processing and then outputs the results in a file. Is it posible to examinemultiple files stored in a folder all at once, then output the report files in a seperate folder without having to run my … Software Development c++ | |
Hi everone, Today i have a question has two parts and i did what i undrstood.If threr are mistakes ,please tell me. The Question is: [quote]father decided to buy a new vehicle. He paid 20,000 QR in cash and the rest will be paid on settlements as follows: 1500 … Software Development c++ | |
I have managed to concur bubble sort, quick sort and heap sort but I've got stuck on pigeonhole sort. I haven't been able to find much on the internet about it. I have wrote some code for it but it doesn't seem to work. I was wondering if any of … Software Development c | |
I have a bunch of print statements in a SP that tell me exactly what went wrong in the SP (if anything), but I cannot figure out how to capture the text in the [code=sql]PRINT 'Receiver and Customer don''t match'[/code] statements... I pretty much want to get the info with … Software Development sql visual-basic | |
I have 2 classes, Edge and Point. Edge contains Point P1 and Point P2 as private memebers. Edge has accessor functions [code] Point getP1() { return P1; } [/code] and the same for P2. Point has << overloaded - [code] ostream & operator << (ostream &output, Point &p); [/code] I … Software Development c++ | |
Hi What are the basic differences between the methods atol() and strtol()? Regards, Amit Software Development c++ | |
Hi, I recently has a C++ code which only run on Fedora Platform. I wanted to run debugging on these code as I came across some unexplainable scenario output. Can anyone suggest how could I use any debugger? I tried to use GNU GDB but then the code I am … Software Development c++ | |
I am very sure the code below can be simplified. The exercise was to take a word list, rearrange each word's letter to be in alpha order (e.g. barter = aberrt). The rearranged letter would be the keys and the word be be assigned to that key. Similar keys could … Software Development perl | |
Hi! Sorry, I couldn't find close topic. But maybe somebody can help me with my problem? I create a Word document, and I don't know how to paste the values of my variables in the document. For example, if i have the variable - int sum = 20, how can … Software Development c++ | |
hello any help me to open and run ms access mdb file with access-report and access-form Software Development visual-basic | |
Hi, im just bored so was mucking around on Dev-C++ and then was wondering - how could i make it so my program said a random sentance, like if i defined loads, and it said one at random. Could you help :). Software Development c++ | |
I have a class assignment of writing a program that: Start with the following program code. Write the function called "increment" which takes one integer parameter and returns that value plus one. [code=cplusplus] #include #include using namespace std; // YOUR FUNCTION GOES HERE! int main() { int input; string keepGoing; … Software Development c++ | |
I'm working on VB.net(2005 studio) application that stores values.i'm using SQL server 2005 express.I dont know how to connect both of them.Is there any tutorial on the web for that? I have tried but most of the result are points to the pages of SQL server configuration,manipulation related information. One … Software Development vb.net visual-basic web-server | |
Hi ; I know how to solve the same problem if i have limit numbers ,but here i have n intergers .How can the compiler understanst me when i need n integers ,like this question: [COLOR="Red"]Write a program that takes an n number of integers and calculates their average.[/COLOR] Using … Software Development c++ | |
why cant it work properly??? [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ ofstream out;//create output stream int acc_num[10]; for(int x=0;x<10;x++) acc_num[x] = rand()%10; //generate account number char acc_file[600]; for(int x=0;x<10;x++) acc_file[x] = acc_num[x] + '0'; out.open(acc_file, ios::out);//create & open output file out << "PACKAGE ID: "; … Software Development c++ file-stream ios |
The End.