199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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:-) | |
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... | |
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 … | |
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 … | |
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 ..??? | |
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 … | |
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 … | |
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 … | |
Plz help to print ******* **1sp** * 5 sp * **1sp** ******* | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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; … | |
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: | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ? | |
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 … | |
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... | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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); … | |
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 … | |
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: … | |
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 … | |
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 … | |
which procedure I write this code: option1.value = true then text1.enable = true else text1.enable = false | |
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 - … | |
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! | |
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 … | |
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 … | |
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> … | |
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] | |
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 … | |
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) … | |
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. | |
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 … | |
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> … |
The End.