199,114 Archived Topics
Remove Filter ![]() | |
I have a program that reads from a file, but for some reason it never reaches the end of the file or something, because the loop never ends. I put only 2 lines of text in the file, and a loop like this still ran infinite: [code] while (! my_file.eof()) … ![]() | |
Good day to everyone! :D Anybody could give step by step PHP code or explanation with examples of how to get the information to other page. For example my main page is index.php inside of it I have three links to the following PHP files: roland.php, haydee.php and ricky.php. Now, … | |
<html> <head> <title>frame and button</title> <script language="Javascript"> function sho(form) { document.writeln("click click boom!"); alert("clicked!); form.tex1.value="abc"; } </script> </head> <body> <form name="cosine"> <input name="tex1" type="text" value=" "><br><br> <input name="button1" type="button" value="click" onClick="sho(this.form)"> <input name="reset1" type="reset" value="clear"> </form> </body> </html> | |
below is my external javascript code and testing page. for this im just using settimeout to loop increment and write out a value. on the first loop everything works corrrectly. on the second loop everything gets erased and only displays the text i wrote. i can run other scripts fine … | |
Is there a way to make a MFC application have Network capibilities without using windows sockets? If so, anyone know of a good tutorial? | |
I have an edit box, with its settings as "multiline", "want return", and "vertical scroll." All I want to do is to have new lines between each output line. However, I have tried "\n", which did not work. So, is there a way to make them have line breaks? | |
My new PC is eMachines3260, it has an HPdeskjet 3840 printer, it has windowsXP pre-installed by the supplier. The old PC had windows98 and its printer (HP deskjet 695c) is now US. Qbasic was installed on the old PC by its supplier, I have no software disc for the Qbasic … | |
I was wondering is there a way you can create a small operating system that can fit into you floppy disk? :surprised | |
Hi, I want to fill data from database on the webpage. There's no problem with reading the data, filling the menu and so on, but I want to put the text & pictures in the article and this is a real problem :lol: Is there some component (like panel or … | |
Hello, I'm currently creating a PlayList for a media application I am working on. I'm using a JList as the GUI object for the PlayList and a DefaultListModel as the storage area to be held in the PlayList. I was hoping that if I was to pass a DefaultListModel object … | |
I have got this code, which am trying to display it in white writing. I could get the first part in white but couldn't get the variable ($HTTP_SESSION_VARS['items'] to come up in white. echo '<font color="#ffffff"><b>Total Items = </b></font>'.$HTTP_SESSION_VARS['items']; I have also tried the code below but got an error … | |
I'm trying this: char info[50]; myfile.getline(info, sizeof(info) ); double my_double = atof(info); It seems to work, I think, but I'm getting an error when I try to print out the double. It says no matching function for ostream& << &double. Can anyone help me with this? | |
I have made this program which im really certain would work, it compiles with no errors, but runs continuously after getting the name of the output file. The program takes a loads of names each with 12 numbers, gets the name using getline, and puts the numbers into an array. … | |
Hi guys, im just a begginer in visual basic and im looking for someone who could help me with our school/group project.. in some cases we have been appointed to make a clock using visual basic that ring or alarm every point of the time assigned. For example, every Monday, … | |
i want to write a vba macro that read the bookmark name on a selected place in word document. | |
In my asp.net c# web app. I have 10 text feilds. I want to avoid duplicate same value in this text feilds. how I can do this using javascripts. :cry: | |
I have a little problem with the commondialog. I can select the files what i need but now i want them to put them in a table by click on a butten while i have one file selected but i don't know how i have to do this does somebody … | |
Salam n hi there! one simple question...what is the best tool to schedule tasks using Gantt chart.I mean,obviously Gantt chart,task network n all can be drawn using various softwares such as SmartDraw, MS Project etc,but what is the best software to use?I used MS Project and a friend used SmartDraw..since … | |
I am working on a seat selection page for an ASP.NET school project on movie booking system. I have created the seats using buttons (A1, A2, A3) etc. When the user click on the button, the button colour changes and the user finalized the payment. I have an issue here. … | |
Hi, after searching a lot , i got IDE SPE........ link for SPE [url]http://stani.be/python/spe/page_download[/url]........ but giving some problem........ my system is fedora core 4 ..... | |
hey yo's, i pretty much understand this function, except for the return value. i know that [I]string , string[/I] concats the strings. but what does the comma in the middle do when you have 2 different objects on either side as in the return value below? [CODE]def load_image(name, colorkey=None): fullname … | |
I am final year student. I am going to do the projet in visual basic and oracle in IVRS. i want the details of ivrs and how to record the voice, how to get the response with keypress without using any trial version software. i didn't have much knowledge in … | |
Hi, I've had a website built for me using asp and mssql. Im getting errors relating to the date format in queries being submitted. The asp is trying to insert dates in format dd/mm/yyyy, but after testing my mssql server is expecting the dates in format yyyy/mm/dd. Is there a … | |
Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a second error (please understand that there have been many before this that I [I]have[/I] … | |
hi everyone!! I am a final year student doing software engineering.. I need help on my final year project. I am interested in music. i have an idea but i am not sure it can be finished in 7 months time or not. my plan is a sheet music reader. … | |
I am using Visual C++ 6.0 and am getting, "error C2447: missing function header (old-style formal list?)" The code is: #include <stdafx.h> { int main (); printf("Fuck off Asshole.\n You suck. \n Bit Me Dickhead\n"); return 0 } I cannot figure out what is going wrong. ![]() | |
why i got this error??? Is my java installation wrong? Exception in thread "main" java.lang.NoSuchMethodError:main press any key to continue............................. | |
![]() | Does anyone know of a college in Georgia that offers a complete online BS in Game Development or Computer Science? ![]() |
here is my problem main.c:17: error: parse error before '{' token main.c:27: error: parse error before string constant [CODE]#include <stdio.h> #include <c.h> #include <math.h> #include <ctype.h> #include <time.h> #include <stdlib.h> #include <string.h> #define kmll 200 #define Kzll 0 int myint,any,go; int main (int argc, const char * argv[]) { (myint, … | |
If i have a set of numbers: [B]48098, 50933, 3128, 323, 42, 5[/B]..etc how can i convert them into integers? I have an example of a code ([I]see below[/I]) that will convert one number, not the whole set. So, im having trouble trying to convert a set of numbers seperated … | |
Hello DaniWeb, . I was hoping someone could help me with a portability issue. . I've created a jar in JBuilder Foundation 2005. Said jar executes successfully on computers Alpha and Beta, but not Cimarron. When I double-click on the icon on Cimarron, a small black window flashes up and … | |
hi I was wondering if i build my instant messenger using jabber protocol how different would it be from simply building it with pure java? thanks | |
I have a problem in conveting binary to decimal and decimal to binary conversions and i have the due date today | |
Am not too sure what this code does can someone help me please? I know it starts a session but what all that xtra validation? // start the session session_start(); if (!get_magic_quotes_gpc()) { if (isset($_POST)) { foreach ($_POST as $key => $value) { $_POST[$key] = trim(addslashes($value)); } } | |
I have encountered a couple of problems: a. I need to convert a string of numbers seperated by commas into integers. I have had help before today and know how to convert one string (thread was posted today). But I dont know how to do a simpler version of it … | |
Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a strange error: [CODE]#include <string>[/CODE] That links without error, but when I try to use … | |
Hi guys, Most of the codes for my Java applet is done. But I couldn't figure out how do we actually convert a hand written maths formula into java programming's syntex. Any advice and guides on this? Or what keywords u use to search the internet to find such things? … | |
I have somewhat of a weird problem which probably is caused by my compiler, but when I include <fstream> some of it's members cannot be found back in the std namespace. When i use <fstream.h> these methods are availabe. The methods are ios::nocreate and ios::noreplace, anyone who has had the … | |
I'm having a problem with getting info from a county government site that uses a Java applet. I'd appreciate any help in solving this information retrieval issue, as the people I talk to at the county don't seem to be very technically literate, although I'm probably not either. To verify … | |
hi! I'm messing with the new Visual Studio 2005, and I'm totally loving it, but there is something that is driving me nuts. In 2003, if I was working on a form, and double clicked a control it would create a handler and shoot me to the code view. I … | |
Could anyone look at this and tell me if I got it right? I had to rewrite the following code without GOTOs: [CODE]Y: A B if a GOTO X C if b GOTO Y X: D[/CODE] Here is my solution (I added an additional flag to get it done): [CODE]i=TRUE … | |
Is there a way in C++ to deal with this? (a way to force that a boolean is strictly a boolean and cannot be converted to another numerical type?) line 42: Error: Overloading ambiguity between "MultiLog::writeLog(const long&)" and "MultiLog::writeLog(const bool&)" | |
anyone have any idea? i need some suggestion urgently :sad: | |
Does anybody know the limit of nested for loops in C or C++? If there is a limit, what is the reason? | |
A script to edit log files, it can remove the username, UID, a specefic string, remove logs and remove the netinfo backup, it's not working. [CODE]#!/bin/bash remove_logs() { find -f /var/log -f /Library/Logs -f /Users/*/Library/Logs \! -iname "*.gz" \! -name ".DS_Store" | while read file ; do sed -e "s/${USER_ID}//g" … | |
Hello ladies and gents, I was trying to write a small example of a pointer to a two dimensional array like this after looking up how to write the syntax at Narue's Et.Conf. world like this: [code] #include <iostream> #include <iomanip> void array(short (*myArray)[4][4]); using namespace std; int main() { … | |
Hi, I have made the necessary changes in the web.config so that I can get to the security Tab for the ASP.NET configuration. The new error when trying to go to the security Tab is: The following message may help in diagnosing the problem: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. … | |
Hi All, I have problem in manipulation data grid. The datagrid contains dynamic number of columns, and there is possibilty of the datagrid to be longer than the browser's viewport. Users/clients will need to scroll horizontally, This can make user to loss track of the other part of the datagrid. … | |
Hi I have this little app in java that looks like that : [IMG]http://img399.imageshack.us/img399/2046/wardrobe6cd.jpg[/IMG] Its a JFrame a ScrollPane inside and a JTable in it. I'd like to have an image displayed uder the table but I have no clue how to do this (I'm a begginer whit java) the … | |
Hi all... I have a query here... Is it possible to open another software application in runtime? My situation here is that I have some .dat files which has the data points for plotting a 2-D graph. I have heard about Tecplot as a great graphics renderer especially for simulations … |
The End.