132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for deola_lanre

pls help with a java program to simulate a bursary unit with emphasis on fees payment and verification, salary payment. you guys are gonna make my day.tnx

Software Development java
Member Avatar for PhiberOptik
0
221
Member Avatar for Emma1

Hello, Out of fgets() and gets() which function is safe to use and why? Thanks

Software Development c c# c++
Member Avatar for Ancient Dragon
0
112
Member Avatar for Hairul

Require help I had 2 question 1) What is the script when I select Option 1 click command button will go to form 2 and select option 2 click button command will go to Form 2? 2) What is the script connection within vb6 to mssql?

Software Development mssql visual-basic
Member Avatar for Hairul
0
87
Member Avatar for I_want_to_lean

I've been experimenting with GDI+ and i managed to draw 2 PNG in a button button. 1 for the normal state and one for the Clicked (down state) but when i click the button,the down state image gets draw on top of the normal state, and when i release the …

Software Development c++ image
Member Avatar for Nick Evan
0
283
Member Avatar for Infectme

Hello all! I am having a few issues with my code and after hours of endlessly searching Java help sites and Java forums, I decided to bring my issue to the table to receive some help specific to me, I am receiving the error 'Illegal start of expression' with the …

Software Development java
Member Avatar for javaAddict
0
124
Member Avatar for kehar

Hi In vb6 I would like to display the contents of long message in more than one line. When I use the following command the entire message display in single line only thereby making the message box long The command that I am using is as under msgbox " abcd …

Software Development display visual-basic
Member Avatar for debasisdas
0
92
Member Avatar for bulkhin

Dear All, I need help to do the interface delphi program as the following: 1. Allow the use to select a text file from a storage media. 2. Open the text file and read it line by line. 3. scan each line and extract each word 4. write each word …

Software Development delphi pascal storage
Member Avatar for Jonase
0
147
Member Avatar for Aue

make python program count the number of two words on a webpage (for instance, 'keep' and 'delete') and return it.

Software Development python
Member Avatar for leegeorg07
0
84
Member Avatar for daviddoria

