199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lecotti

Hello everybody, ive only been learning C for about a month so please forgive me if my code is messy or unclear! I have written a simple program which creates a text file, reads from it and then writes the output backwards to another file; it seems to work apart …

Member Avatar for BestJewSinceJC
0
107
Member Avatar for Ddywalgi

Can anyone please help.I am trying to add values to a table from 2 dropdown lists which are dynamically poulated. I have managed to achieve it for one drop list but have added a second and cannot create the correct syntax to add both values to the table. [CODE=php] // …

Member Avatar for Ddywalgi
0
108
Member Avatar for tomtetlaw

I know this is alot to ask, i know this is a big task to start all of a sudden and i know that i will probably get stuck and give up, but i am really interested in making a 3D engine from scratch, and i need help, can anyone …

Member Avatar for DarthPJB
0
617
Member Avatar for eng_mary

hi every one suppose i have a Car class [CODE]public class Car{ [INDENT]int speed; int id; .. public void move(){ .... }[/INDENT]}[/CODE] and a Race class [CODE]public class Race{ [INDENT]int array[][];//contains car ids in race or 0 for none [/INDENT] [INDENT]Car cars[]; .... public void startRace(){ ... }[/INDENT] }[/CODE] if …

Member Avatar for eng_mary
0
184
Member Avatar for rola

I need to write a VB program which takes customer type, number of books purchased and cost of each book as an input.Then calculate the total sum after deducting discount that is to be paid by customer. Note that it needs to show both the total before discount and after …

Member Avatar for Jupiter 2
0
140
Member Avatar for defender_

Hi, I am new to c++ programming.... i am working on a example and when ever i run the following code i get error "Server fifo failure" this is an example and should work alright but error making no sense... :( I am running this code using sun C++ compiler.... …

Member Avatar for defender_
0
154
Member Avatar for Majestics

I am making on-screen keyboard in java. All what i want to know is how to get focus into the notepad or any other typing point , I mean when i press a key it type it into the typing point like a keyboard do. If any one know any …

Member Avatar for Majestics
0
155
Member Avatar for ihatehippies

Is it possible to separate python's syntax checker and check a string object with it? I've read through the py_compile module but it looks like syntax checking it done at a fairly low interface level. Anyone tried this before?

Member Avatar for vegaseat
0
114
Member Avatar for learnerasp

Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. …

Member Avatar for kvprajapati
0
211
Member Avatar for billymcguffin

I was wondering if it is possible to convert audio files with python. like wma to mp3. thanks!

Member Avatar for vegaseat
0
83
Member Avatar for HelenLF

I have a page which displays images for products whose product IDs are stored in a database table. The images are named by the product IDs. I have constructed a basic CMS so that my client can upload product prices etc and she then uploads files using FTP software. The …

Member Avatar for Josh Connerty
0
89
Member Avatar for rtwister

whenever i run the below program it asks me to type in a password and it should go through all that could possibly be the password but if i type in a password of 2 or more digits it only displays the first letter of the password. [CODE] #include <iostream> …

Member Avatar for tux4life
0
104
Member Avatar for kesh1000

dear people recently i have been given with this assignment where i have to read from a txt file and then print out the following. the full class list. the class list sorted by gpa the class list sorted by name initial the user enters the class average gpa. i …

Member Avatar for Ancient Dragon
0
104
Member Avatar for menew

hello to all as i am new to this, all i wants to know that what is required to learn PHP. these days i am on JavaScript and know some basics of it and i have knowledge of HTML and CSS...but i don't want to continue JavaScript and wanted to …

Member Avatar for csharplearner
0
222
Member Avatar for Joncamp

I am trying to transmit an Image object through a Socket connection in Java. The only thing I may be missing is how to get an image size in bytes so I know how many bytes are being transferred over the Socket. I have the ServerSocket and Client working transferring …

Member Avatar for kvprajapati
0
4K
Member Avatar for keppy

Hi, I'm fairly new to java and am trying to write a form of banking system for a college assignment. At the moment I am trying to access the account number of the object userCurrentAccount with it's method getAccountNumber from the account class. This is where the object is created …

Member Avatar for kvprajapati
0
103
Member Avatar for rush1

Hi All. I Am Having A Problem With My Website [url]http://www.wanaspace.com/[/url]On Home Page Of This Site The Youtube Video collapsing on Advertising Window.i want advertising Window to be opened over video so end user can close advertising & watch video.need your help as early as possible.

Member Avatar for almostbob
0
107
Member Avatar for Aestter

I've been trying all day to make an executable from python file using pygame too. I was doing okay until it got to the mixer module which is where it failed quite epically. I then searched the web a bit and came up with this as it was on the …

Member Avatar for Aestter
0
596
Member Avatar for manish.nankar
Member Avatar for manuhar
0
84
Member Avatar for killdude69

Dear DaniWeb, I am working on a source code editor using Scintilla and am currently having some issues with the CreateFile() function. It does not return an error when I am saving as a new file, but when I am saving changes to the current file, it returns INVALID_HANDLE_VALUE. I …

Member Avatar for Yiuca
0
4K
Member Avatar for killdude69

This is a very simple problem, but for some reason I can't get it to work. I need to empty a variable ( char fileName[MAX_PATH] =""; ). It needs to be to where when I use this that it sees if it equals "", this wont work if it equals …

Member Avatar for killdude69
0
383
Member Avatar for neutralfox

Hello guys, Actually I am working on a software in .NET. The software objectives is to search for all music files in a specifies directory or the whole computer and display the files names in a list box. But the problem is with the directory. How can I used .Net …

Member Avatar for Teme64
0
303
Member Avatar for Daria Shmaria

I'm trying to traverse to the end of a linked list, but I get a segmentation fault when my while loop checks to see if the "next" pointer is null. Any suggestions on how to perform this check without causing a segmentation fault would be greatly appreciated.

Member Avatar for ArkM
0
460
Member Avatar for abhishek2301

Hello, I need to implement the following situation in C++: I have a counter which I want to increment with a certain probability. I am giving a pseudo code which will clear: counter = 0; prob = 0.5; for i <- 1 to 100 if(prob) // want to increment the …

Member Avatar for ArkM
0
140
Member Avatar for Ameerah

Hi for ever can any one help me [COLOR="Red"]only give me idea[/COLOR] of this question Write a program that reads from a file list of unsorted names and sort the names automatically and then asks the user whether he/she would like to print the names in the output screen or …

Member Avatar for ArkM
0
199
Member Avatar for gretty

Hi I am making a program that takes in a date (dd mm yyyy) & returns the day of the week(eg monday) of the input date. My problem is that my fuction [B]day_of_week[/B] is not returning the variable [B]dayString[/B] into main. So dayString is not being output in main. Any …

Member Avatar for ArkM
0
129
Member Avatar for dip7

Hi i would like to insert pic using a code. for instance, when i click on a button, picture1(.jpg) will appear on a form. however, when the picture1 at a location is replaced by picture2, the c# application will also change to picture2. Is it possible to do so? I …

Member Avatar for mlady
0
120
Member Avatar for SergioQ

Does anyone know of a decent Geo Ip Tool locator? I used to use GEOIPTOOL.com. It appears to no longer work. Have tried some others, but nothing was as close as the one above. Not even sure where to ask this, this was my best guess. Sorry if I'm in …

Member Avatar for wilson2
0
188
Member Avatar for sunilsinha

Hi all, How can restrict images for not storing in browser cache. Or in another way how can we delete browser cache files programitically. I have tried header in php. Also i tried Cache-Control of meta tags, but still images are cached and even it update image, browser is showing …

Member Avatar for digital-ether
0
289
Member Avatar for elanch

Dear All, I have done a project in VBasic 10.0 for our product Design. Unfortunately the program was deleted while re-installing the OS. However we have managed to retrieve the files by using File Recovery software. [U]But now the .EXE file is working but the Vb program file is corrupted.[/U] …

Member Avatar for Jupiter 2
0
163
Member Avatar for adaykin

Hello, I am trying to completely remove everything from a table. I want to delete all of the rows which I am able to do. But when I delete all of the rows and add rows in again there is whitespace at the top of the table and I can't …

Member Avatar for adaykin
0
221
Member Avatar for Carrots

Hi, Hoping someone can tel me where I'm going wrong, or what I should do. I'm trying to use some pure virtual functions on some polymorphic classess but am unsure how to do it correctly. Hiopefully this code will explain it a bit better: vehicle.h : [code=C++] using namespace std; …

Member Avatar for Carrots
0
192
Member Avatar for squeegee

Hello I've moved from graphic designer to static site builder and now want to begin exploring dynamic sites. I'm on a MAC and would like to use FileMaker Pro as my database app. Any comments? Thanks

Member Avatar for Bellezzabacher
0
243
Member Avatar for VernonDozier

I have what I thought was a straightforward program. [code=Perl] #!/usr/bin/perl -w use strict; $a = 6; $b = 9; $c = 7; print $a . "\n"; print $b . "\n"; print $c . "\n"; [/code] I assumed this would display: [code] 6 9 7 [/code] and it does when …

Member Avatar for VernonDozier
0
219
Member Avatar for anna05

[code=php]<?php if ($_SERVER['REQUEST_METHOD'] == 'POST'){ $getLima=$_POST['Onoma']; include "connect.php"; $rsSelectOnomata=mysql_query("SELECT * FROM titloslimmatos WHERE LimmatikosTypos='$getLima'"); //$result=mysql_query($query); while($rsRow=mysql_fetch_assoc($rsSelectOnomata)) { echo $rsRow[titloslimmatos.LimmatikosTypos]; $rsRow[titloslimmatos.MerosLogoy]; $rsRow[titloslimmatos.YfologikoEpipedo]; $rsRow[titloslimmatos.GlwssikoEpipedo]; //$rsRow[extralimmatikoitypoi.ExtraLimmatikosTypos]; //$rsRow[extralimmatikoitypoi.YfologikoEpipedo]; //$rsRow[Simasia.XrisiLeksis]; //$rsRow[synonimo.Synonimo]; //$rsRow[synonimo.Example]; //$rsRow[antitheto.Antitheto]; //$rsRow[antitheto.Example]; } } else { ?> <html> <body bgcolor="#FFFFCC"> <h3><center><b>Δώστε το λήμμα που ψάχνετε</b></center></h3> <table> <form method="post" action="<? echo $PHP_SELF ?>"> <input …

Member Avatar for anna05
0
202
Member Avatar for momohyder

hello , I am creating a bot ( for personal use ) to automate posting to my website . I have used the webbrowser control and i have managed to send data to the webform using the follwing code : [CODE=vb.net] Dim elm As System.Windows.Forms.HtmlElement For i As Integer = …

Member Avatar for momohyder
0
143
Member Avatar for jonnytabpni

Hi folks, I have written 2 applications on my till running windows 2000. One is an epos system and the other is a "driver" which parses the text from the touch screen and moves the mouse accordingly. I'm having a very strange issue. I have recently added network functionality to …

Member Avatar for jonnytabpni
0
116
Member Avatar for gstang95gt

I am new to Java, I am six weeks through a nine week class. I am having problems extending a class in my program. My assignment is as follows: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product …

Member Avatar for gstang95gt
0
161
Member Avatar for rtwister

it keeps saying theres an error on line 17, it says: "no match for 'operator!=' in 'a != password'" [CODE] #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { string password; cout << "Type in a password: "; cin >> password; char a; a = 'A'; cout …

Member Avatar for tux4life
0
135
Member Avatar for Behi Jon

Hi . What is the problem of this : template < typename B > ostream &operator << ( ostream &out, const Array < B > &a ) The compiler say "Link error" and ...

Member Avatar for Ancient Dragon
0
187
Member Avatar for sonia sardana

hey frnds, I want to add all the favorite names & its URL in litsview.I m able to get favorite names but not its urls. Can somebody know how to get URLs. Code below gets the favorite names- [code] Private Sub GetFavorites() Dim di As DirectoryInfo Dim lPos As Integer …

Member Avatar for sonia sardana
0
202
Member Avatar for Black Magician

I am considering beginning a project involving creating a program that reads RGB values from the current monitor display and compares it with a hardcoded RGB value. I will run a Playstation emulator (a separate program) and then I want to compare the pixels from the game that it is …

Member Avatar for William Hemsworth
0
135
Member Avatar for bufospro

Hi all, I use a form to contact with an user and then I need to send data in my e-mail My code is : [code] $myemail = "a@hotmail.com"; mail($myemail, $subject, $message, $from); [/code] But when I run my site I take this warning mail() [function.mail]: "sendmail_from" not set in …

Member Avatar for Josh Connerty
0
96
Member Avatar for lalomoreno

I'm kinda new to PHP and I'm trying to copy information just passed into one table, and copy it to another, but I keep getting an error when I run the script. the code goes like this: [code=php]// populate the table with the values $query = "INSERT INTO zones (store, …

Member Avatar for Josh Connerty
0
158
Member Avatar for Abderian

I made a program in Visual Studio that reads an End-Of-File signal. When you run in the debug mode, sending the signal closes the program. Running without debugging with ctrl + F5 means you can send the signal. However, when I compile in release mode and run the exe it …

Member Avatar for Abderian
0
203
Member Avatar for daviddoria

I'm just starting python and it seemed reasonable to go ahead and learn the new version. I read that numpy wont be available for python3 until at least 2010. All I need is a basic "vector", "matrix", and some basic functions like matrix/vector multiplication. Is anything like this available for …

Member Avatar for sneekula
0
136
Member Avatar for Daria Shmaria

I am writing a program to compute the fastest/shortest path between locations (stored in a directed graph represented by an adjacency list). I am trying to create this adjacency list ("al") as an array of pointers to Vertex class objects, but I get the error " 'al' was not declared …

Member Avatar for Daria Shmaria
0
155
Member Avatar for ABabeNChrist
Member Avatar for MasterOfDevil

Hi, I dont sure that I am posting the thread to right place. I want to test user bandwith over an application that installed to user's computer. There are online test tools , but I must I need java source code for implementing to our application. Can anyone help about …

Member Avatar for Gasper11
0
63
Member Avatar for sifah

i want to validate the String entered wether it is a valid standard equation of [COLOR="Green"]conics[/COLOR] the standard equation is: ax^2+by^2+2hxy+2gx+2fy+c=0 some variables can be missed in input string but it should be of "degree 2" equation

Member Avatar for JugglerDrummer
0
89

The End.