199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for maxilt

[code]#include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <conio.h> using namespace std; #define MAXLENGTH 20 #define WORDLENGTH 20 enum dir { LEFT=0,UPLEFT,UP,UPRIGHT,RIGHT,BOTTOMRIGHT,BOTTOM,BOTTOMLEFT}; enum menu { LOAD=0,SOLVE,CREATE,QUIT }; struct WORD { char word[WORDLENGTH]; int length; int row; int col; dir d; }; typedef struct WORD word; word wordlist[100]; …

Member Avatar for dude543
0
157
Member Avatar for Yustme

Hi, Im having a lil problem which is kinda fustrating me. This line of the code: g.fillRect( xPos, yPos - 20 - sensor[i], 20, sensor[i] ); the last sensor[i] besides how high the rect will be. And in this case that would be 1, 2, 3, 4, 5, 6 and …

Member Avatar for Yustme
0
525
Member Avatar for hahagal

I am new to java programming. I kept getting this problem cannot resolve symbol. I really don't know what went wrong. I am using J2SE SDK 1.5 and jGRASP 1.8.3. The code are below. Hope I can get a reply ASAP. Thanks.. [COLOR=#0000ff]1 [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.util.Scanner; [/COLOR][COLOR=#0000ff]2 3 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]class[/COLOR][COLOR=#000000] Pay [/COLOR][COLOR=#0000ff]4 …

Member Avatar for aniseed
0
182
Member Avatar for anthmaina

hey, am developing an online dating web application and am stuck when it comes 2 match making between members in ma site.how do you implement match making using php/mysql?,any matchmaking php scripts you know? thanx in advance guys.

Member Avatar for Nadejda
0
691
Member Avatar for Ene Uran

What is the best way to establish a wxPython event handler for a mouse click, button and so on? I have looked at a number of sample codes and the event handlers differ all over the place.

Member Avatar for Ene Uran
0
382
Member Avatar for hush

I've made an extension for firefox ,which will work as quick image upload tool for my image server . Now.. the issue is my server needs to have some supporting php scripts for this to work. Can someone help or guide me on this pls..???

Member Avatar for alpha2006
0
124
Member Avatar for fraley118

write a document that would outline dev-c step by step how to create a win32 dialog based application

Member Avatar for fraley118
0
85
Member Avatar for provenshop

Where can i download all Java advanced tutorials in Java sun .com i want the specific link

Member Avatar for aniseed
0
148
Member Avatar for spoonhead