I just learned about returning a reference... and it seems to me that I can delete my mutators now? ie. [code] class foo { int A; //mutator void set_A(const int a) {A=a;} //accessor int get_A() {return A;} } int main() { foo MyFoo; int b = MyFoo.get_A(); //get MyFoo.set_A(4); //set …

Software Development c++
Member Avatar for daviddoria
0
214
Member Avatar for firoz.raj

[ATTACH]8892[/ATTACH]Sir i want to create a separator bar for the column in listbox ,i have written a code . it is working fine .but i need separator bar to distinguish column in a list box : [code] Dim con As ADODB.Connection Dim rs As ADODB.Recordset Dim i As Integer Private …

Software Development open-source visual-basic
Member Avatar for firoz.raj
0
160
Member Avatar for kenji

Hello, I have coded an overloaded += operator and it is giving me trouble. basic function of the operator is to add data to dynamically allocated class array which has 3 member variables. [code=CPLUSPLUS] ie. savings[i].accountNumber; savings[i].balance; savings[i].customer; [/code] I have managed to get the first part of the function …

Software Development c++
Member Avatar for Agni
0
122
Member Avatar for veledrom

Hi, I want to create a little program to run xxx.exe stored in my server from my local PC. It will be run automatically when i start my PC. How can i do it? Thanks

Software Development visual-basic
Member Avatar for cguan_77
0
108
Member Avatar for Blackeagle

Could someone help me to understand what File descriptors are in Linux?

Software Development file-system shell-scripting
Member Avatar for verruckt24
0
114
Member Avatar for clutchkiller

So as far as ive been able to tell, wxWidget basically allows for multi OS functionality and offers a few extra ways to handle things, other then that, is there a reason why you WOULD NOT want to use wxwidget?

Software Development c++
Member Avatar for Nick Evan
0
81
Member Avatar for xlx16

hi evreybody how can i get strings in java? thanks.

Software Development java
Member Avatar for stultuske
0
102
Member Avatar for pacx

Hi I am using Visual 6 C++ and try to retrieve a member's all closed trades. i declare a string as below: char str[8000]={0}; But this declaration is ok and the program work fine if the member's record size does not exceed 8000bytes. In order to be able to retrieve …

Software Development api c c# c++ storage
Member Avatar for pacx
0
168
Member Avatar for sonygamer

Hello everyone, I have been trying to get this code to work, but so far all it does is tell me : Input the order of the Matrix(Keep it Odd):3 1.11286e-307 1 0 1.11341e-308 1.11286e-307 0 0 1.11343e-308 1.11286e-307 0 0 1.11342e-308 Press any key to continue . . . …

Software Development c++
Member Avatar for MosaicFuneral
0
640
Member Avatar for prashanth s j

Hi all, I am getting a compiler error for the following: [U]The following is the declaration in the header:[/U] void init(INBUFF ** , OUTBUFF ** ); ---->line no 21 [U]The following is the function init:[/U] void init(INBUFF ** inbuffptr, OUTBUFF ** outbuffptr) { ------------------->line no 81 *inbuffptr = (INBUFF *) …

Software Development c
Member Avatar for me_ansh
0
102
Member Avatar for metalla_nz

I have the below code, [CODE=csharp]string txt = "<table SUMMARY=\"Game Match\" border=0 cellpadding=2 cellspacing=0><tr valign=top><td width=25><b>2.</b></td><td width=60><a href=\"/game/gameboy-advance/legend-of-zelda-a-link-to-the-past\"><img alt=\"Game Boy Advance Front Cover\" border=\"0\" src=\"/images/i/36/26/365576.jpeg\" height=\"59\" width=\"60\" ></a></td><td><a href=\"/game/gameboy-advance/legend-of-zelda-a-link-to-the-past\">The Legend of Zelda: A Link to the Past</a><br>by Nintendo of America Inc. -- 2002<br>Game Boy Advance<table SUMMARY=\"Game Match\" border=0 cellpadding=2 cellspacing=0><tr …

Software Development regex unix
Member Avatar for metalla_nz
0
155
Member Avatar for Stefano Mtangoo

I use bass.dll to play music files from [url]http://www.un4seen.com/[/url] I try to use function called BASS_ChannelSetPosition. I use ctypes to access the Library. Below is the part of documentation (comes with bass as help file) I need somebody to tell me whether the mode (BASS_POS_BYTE, BASS_MUSIC_POSRESET...etc) is a function or …

Software Development file-stream python
Member Avatar for Stefano Mtangoo
0
216
Member Avatar for shazzy99

Is there any method to find the number of elements that are filled in an array lets say i have the following array defined string[] text = new string[50] and i fill the first 8 elements/indexes Is there any method that could return the number of elements/indexes within an string …

Software Development
Member Avatar for Rashakil Fol
0
178
Member Avatar for godnseeker

please can anyone tell me that i want to create a rectangular spiral in c++. (I use borland c++) u can show the picture

Software Development c++
Member Avatar for Rashakil Fol
0
82
Member Avatar for tarekkkkk

plz help and yes submit a direct link if u can and thx for advance plz hurry up i have assignment next week i have to finish it lol

Software Development c++
Member Avatar for jbennet
0
806
Member Avatar for lllllIllIlllI

Hi In one of my programs i use a wx.ToolBar, and this toolbar is meant to show a range of picutes that help the user with doing things quickly and easily. But the thing with mine is that i am using 64x64 images for the toolbar, yet when i set …

Software Development python
Member Avatar for lllllIllIlllI
0
96
Member Avatar for tmoney7566

been working on this for 2 days and can't figure out what I am doing wrong. We are suppose to input a day and the days gifts are to be in the output. When I put in my day it starts with the correct day but then loops through all …

Software Development java
Member Avatar for tmoney7566
0
110
Member Avatar for AllenB

Hello, I am having a problem writing to a file on a client/server application. I can send the data from a JTextArea to the server, it appears to read the text, but I cannot seem to get the server to write the data to the .txt file. Can anyone help? …

Member Avatar for Antenka
0
170
Member Avatar for bh7322

Hi All. I'm new to the forum. I'm having some issues with my program. I seem to be accessing memory that I shouldn't be (surprise, surprise!), but I can't see the problem. Keen eyes are welcome! Any help appreciated. Sample input: [icode] Enter word for retrieval: the[/icode] Sample output: [icode]You …

Software Development c linked-list
Member Avatar for bh7322
0
135
Member Avatar for aligatorfurr

I'm having problems writing to a seqential access file in VB 6 [code] My.Computer.FileSystem.WriteAllText(path & "checkinfo.txt", _ ourCheck.employee.PadRight(20) _ & ourCheck.check.ToString("N2").PadLeft(10) _ & ourCheck.chkdate.ToString("N2").PadLeft(10) _ & ourCheck.total.ToString("N2").PadLeft(10) _ & ControlChars.NewLine, True) [/code] my debugging errors are 'padleft' is not a member of char... any advise?

Software Development visual-basic
Member Avatar for aligatorfurr
0
100
Member Avatar for edward_paul05

<email/password snipped> ...,then,if u have an entered now in inbox download the filename system problem for my thesis. my program is in there,the problem is? how can i less and add the quantity of my items in database, for example ball 16 pieces if u have borrow 6 only all …

Software Development email visual-basic
Member Avatar for jireh
0
114
Member Avatar for serkan sendur

Do i need to declare private class member functions in header files? or just the public functions are enough?

Software Development c++
Member Avatar for serkan sendur
0
81
Member Avatar for jdm

I was wondering if it was possible to call a random image in c++. I'm using Dev C++. [code=cplusplus] #include <time.h> #include <stddef.h> #include <iostream> #include <string> #include <ctime> #include <cstdlib> using namespace std; const string password("password"); int main() { string x; cout << "Type the password to gain access …

Software Development c++ image
Member Avatar for Freaky_Chris
0
196
Member Avatar for daniellamae

[COLOR="Green"][B][COLOR="Green"]uhm... i really need your help about this... below is the problem but i have my own turbo C code. and the problem in my code is that i cannot total and average the scores that i restore in my arrays...[/COLOR][/B][/COLOR] write a program that will process the exam scores …

Software Development c
Member Avatar for ajay.krish123
0
293
Member Avatar for jsosnowski

I am trying to use a clientdataset without an associated Table. I am attempting to extract and edit data from a Cad program. The Cad program has an interface in which the user selects specific entities within the Cad file (lines, circles, text etc) and provides basic information and attributes …

Member Avatar for mcrosman
0
923
Member Avatar for nagatron

Hallo to all VB programmers. . .I need help in viewing database using list. Please help me. . .I have this list of names in the database and I want to view it using listbox. Thank you for the help. . .God Bless Regards, Neil

Software Development visual-basic
Member Avatar for jireh
0
90
Member Avatar for RahulV

Hi, My parent MDI form (MDIForm1) has opens various child forms on their respective menu click events. I want to know that : 1) How will I check if a particular child form is already open? 2) On closing the MDIForm1 if any of the child forms are open then …

