199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TheFearful

Hey, I am working on a project and I want to know how to return a class object that is a Character Array. I am having trouble with it and can't find out any way to do this. Thank you for taking the time to help (:

Member Avatar for triumphost
0
230
Member Avatar for Thermalnuke

hey here is what i got.... i get an error after my while statement that i need a ; after my while but that dosent make any since, cause there shouldnt be any ideas???? suppose to be an easy loop statement if the string does not contain @ then keep …

Member Avatar for Thermalnuke
0
97
Member Avatar for frivolous

i want to read mp3 file and extract its features which i will use further for identifying mood of song. can u help me in extracting feature of mp3 and which feature will b most appropriate for mood identification?? thank u

Member Avatar for zeroliken
0
298
Member Avatar for jackmaverick1

I've got a wall in my 2-D game. I've got everything except the not-allowing-you-into the wall part. I know I can use the intersect method on some Rectangles to know if they intersect, but I need to know where they intersect so that I can kick them out when they …

Member Avatar for NormR1
0
121
Member Avatar for xiiopao

good day guys.., just want to know more about method signatures.., can anyone here give me some samples or method signatures that could be helpful in hotel reservation program and flight reservation program.., i don't really have a code just need sample method signatures thanks guys =)

Member Avatar for NormR1
0
183
Member Avatar for Hypnos_16

I'm trying to write a program that allows a user controlled character to move around a maze. That problem i'm having is having it determine when it runs into a wall. I have a code done up to handle it. I'm just running into some errors i need help cleaning …

Member Avatar for NormR1
0
275
Member Avatar for infinitus

Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Thank you Question: 1. (a)modify the addnames.php script to read in and store two fields of data – …

Member Avatar for infinitus
0
204
Member Avatar for cyd44

I Have a problem with syntax error on the following code [code] $myregion = $_POST['region'];echo $myregion;$names = mysql_query("SELECT * FROM course_name WHERE Region=$myregion"); while($row = mysql_fetch_array($names)) {echo $row['Name_of_Course'], " " , $row['Region'], " " , $row['Price'],"<br>";}$myregion = $_POST['region']; echo $myregion; $names = mysql_query("SELECT * FROM course_name WHERE Region=$myregion"); while($row = …

Member Avatar for cyd44
0
102
Member Avatar for pseudorandom21

Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows)

Member Avatar for pseudorandom21
0
1K
Member Avatar for pseudorandom21

I'm attempting to transfer some OpenCV images over the network, I've been trying to put them into a format I can easily encrypt and transfer, but I'm almost certain it's not going to work properly. Essentially the IplImage is a structure but it has a pointer that points to some …

Member Avatar for pseudorandom21
0
771
Member Avatar for arty.net

Hi guys, i have a tricky problem with this wxgtk gui and thread nesting. As you can see i'm trying to collect data through a buffer ( self.data= dict() ) through the main gui. I need to get the data from the ComboBox and the three textfields then i need …

Member Avatar for arty.net
0
161
Member Avatar for infinitus

Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Also If any one could tell me how to save the data entered by person into one file(XML)so …

Member Avatar for infinitus
0
154
Member Avatar for george8

Hi everybody >> Thanks to this forum >> I need your help please .. My problem in the Combo Box and SQL query .. I have three comboboxes linked to an Access 2007 database first one "Department" second one "Year" third one "ClassRoom" in third combobox I need display the …

Member Avatar for george8
0
215
Member Avatar for bibiki

Hey there, I am trying to build an application that listens to my mouse. once I click on my panel, it reads the x, y coordinates of the point I clicked on. Second time I click the panel, it reads the x, y coordinates of this other point and draws …

Member Avatar for NormR1
0
154
Member Avatar for petrovitch

I've been running a python script successfully on Linux for about a month. Recently, I got a message that says "can not execute", "No such file or directory". I can type python and it runs on command line, but my script will no longer run on the daemon. It has …

Member Avatar for woooee
0
71
Member Avatar for coolbits

I want to create a struct array and get the max number of books written by particular author...The problem is that i can't get the number. I am not finished up yet with the code,but i don't know why i am not getting anything when calling the Max function.Please advise! …

Member Avatar for coolbits
0
147
Member Avatar for caltech

Hi, I'm rather new to MySQL/db management, though I do have a more substantial background in web development with HTML, CSS and PHP, as well as some C++... so while I may be sort of familiar with some of the general concepts needed to understand and utilize MySQL database design, …

Member Avatar for thegerm
0
164
Member Avatar for soo5Lo6k

Hi, I am programming some console application that updates itself periodically from Internet. (windows.h + pthreads for win32) I want to do something like: [CODE] MAIN FUNCTION: create thread launch updater THREAD: infinite loop - starts the main application, exits if application ended normally but when it was killed by …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for xtinab

