199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kernel>panic

I made this program that should be very easy but it does not work. When I try to run it, it should take the price and add tax to it but it comes up with a crazy decimal number like: 7.74335e+268. What should I do I tried everything. I #include …

Member Avatar for JameB
0
139
Member Avatar for CFROG

I've been working on trying to solve the problem of calculating the average of a row of numbers in which some of the cells have a null value. I'm convinced there's no easy way to do this. I found an example on the net that I have been working from …

Member Avatar for CFROG
0
119
Member Avatar for sven1981

Hi,i am newbie is it possible for user upload the image(flower) and search for the same /similar image(flower) by using jsp/PHP and MYSQL? thanks:-)

Member Avatar for lordspace
0
78
Member Avatar for baula

Helo frndz, I'm a nob in c++....So, I want to know about default constructor. How to create? Why default constructor? How to create a no-arg constructor that creates a default triangle??...Plz help... Thnx...

Member Avatar for baula
0
94
Member Avatar for swinefish

Hey all I'm having a problem with invoking methods through my dispatcher. Not all methods, just the one. Here's the problem code: [code=c#] private delegate void oneArgDelegate(Chart arg); ...Do Work... c = new Chart(); ....Set some properties.... this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new oneArgDelegate(setGraph), c); private void setGraph(Chart c) { GraphArea.Content = c; MessageBox.Show("Graph …

0
296
Member Avatar for simplypriti

Hi all, I need information of a better Java hosting service (better in terms of performance, security, storage, reliability). I do not want to compromise with performance and reliability/security. So if any of you know such kind of service provider thn kindly let me know ASAP. It would be great …

Member Avatar for simplypriti
0
144
Member Avatar for puneet88

i want to make a project on "project distribution system for any company", for which i need to include database my problem is that where to start ...what to do ....?? can we make this online ..???

Member Avatar for lordspace
0
114
Member Avatar for swinefish

Hey all I've been developing in c# for a few months now, but to my shame have only recently started looking at threads. And now that I do look at them, I'm having issues... Here's a sample of my code: [code] private void cmdNext_Click(object sender, RoutedEventArgs e) { ... Thread …

Member Avatar for swinefish
0
133
Member Avatar for IFEEL

I know, I know, this seems like an uber beginners question and most likely is. I have had this error several times and always figured it out myself, but this time it won't. GetUserData() returns a void* [code] #ifndef BLABLA_H #define BLABLA_H #include "GameEntity.h" //class declaration left out for simplicity …

Member Avatar for IFEEL
0
98
Member Avatar for Slephnir

I am learning c++, below is an attempt at a simple XOR encryption program. I am am using Dev c++ (Blooodshed Ide) using the ming-gw win 32 gcc compiler blah blah. This code compiles without errors or warnings but it will not produce an 'exe' only a '.o' file, firstly …

Member Avatar for Salem
0
2K
Member Avatar for anumitadas
Member Avatar for VernonDozier
0
85
Member Avatar for anumitadas

Plz Help me to print in [B]java [/B] a b a b c b a b c d c b a b c d c b a b c b a b a

Member Avatar for VernonDozier
0
311
Member Avatar for Greatoutdoors

In Windows XP I have several files in this format: text-### ###.ext I want to change all of them to this format: text_###-###.ext So, I need to replace all dashes in the file name with underscores, and replace all spaces with dashes. I know there are apps for download that …

Member Avatar for prime1999
0
78
Member Avatar for mossman mudas

this is two questions: list the order of the threads. i am not sure of the answer but i have included my thinking, thanks. Thread State Priority threadA Runnable 5 threadB Sleeping 5 threadC Sleeping 5 threadD Waiting 5 threadE Runnable 5 ANSWER: A,E,D,B,C Thread State Priority threadA Runnable 5 …

Member Avatar for kvprajapati
0
133
Member Avatar for atch

Hi, I just wonder if this is possible: (semi-pseudocode (won't work as planned)) ofstream fout("my_file.txt"); fout << cout; Looking forward to your reply

Member Avatar for Narue
0
138
Member Avatar for MonicaClare

hi to all programmer... i have a problem about this program .. an error exist .. [code="java"] import java.io.*; import java.awt.Graphics; import java.util.Random; import javax.swing.*; public class midquiz 2{ // "{" expected public static void main (String [] args) throws IOExeption{ BufferedReader 9new InputStreamreader (System.in)); String name,pass,ans; String pass1="pOLOtAn"; int …

Member Avatar for puneet88
0
188
Member Avatar for red_dogexpress

i found this code online and im trying to get it to overwrite the original file instead of printing to screen but i have to admit its too advanced for me can anyone help please [code=cpp] #include <iostream> #include <fstream> #include <string> #include <vector> #include <iterator> using namespace std; int …

Member Avatar for kvprajapati
0
129
Member Avatar for ashish2234

Wt happened is just i have made a very simple menu driven programme and in that programme wen i use character not matching wid d switch cases , it runs twice...i want it to run once only..i know its becoz getchar(); but y??? [code=c] #include<stdio.h> #include<conio.h> void even_odd(); int n; …

Member Avatar for ashish2234
0
210
Member Avatar for tay1964

How i can know the DFD through a database which build by using Mysql? Anyone can help me solve this problem? Pls let me know asap, is very urgent for me.... :rolleyes:

Member Avatar for hireaprogrammer
0
104
Member Avatar for dwrakh

hi friends, am a student,pursuing my graduation in computer application... i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner …

Member Avatar for dwrakh
0
143
Member Avatar for suhasinishinde

Hi, hey i need a code to display the text of of runtime generated button in ascending order in windows application c#. example if i have buttons like ab abc asdfsd asasasasas how to get the text in regular order starting from left? thank, suhasini

Member Avatar for ddanbe
0
87
Member Avatar for shaneera

PLEASE EDIT this code if u can . this is my c++ Assgnment it is about reserving air tickets. if u can help me 2 insert delete & Edit a air ticket functions to the main menu please please please help me my friendz... I wz managed 2 save d …

Member Avatar for crunchie
0
198
Member Avatar for shahbaz5144842

hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a …

Member Avatar for shahbaz5144842
0
283
Member Avatar for tomtetlaw

Hi I am making a text game, and I have made up a basic framework. I have 2 questions 1) Sometimes, the python interpreter bugs out, like saying that I misspelt a variable 'Item' as 'item' even though I can see the correct spelling infront of me, and the only …

Member Avatar for Clueless86
0
175
Member Avatar for jayneben

Hi, I'm just learning to use C# for the first time for a university paper and for my tutorial I'm wondering if someone could please help me with figuring out how to start modifying the sort method so that it sorts the array of integers into descending order. My code …

Member Avatar for ddanbe
0
310
Member Avatar for amar_interface

hi........... i have try to create some dynamic control at run time in my application . but i cant handle it event or cant mantain its state. can any body tell me ?

Member Avatar for amuda.narayana
0
85
Member Avatar for fawadkhalil

Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in …

Member Avatar for demigod
0
273
Member Avatar for choybutchoy

hi guys, how can I retrieve the total record count from a database? I mean is there a method like "rst.recordCount"? or whatsoever? thanks...

Member Avatar for choybutchoy
0
129
Member Avatar for muktidaniweb

Hello, I have a menu.jsp included in all the jsps. When I click a link in the menu it calls the respective page and the menu.jsp is also refreshed. I want to write a java script to highlight the menu link that was clicked. But since the menu jsp is …

Member Avatar for shahbaz5144842
0
144
Member Avatar for mcco1

I have a text file, for example: [code]This Is A Text File[/code] This file is on some host. Now I want to get the file to my program, my problem here is, that I found how to save the file(download) but that's not what I need.. I need it to …

Member Avatar for zautner
0
122
Member Avatar for selsium

hi folks, I have some 247 warnigs are same type warning C4996: 'fopen' was declared deprecated I am using makefile to compile my cpp program in Visual studio 2005. I have added _CRT_SECURE_NO_DEPRECATE in preprocessor definition too. but still I do get the warnings . Could anyone help me?

Member Avatar for selsium
0
2K
Member Avatar for Divinginthesky

I am able to generate the output file but it does not execute. This is what I do: g++ program.cpp -o program then I can see the program as the output file but when I type program it says: It says bash: program: command not found. So, what am I …

Member Avatar for zautner
0
107
Member Avatar for catboytm

Right, so I'm fairly new to C and have worked in several high-level languages for a few years. Now I've been able to google and work with what I could find, but I have a few questions now. I'm working on a DLL that outputs information. Now I can store …

Member Avatar for shric
0
145
Member Avatar for MarrkoR

Hi, I have problam whit jquery. Whit IE work everything OK(work fine), but whit Mozila or Opera i have problam: Hirs function "sec" work, fine, but secont in file index2.php "sec3" don't. index.php [CODE] <html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function(){ var sec = setTimeout(function() { $('#sec').load('index2.php?id='+ Math.random()); }, 1000); …

Member Avatar for hengzhe
0
99
Member Avatar for nagarayan

Need help guys! my problem is i cannot store file data into an array of structures. I can already read the file data and also tokenized it so as to separate data. here is content of the file that i am reading: 200001, hamburger, 30.50 100000, cheeseburger, 21.00 the name …

Member Avatar for nagarayan
0
2K
Member Avatar for Aiban

Hello Everyone Thanks for the message of welcome in a previous post. I have many questions but i have sleected this one as it represents my favourite piece of not working code (hahaha) but it has been studied and altered so i got this bugger working .. mostly . Explain: …

Member Avatar for Aiban
0
10K
Member Avatar for apollokid

Hey All im kinda new with javascript and I have a lil script made but need to add to it but kind of lost on what to do. Its a gallery that works fine but i have a part where there are two images a before and after. one image …

Member Avatar for essential
0
142
Member Avatar for SKANK!!!!!

i went to tizags ajax mysql tutorial(how to update mysql with ajax) i dont understand it seems like that example is wayyyyy too long i cant comprehend it it makes no sense. does anyone know of a good way to explain to me how to update / insert a value …

Member Avatar for essential
0
149
Member Avatar for abu taher

which procedure I write this code: option1.value = true then text1.enable = true else text1.enable = false

Member Avatar for abu taher
0
142
Member Avatar for jgallow

Here is what I got and maybe this will help. In example 1 you are on the company page which shows that company and some information that is needed for this company. The bar that runs about in the middle accross that will have links for CONTACTS - JOBS - …

Member Avatar for timothybard
0
187
Member Avatar for bei

Hi all, anyone know how to extract data from a web database. For example, how can I extract movie information from [url]http://www.imdb.com/[/url] into a relational database? Is there any existing tools to do this? Or need I write some codes? Thanks a lot!

Member Avatar for Jennifer63
0
4K
Member Avatar for _dragonwolf_

I am having to write a program that has a user-defined class. In this program I need to convert an INT to a STRING. For example, if the program reads in the date "7/17/2009" it will need to be converted to "July 17, 2009", where all it does is take …

Member Avatar for _dragonwolf_
0
166
Member Avatar for FTProtocol

Image of my problem [url]http://i31.tinypic.com/2v3ivyq.png[/url] Left = Actual notepad.exe opened in notepad Right = what i get after i read/write. Goal - Be able to store notepad.exe between to splits and then when the application that is houses the bytes is run, it reads those bytes and saves them. I …

Member Avatar for sknake
0
248
Member Avatar for Zurompeta

Hi all, Having an issue with "selectedIndex" (for a select field). Basically I'm creating XML code via a server-side PHP file and retrieving this code through AJAX. Once I retrieve the data, I'm placing it in their appropriate fields. This is the XML output: [CODE='XML']<response> <data> <row> <item>ProductEight</item> </row> <row> …

Member Avatar for Zurompeta
0
101
Member Avatar for fuggles

What is the best way for me to send and int[999999] accross a socket? When I just plug in the pointer to the array I get this error: [icode]Error 1 error C2664: 'send' : cannot convert parameter 2 from 'int (*)[999999]' to 'const char *'[/icode]

Member Avatar for wildgoose
0
113
Member Avatar for Alex!

Hey Guys. I've been given a Major for school where I have to create a Mathematics program in Python. The problem I am having is that If i try to set up a canvas with a background image, the buttons will not show any more!? the second problem I am …

Member Avatar for vegaseat
0
117
Member Avatar for Sharif Lotfi

Hello I need to connection beetween VB.Net 2003 and Excel 2003 and use excel 2003 object I add Excell 11.0 Library to my project and write this code : -------------------------------------------------------- Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet xlApp = CType(CreateObject("Excel.Application"), Excel.Application) xlBook = CType(xlApp.Workbooks.Add, Excel.Workbook) …

Member Avatar for kolstedt
0
297
Member Avatar for pete08

Hi, can anyone help me on this. I'have put pictureBox in panel, with image loaded into pictureBox. When scrolling, I want to load another pictureBox on certain position within panel, that will be displayed along original pictureBox. I'm having trouble with this.

Member Avatar for pete08
0
422
Member Avatar for ROTC89

ok so i am trying to make a program that is able to viewed on the web using mysql and php together. i have to show a little icon or something saying would you like to view the listing you submitted. this is my program but i keep getting a …

Member Avatar for ROTC89
0
113
Member Avatar for Alpdog14

I am very new to XML & XSL but I know there is a way to build blog aggregators. I have a XML document that pulls the blogs in with the URI: [CODE]<?xml version="1.0"?> <!DOCTYPE feeds SYSTEM "feeds.dtd"> <feeds> <feed name="Mary Rose's Blog" provider="Blogabond" spec="rss" version="2.0" uri="http://www.blogabond.com/rss/rss.aspx?UserID=7835"> <keyword name="meow"/> </feed> …

0
233

The End.