I keep getting this can you guys look at my code and see whats up PROGRAM LargeandSmall; USES Wincrt; {*----------------------------------------------------------------------*/ var Nums:Array[1..10] of INTEGER; Largest:INTEGER; Smallest:INTEGER; menuchoice:INTEGER; i:INTEGER; anykey:CHAR; {*-----------------------------------------------------------------------*/ PROCEDURE initialise; VAR i:INTEGER; BEGIN FOR i:=1 to 10 DO num[i]:=0 Largest:=0; Smallest:=32767; End; {*-----------------------------------------------------------------------*/ FUNCTION get_menu_choice; VAR i:INTEGER; choice:integer; …

Member Avatar for nvanevski
0
744
Member Avatar for EriCartman13

Ok I am confused. I just started python and when I save my program that I edited in the IDE editor as for example helloworld.py I cannot run it when I click it. All it does it come up with a black box, like cmd, and dissappears. Also do you …

Member Avatar for EriCartman13
0
208
Member Avatar for spidey

hi, i have a problem in passing multiple checkbox values. the page displays records (pending invoices). each record has a checkbox on the last column. the user must check the boxes of the records he/she wishes to update. [html] <table> <tr> <td>label1</td> <td>label2</td> <td>label3</td> </tr> <%do while rs.eof%> <tr> <td>nth …

Member Avatar for msaqib
0
127
Member Avatar for jack999

Write a C-Program that swaps the elements of 1-D array (10 elements) : Example: If the given array is: 5 8 9 2 3 1 11 17 43 6 The new array will be: 6 43 17 11 1 3 2 9 8 5 Your program should consist of the …

Member Avatar for Lerner
0
180
Member Avatar for ramareddy_dotne

I want to retrieve data from controls in the requested page to other page by using [B]request.form(control name)[/B] but this is not working for me.I tried both [B]response.redirect [/B] and also [B]server.transfer [/B] for redirect to new page but it is not working for both the commands.

Member Avatar for nbp
0
1K
Member Avatar for Stivi

Hi, I'm writing a chat application in C# and I want to ask how I can insert pictures into textBox or richTextBox , you know, just something like this ;) Thanx, Stivi (EU)

Member Avatar for Mayo
0
610
Member Avatar for Mayo

Hey ppl, i'm quite new to the whole programming thing so bear with me. I want to use a RichTextBox as a body for a email. How do i get the textBox to accept images. :-|

Member Avatar for Mayo
0
138
Member Avatar for indangasy

Hello guys I would some help on how to easily let a system user browse for a picture and see it in a image handler. For this case am using textbox to hold a picture. How can i do it? Rgds

Member Avatar for Mayo
0
173
Member Avatar for puppy

Hi, Can someone tell me how to fix the function below. I am getting this compile error regarding the last line: cannot convert `const double' to `const double*' in return What should I return according to the function parameters I've written? Thanks. [CODE] const double * maximum(const double a[], int …

Member Avatar for dubeyprateek
0
109
Member Avatar for achala

hello, am doing a project for my school . am asked to , 1. open a file 2. tokensise the contents and then change the case of all the letters to lower case 3. search for all the words in tat file with another file so there are 2 files …

Member Avatar for achala
0
85
Member Avatar for tripnip

I'm new at Java, and I'm probably just an idiot, but I need to know how to show an answer as both a fraction and a decimal. Can anyone tell me how?

Member Avatar for server_crash
0
157
Member Avatar for Smooth_411_2000

I am trying to write a program that will execute programs in Visual basic from a CD. The Programs need to be compiled with the program that i am writing so even if i move it to another computer it will know where to find it. I need it to …

Member Avatar for Smooth_411_2000
0
264
Member Avatar for MeDotCom

Hi everybody, I am new to this board. I have a new client that has a public access point for his business. He wants to ensure each person that uses this access point registers so he can get everyone's contact information to send them out coupons, etc. The way I …

Member Avatar for MeDotCom
0
177
Member Avatar for default

hi i'm not sure how to start this program. The program is: to take in a set of x and y data, perform the least squares regression, and use the coefficients to predict values for the x values given and print the x, y and predicted y values. Input should …

Member Avatar for b4codes
0
115
Member Avatar for dark808

Ive been learning C++- for a bout a month and I want to start making simple button press GUI windws that i can use for informating people about things. (I'm in 8th grade so i'm not a math genius yet.:rolleyes:) The problem is that I don't know what I should …

Member Avatar for Lerner
0
98
Member Avatar for potential

guys, please help me... how do i make clrscr() work? my friend told me to include conio.c, but i think that my version of dev-c++ doesn't have that...so i tried downloading conio.c...but the problem is, clrscr() still doesn't work in my pc but it works in my friend's pc...we're both …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for ASH168

HI I NEED TO WRITE A C++ CODE[DEFINTION & DECLARATION] FOR THE NECESSARY COPY CONSTRUCTORS & ASSIGNMENT OPERATORS TO ENSURE THAT A DEEP COPY TAKES PLACE. [code]class CShop { public: CShop(); ~CShop(); private: CEmployeeContainer* m_pEmployees; char* m_strShopName; }; class CEmployeeContainer { public: CEmployeeContainer(); ~CEmployeeContainer(); private: CBoss* m_pBoss; list<string> m_listEmployeeNames; }; …

Member Avatar for Narue
0
150
Member Avatar for wildcatjm57

I am developing a system where: - Users can go to a website, sign up for classes, and pay for classes - Or they can come to the store and sign up in person I was wondering if someone could walk me through the steps from the beginning of making …

Member Avatar for acescence
0
102
Member Avatar for russell214

i want to populate the datagrid1 based on the given value below. i'm using VB6 as my frontend and MSACCESS as my backend. how to accomplish this? NET 9,500.00 'Given value INTEREST 1,200.00 'Given Value INT DUE 48 'Given Value IRR 0.69867 'Given Value TERM 25 'Given Value RELEASE 05/02/06 …

Member Avatar for russell214
0
116
Member Avatar for sam1

hi, I want to know what a thread is and what it is used for. also how it is used...:mrgreen: thanks

Member Avatar for Phaelax
0
134
Member Avatar for MillStrike

I have a heck of a situation here, and i'll try to explain it. For example I have a string containing "c:\\download\\music.mp3" and I want to make it contain only music.mp3 by "filtering" away the rest. Code might seem a bit hard to understand but heres the deal. SelectedFile contains …

Member Avatar for campkev
0
117
Member Avatar for huffstat

I have been trying to use the freeware (dll) version of Qcard32 in visual c++6 on a single document program. I cannot get the functions to work or complie properly. I have been reading about using the __declspec (dllexport) and __declspec(dllimport) keywords I feel that if I can get the …

Member Avatar for Ancient Dragon
0
216
Member Avatar for Elleeza

I want to do the following things in a single program 1) Read a name in the form of string from user 2) Convert it into uppercase if the name is in lower case 3) Now i need to open a file which is already exisiting in some other path …

Member Avatar for wwaall2004
0
175
Member Avatar for Jawaher

Thank you cscgl for your reply, I hope you reply me again !! PLZ, I need the code of SJF in c it is emergency and must be submit tomorrow. plz help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Member Avatar for aniseed
0
149
Member Avatar for Julie444

I have the following problem with a servlet in production on the Internet. I am using POST in a servlet to send the data to the servlet. I see in the log from the servlet that in rare cases the post parameters received in the servlet are null, and when …

Member Avatar for monkeyMojo
0
175
Member Avatar for aarya

<?$file="www.mysite.com"; $fh=fopen($file, "r"); $fileinfo=fstat($fh); $b=filesize("$file"); print $b; echo "Filename:" .basename($file)."<br/>"; echo "Filesize: ".round(($fileinfo["size"]/1024),2)."kb <br/>";?> this is the code to determine the size of the page. but i m getting the error as filesize() [function.filesize]: stat failed for [url]www.mysite.com[/url] any body help in finding the page size of teh given url

Member Avatar for aarya
0
186
Member Avatar for versatilewt

Hi, I'm writing some complex queries on a very poorly designed database. We're running on MS SQL Server2000. I was wondering if its possible to do in-line if-else blocks within a query.. i.e. [PHP] SELECT * FROM tablename IF (condition1 = 'a') WHERE condition2 = 'a' ELSE WHERE condition2 = …

Member Avatar for eralper
0
324
Member Avatar for j4mes_bond25

I'm rather new at PHP. I'm trying to run a script, but every time I do so, I'm not quite getting the output I should be getting. I'm using this my Dreamweaver at home & working on the simple examples from this website [url]http://www.php.net/manual/en/tutorial.forms.php[/url] I've typed in: [B]index.html file [/B] …

Member Avatar for j4mes_bond25
0
160
Member Avatar for ravinderreddy

want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in C or C++ on windows operating system. Please help me.

Member Avatar for mohit_mar
0
748
Member Avatar for sathiya

Hi Everyone, First of all, thanx Mojio for providing me the right code information on connecting sql server database. As I'm a beginner in ASP.NET, using vb as language. I have created few text boxes on the form as an input to the application. I hav managed to insert the …

Member Avatar for sathiya
0
430
Member Avatar for 3265002918

I can't find a way to let people attach a file to messages auto sent to my e-mail. my code is : <html> <head> <title>email</title> </head> <body bgcolor="red"><center> <br> <table border="2"> <?<form> //1 <tr> <td bgcolor="yellow" text="black"><b>print "!all fields must be filled!";<b></td> </tr> //2 <tr> </tr> //3 <tr> <td>print "first …

0
104
Member Avatar for mojio

I'm a newbie and I've got some problem with my project. Here's my prob. I have 2 pages. First page I have 2 dropdownlist, months and years, and some radio button. Second page I have checkboxlist and submit button. When i click on radio button in the first page(autopostback), it …

Member Avatar for mojio
0
146
Member Avatar for mohamad11

:sad: Hi ,I have a text file and it contains a message ,I want to extract the last four characters in this file and then convert it to integer i did the following: FileInputStream Received_Message=new FileInputStream ("MyFile.txt"); BufferedReader buff2=new BufferedReader(new InputStreamReader(Received_Message)); System.out.println("Your Received message is as following:"); while((recv_Message=buff2.readLine() )!=null){ System.out.println(recv_Message); …

Member Avatar for aniseed
0
421
Member Avatar for honeybleak

:confused: HI, I need to create a program which tests whether within a range given by the user, there exists an extreme of quadratic function (y=ax2+bx+c). The parameters (a,b,c) of this function are given by the user. I just started it but I have a problem in completing it. This …

Member Avatar for soxers12
0
471
Member Avatar for abhishekgoogle

Hi, This is Abhishek. I am a newbie in PHP and we have to develop an Inventory management application. We have a MySQL database structure which looks like this (dissimilar) VORTEX Table 1: hardware ========================================== hwid | total | manufacturer | hardware type | model no | specs | remarks| …

Member Avatar for abhishekgoogle
0
135
Member Avatar for ceug

hello, I've a empty dropDownList. When it is clicked, i want to go to the server and fill it with the appropriate data. My problem is that dropDownList has few events and has no click event. I thought about catching the event as client event and then call the server …

Member Avatar for tgreer
0
780
Member Avatar for marten

I need to calculate the time of execution in millisecond, and this function should beAcurrate as possible. I asked one of my friends and he gave me one good function that do that and accurate, but there is linking Error, because this function works under Linux and I am works …

0
107
Member Avatar for wanda

I wrote a simple program for tictactoe and have everything working except a method to check and see if a player has won the game diagonally. I am not sure how to write the for loop to check the board. Code: [INLINECODE] public class Board extends ReactiveDrawingPanel implements GameConstants { …

Member Avatar for iamthwee
0
158
Member Avatar for mohit_mar

I want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in C or C++ on windows operating system. Please help me. It's urgent.... …

Member Avatar for Salem
0
288
Member Avatar for duubz

Hi, I'm currently creating a database and need to create a query to show all the records that the warrenty date expires within the next week. i know this is a simple query as I did it when doing my A-Level in computer studies however I was working in a …

Member Avatar for ingrid kalnins
0
149
Member Avatar for russell214

i have a 2 textbox and 1 listbox. i'm using vb6. how can i populate the listbox based on the given below? begindate.text = "05/02/06" 'begindate.text + 7 noofinstallment.text = 25 this should be the output in listbox control. 5/2/06 5/9/06 5/16/06 5/23/06 5/30/06 6/6/06 6/13/06 6/20/06 6/27/06 7/4/06 7/11/06 …

Member Avatar for russell214
0
122
Member Avatar for prats_20

hi can anyone give me an asp code for uploading images on a server. Have been trying the code on free asp upload but am getting a message that the directory in whicj i want to upload does not exist where as it do exists. When i remove read only …

Member Avatar for radharadha
0
177

The End.