For a project I'm doing for class I have to make a virtual method in a class. A subclass will inherit the virtual method and instantiate it in a separate .cpp file. The problem I'm having is that I need the class that has the virtual method to instantiate its …

Member Avatar for Ancient Dragon
0
222
Member Avatar for rigoalhn

I need help with this assignment. I got some done for the input validation but im having problems to understand classes. Ill provide the code below. Design a class called Date that has integer data members to store month, day, and year. The class should have a three-parameter default constructor …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for zingwing

By using an if statement how could i get a character to detect end-of-file. i was thinking something like this: [CODE] char a = '\0'; int count = 0; if(a == EOF) { count++; }//endif [/CODE] but it doesn't seem to detect the end-of-file. Any idea would be appreciated. Thanks …

Member Avatar for Ancient Dragon
0
146
Member Avatar for mohy93

i need help with this program, i need to give the user 20 chances to guess, and they should be asked if they want to playagain.(by playing again i mean generating a new number with 20 new chances) after playing for how many times i should count the number of …

Member Avatar for WaltP
0
215
Member Avatar for pattmorter

So I was doing some code for input validation on my homework program and i have the correct code to make sure a number entered it correct but I thought, what if they enter a letter. We aren't required to make sure that the user entered a number but how …

Member Avatar for WaltP
0
179
Member Avatar for IDC_Sharp

I'm trying to install Visual Studio 2010 on Windows 7 64-bit and I keep getting following screen: [url]http://imgur.com/C0bJv[/url] I tried to install also Visual Studio 2008 with similar result. Any idea what could it be?

Member Avatar for thines01
0
570
Member Avatar for AaronDickey

I'm having some issues with this code: [CODE] Imports System.Data.SqlClient Public Class loginForm Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load '--Connection string to POS database Dim loginFormConnection As New SqlConnection("SERVER = localhost\SQLExpress; DATABASE = POS; INTEGRATED SECURITY = true;") '--Check to see if Windows Point …

Member Avatar for Begginnerdev
0
406
Member Avatar for Denden17

Employee Record Hello, Ive just wanted to get the idea for my problem. Im making payroll system now. I just wanna know what is the way of tracking the record of employee when i save theyre info in payroll. Like if the employee got paid in these date lets just …

Member Avatar for Begginnerdev
0
145
Member Avatar for ringo_tech

hi there, i have a simple code of voice chat found it in Java Developer Solutions [URL="http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html"]http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html[/URL] i tried to add simple GUi consists of a text where i can enter the server ip and a button click it to connect (calls CaptureAudio()) but when i try to use this …

Member Avatar for ringo_tech
0
104
Member Avatar for fire eaters

the below table is order by rank .. however i want order by in a way that 'Cpl' comes first. 'lcpl' comes second and 'pte' come last.. if i use ascending or descending it will order by a random manner.

Member Avatar for hericles
0
125
Member Avatar for Gaurav Bindal

I want to send mail using php mail() function. but it is not working. tell me the mistake in code?if any correction in php.ini file should be there then also tell that. here is my code:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for Biiim
0
248
Member Avatar for MDanz

i'm trying this below but it isn't working, the page is coming up blank .. [CODE]<?php $url = 'http://www.realgm.com'; function get_url_contents($url){ $crl = curl_init(); $timeout = 5; curl_setopt ($crl, CURLOPT_URL,$url); curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout); $ret = curl_exec($crl); curl_close($crl); return $ret; } ?>[/CODE]

Member Avatar for RoseAug
0
294
Member Avatar for needjavahelp

I need help with a java program i have to make a program which allows users to draw free hand on a screen, i have no idea how to do this and i need to also understand the code that I use. I also need to put buttons to the …

Member Avatar for jbennet
0
132
Member Avatar for cker11

I'm looking for help setting up my website. Here is my delima. I have [url]www.site1.com[/url], [url]www.site2.com[/url], [url]www.site3.com[/url], etc... Each site requires a user to register and/or login. What I am wanting to do is have the user only register and/or login to [url]www.site1.com[/url], and automatically be signed in to all …

Member Avatar for Biiim
0
149
Member Avatar for Barbarrosa

Does anyone know how to close a file? I saved an image... then when i try and save the image to the same filename.. or delete the file after i saved it... i get an error which states that the file is being used by another process. Has anyone come …

Member Avatar for DanOrtega
0
1K
Member Avatar for Lefian

Hello all! I currently have a drop down which consists of a list of names generated from the database. My problem is that when selecting a name from the dropdown I would like to insert the name and the corresponding ID into the database table. I am not sure if …