Software Development visual-basic
Member Avatar for jireh
0
236
Member Avatar for RahulV

Hi, Im not able to center a child form of a parent MDIForm (MDIForm1) it shows up error message "Invalid property value" while setting the StartUpPosition property to 1-CenterOwner, or 2-CenterScreen, or 3-WindowsDefault of the child form. How can I set all the StartUpPosition property of the child form? Please …

Software Development visual-basic
Member Avatar for jireh
0
691
Member Avatar for dileeppaul

as per my opinion c# is better than vb.net even if in the case of web development

Software Development c# vb.net
Member Avatar for ddanbe
0
178
Member Avatar for riahc3

Lets say people say 1,3,4,6,9,10,44 And the correct answer is 5. How do I calculate the closest number to 5? Thanks.

Software Development c
Member Avatar for ajay.krish123
0
124
Member Avatar for skatamatic

I'm trying to right a red-eye reduction algorithm for an assignment at school. The user is asked to click on 2 eyes in an image, then the algorithm takes over and corrects the redness. The algorithm works just dandy, but I'm having a hard time capturing the actual location (in …

Software Development algorithm image
Member Avatar for skatamatic
0
163
Member Avatar for RenFromPenn

Hi, I am working on a program that opens a file, reads the text, converts the text to uppercase, and then displays it on the screen. If I write the program to just type in a string and convert it, it works fine. If, however, I write it to open …

Software Development c
Member Avatar for ajay.krish123
0
140
Member Avatar for arunprabhu.1

Hi all i've a file sysdef.dat which looks similar to this : temp = 43; data = 23; temp2 = 34; ... and it goes on up to some values... how do I read only the values of temp and temp2(i.e 43 & 34) from this file... I've also tried …

Software Development c
Member Avatar for me_ansh
0
82
Member Avatar for kishendra

C PROGRAMMING ASSIGNMENT 1. Express, using pseudo code, the algorithm to compute the nth root of a whole number (for example, the square root of the whole number for is 2). 2. Prepare a flow chart for the above algorithm. 3. The following has to do with the design of …

Software Development algorithm c c# c++
Member Avatar for me_ansh
0
158
Member Avatar for Avaviel

This is for a class. Two of the files are provided, and I need to write the third. I'm having trouble with a constructor in a class. The constructor is called with 'Logbook testLog(month,year)' and it saves the month and year correctly. The daysInMonth function works fine. My problem is …

Software Development c++
Member Avatar for Avaviel
0
175
Member Avatar for shasha821110

is there have a way the stack's initial size is 0, it should still be possible to push values onto the stack. Here is my code: [code=cplusplus] class IntStack { int *p; int top; int maxlen; public: IntStack(); IntStack(int); ~IntStack(); void push(int); int pop(); void push (int a[], int array_size); …

Software Development c++
Member Avatar for shasha821110
0
92
Member Avatar for Dendei

Hi i got an problem i need to read from an text file that i got from an excel file at start. so i want each block in the excel file to have one space at the array i saved it so it got seperated by ; example: [code] 4 …

Software Development c++ file-system ios
Member Avatar for Dendei
0
231
Member Avatar for ashishchoure

hi i want to know how to delete lines from text file using command prompt .is there any specific MSDos command for doing this. or any tool available which read,write text file by running command prompt.

Software Development c
Member Avatar for Murtan
0
95
Member Avatar for AdRock

I'm trying to get each line of text of a file split into words and then put into an array I found an exmaple oc cpluscplus.com and their example works but when i try to edit to make changes to read the line of text from a file i get …

Software Development c++ file-system
Member Avatar for Murtan
0
2K
Member Avatar for daviddoria

I would expect this to ouput the 5 doubles, but instead I get the output below. [code] vector<double> a(5); a.push_back(1.2); a.push_back(1.3); a.push_back(1.4); a.push_back(1.5); a.push_back(1.6); vector<double>::iterator i; i = a.begin(); while( i != a.end() ) { cout << *i << endl; i++; } [/code] [code] 0 0 0 0 0 1.2 …

Software Development c++
Member Avatar for daviddoria
0
77
Member Avatar for Nicklorion

Hi peeps i've got an problem with space and tabs in a text file. i've build an app that reads a file and creates an array out of every line. this works just fine but then I noticed that the array is cut of after every space and/or tabular. it …

Software Development c++ file-system xml
Member Avatar for Nicklorion
0
143
Member Avatar for rciprogrammer

I am writing some code to talk to a device via a serial port. I am testing my program by using a loopback, so I can see that what I send is correct. I am sending an unsigned hex array, and when I display the values (before they are sent), …

Software Development c
Member Avatar for death_oclock
0
121

The End.