Member Avatar for Biiim
0
6K
Member Avatar for bloodbender

Hi guys, Is there a way to confirm your answers for simplifying boolean algebra OTHER THAN truth tables? AND = * OR = + p * q * r + p * r is simplified into just p * r, which of course is the correct answer, but how can …

Member Avatar for stultuske
0
171
Member Avatar for 4evrmrepylrning

Hi all. My new job involves writing scripts for people in other departments. I'm pretty much on my own with this and I'm still a beginner with Python(I think my brain is still in PHP mode and I'm still struggling with this object oriented approach). Here is what I have: …

Member Avatar for Gribouillis
0
148
Member Avatar for LFCDay123

I have been given an assignment where a company requires an application that displays coffee usage information for the managers. I've been given sample data for last years monthly usage amounts in kilos which are: 400.5, 450, 475.5, 336.5, 457, 325, 220.5, 276, 300, 320.5, 400.5 and 415. I need …

Member Avatar for thines01
0
123
Member Avatar for gogs85
Member Avatar for gogs85
0
71
Member Avatar for DaveyMoyes

Hi all, can someone tell me why I am unable to concatinate the variable $id to the members.php ? Its driving me mad. . . [code] $id = $row["id"]; $_SESSION['SESS_MEMBER_ID'] = $id; setcookie("id", $id, time()+86400); $securecode = $row["securecode"]; $_SESSION['SESS_SECURE_CODE'] = $securecode; setcookie("securecode", $securecode, time()+86400); $creff = $row["creff"]; $_SESSION['SESS_CREFF'] = $creff; …

Member Avatar for Biiim
0
209
Member Avatar for RDane

Why do I always get the error Student_Id do not have a default value? Is there something some with my code? Cant I do 2 PreparedStement and execute it together? [code] private void cmdaddMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cmdaddMouseClicked // TODO add your handling code here: //String sql = "INSERT INTO student (Student_ID, …

Member Avatar for javalover
0
474
Member Avatar for ASPLOST

In my program I have a hint button for a puzzle that randomly selects a textbox, populates it with a number, and changes its background color. The issue is that the hint button works correctly for the first 2 hits, but after that the previous textboxes that were colored will …

Member Avatar for thines01
0
99
Member Avatar for stevenbeatsmith

I am a nood forgive me if all my code is messy, and evrything I know is self taught so my knowledge is not that great. I have an issue, I created an insert record form and in it there is title, price, 8 file upload fields and other fields. …

Member Avatar for stevenbeatsmith
0
232
Member Avatar for a.muqeet khan

hello guys ! i have created a program just to understand how to return a value from using a recursive program what it does it thati have have two variable i.e first and last the value of first is zero and last is 10 not i want the function to …

Member Avatar for Tumlee
0
165
Member Avatar for cali_kid

[code] #include <stdio.h> int max(int x, int y); int min(int x, int y); int main() { int grade, total, counter, avg; total = 0; counter = 0; printf("Enter grades: (-1 to end list)\n"); do { scanf("%d", &grade); if(grade != -1) { total = total + grade; counter = counter + …

Member Avatar for Tumlee
0
203
Member Avatar for CodeNinjaMike

Ok, I've been trying to wrap my head around this code for the longest time today, and I've tried to look up multiple web pages on how to solve my issue in a different way, but it's no use. There's something that Im not seeing that separates a regular array, …

Member Avatar for mrnutty
0
4K
Member Avatar for jonnyboy12

Hello i am finishing up a pop3 program and now am looking for a way to view the html i receive form the pop3 server that comes along with some messages. People have told me to use a web browser but that seem over kill. Could i dissect a web …

Member Avatar for thines01
0
174
Member Avatar for svatstika

Hello everyone! My idea is like this: Class MainWindow is a JFrame object, on which there is a JButton object (named button1). When I hit that button, the second window (this window is a JFrame object that is instance of class SecondWindow) will appear with a JTextField object (named textField) …

Member Avatar for NormR1
0
279
Member Avatar for jjsmithy

Hi everyone; I have a folder with images in, all JPG, and when the application starts up I want a listbox to display all of the image names, automated from the folder; Just wondering how to do that and if anyone can help? Thanks :)

Member Avatar for jjsmithy
0
111
Member Avatar for Om Alooi

Hi I have several things I need help in it 1- how I can put picture in tool strip and put it convert to split button without the picture go invisible when i click on it 2- how can I make tabs in the forms 3- I want to put …

Member Avatar for Begginnerdev
0
182
Member Avatar for dennysimon

hi all is there an installer for jar file ? (hopefully free ware) so client run setup.exe to install jar file ? thank you denny

Member Avatar for dennysimon
0
161

The End.