199,114 Archived Topics
Remove Filter ![]() | |
Hello everybody, I am wanting to use a javascript confirm popup (OK returns TRUE/Cancel returns FALSE) to determine whether I need to run part of my PHP code. I could only think of one way to try, and this is it: [code]echo "<script type=\"javascript\"> var popbox = confirm(\"Are you sure … | |
hiii every body. well i am a new member . well my problem is that i am a first year students and obvoisly i am studying c++. but i got an assignmet to do. i still not writing the code and i need help as soon as possible . please … | |
I had created one project using Ms access as backend.I have four forms in it.I cant able to create exe for that project.When i click make exe it is not responding(when i click the task manager it displays that not responding.im using xp os).Can some one help me pls....:sad: | |
Decided to start my own thread rather than hijack thread "Sorting" I followed ghostdog74 advice and used module re to extract numeric strings: [php]import re data_raw = """[20] [ 35+ ] age = 40 (84) 100kg $245 """ # use regex module re to extract numeric string data_list = re.findall(r"\d+",data_raw) … | |
pls any one hv project using jsp and sql pls post the projects......... | |
Hi all, I need your help! I am developing a we-based system using PHP that will check if a student passes or fails his exams. The exam results will be in an excel docemuent (.xls). Student should key in their student ID in the system via their web browser; the … | |
Hi all , I'm having problem during parsing xml files using DOM API due to whitespace characters. Here is my sample XML File ,coding and output : XML File : [code]<demo> <empid>e100</empid> </demo>[/code] Coding : [code]import java.io.*; import org.w3c.dom.*; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; class demo{ public … | |
I am working on a struct. The two requirements are for the user to be able to input an entry and then view it. I have two questions, when entering the data shouldn't I be able to enter spaces when entering the address i.e. 654 smith st and store that … | |
I need to convert a code having arbitary number of nested loops using tail recursion. can any one provide me its solution in c/c++. For example: [code] for ( int a = 0; a < 3; a++ ) { for ( int b = 0; b < 3; b++ ) … | |
hi everbody.. its really a challenge to write a virus program but eventually we should not harm anty bodys computer.. we should learn virus programming becoz we can write an anti virus for it. if we know how the virus programs are written and defnitly we can built an anti … | |
As you probably have already read, i am new to c/c++. I have a simple little question, as i am not sure what happens in c/c++. If i were to start using Visual C++ Express 2005, would some of that knowledge work with something that is not visual? I know … | |
hey everyone.. Im new to this website and I really like it a lot:p I would like to ask you please to help me with the following assignment.. OC Transpo is doing a survey of its service. They have had somebody record the times at which #95 busses pass the … | |
I am going to start off with Java, already knowing C/C++ So i needed to know which compiler should i download for the purpose of programming on Java ( for the Windows platform). (which consists of the editor, compiler,etc.) I need something i can download from the internet like Dev … | |
How can I run some code when I click on an arrow of a data control? | |
The code below works for the first question (first half of the code), the program then proceeds to the second questin, but it never stops to await the answer. I can't seem to figure out what I'm doing wrong? Thx [code] #include <stdio.h> using namespace std; char answer; int main(int … | |
Hi everyone, I am making a quiz using forms. The user answers by clicking on radio type buttons e.g. [code]<input type="radio" name="question1" value="whatever1"> <input type="radio" name="question1" value="whatever2"> <input type="radio" name="question1" value="whatever3">[/code] I collect the answer on the second page using something like [code] $answer1=$_POST['question1'];[/code] Now the problem: If the user … | |
I have a question: I create a file named "number.inp". This file has a row of numbers: 5 4 4 3 3 3 2 note: 5 is the first number, haven't any space or char in front of 5 [CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> main() {clrscr(); int ch,v[10],count=0,i=0,j=1,n=0,a[10]; FILE *f; f=fopen("number.inp","r"); … | |
I wanted you people's point of view on this project I made in C++ sometime back...I would be glad to recieve comments from anyone and everyone...Pls do check it out...So that I can know the quality of my project | |
Hello everyone. Is it allowed to have a "use" statement inside an eval that is compiled separately to the enclosing program (i.e. eval EXPR, not eval BLOCK). The reason I want to do this is, I have modules of code that I don't want to be compiled every time my … | |
I keep reading threads here, some use the Tkinter GUI toolkit and others use the wxPython GUI toolkit. Why would one use one or the other? | |
:!::!::!::!: I have an Assignment and Iam very new In [COLOR=DarkRed][U][B]JAVA LANGAUGE [/B][/U][/COLOR] , Anyways I need some help if someone can help me i will be very thankful, really i need it !!! :?: I need a code in Java , that maked a [U][B]SMall[/B][/U] program , that let … | |
Hi i am facing this problem, please help me in my korn script ------------------------------------------------------------- export $job_ids echo "#Message creation" >message-typing.typ chmod 777 message-typing.typ echo "orderParser:1:999:210:T" >>message-typing.typ echo "*REQUEST=FLOWTHRU;[B]JOBID=${job_ids}[/B];OLD_DD=20050629000000;%" >>message-typing.typ cat message-typing.typ ------------------------------------------------------------- Now the job_ids is a variable consisting of job id, and if u see i have exported this … | |
I have already turned this so my grade will off anyway but I just need to know. I cannot get the right figure for this calculation, here is what I have and it gives me the wrong calculation of 7178. when its supossed to be 1167. Any help would greatly … | |
[COLOR=#000000]Hello everyone,[/COLOR] [COLOR=#000000]I wish to develop an application which can be downloaded from WEB to user's PC (With the KNowledge of the users) and then it creates some soft of interaction with the hardware device of the user's computer. I basically wish to know when the CD/DVD player has been … | |
Would you be so kind and tell me what does ^ symbol mean in definition of object, example: [code]class ^Object[/code] Thanks in adv | |
hi!! i need the code for 32 bit multiplication... The numbers are in IEEE 754 and it won't be needed to deal with over and underflow cases, and when the exponent is 0000000 or 11111111. thanxx in advance ;P | |
--------------------Configuration: <Default>-------------------- C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ 2 errors how come i cant cast a char on a set??? it works well with … | |
i have written a small application in vb, and i want to write a installation program, so as if we click on setup file my application should start installing, and even i want to detect other hard drives that exsits on the system and want to copy the application backup … | |
O.K. Ive compiled my program for debugging. I really don't know where to start looking. My program consists of two blocks of source code (Robotmoves.cpp and Character.cpp) and one header file (Character.h) Once I have compiled and attempted to run the program the error tells me my Robotmoves.EXE had triggered … | |
I'm doing an individual final year project using IBM Aglet, JRun and J2ME. The topic is "Mobile agent shopping system", better with some theories. I have no idea about what types of application should be done. Initially, I intended to build a system for the customers to search for the … | |
In python if I divide 6/3 I get 2, that's fine. But I divide 6/4 and get 1... Why aren't I getting a decimal? I would like to know because I want to make something that can detect wether or not a number is whole. (I need help with that … | |
Hi all, I have download Apache POI(2.5.1) to convert a Excel file to XML using NetBeans5.0 . After Unzipping i got three Executable JAR files 1.poi-2.5.1-final 2.poi-contrib-2.5.1 3.poi-scratch-2.5.1 Please tell what steps i have to do to install it (or) just it's enough to just point out that JAR files … | |
Hello all. I have been trying to run a program on my VC8 compiler which incorporates the Allegro enviroment. It enables users to move a small robot.bmp image around the screen by using the arrow keys. Problem is I get my main window up and first animation frame displayed, but … | |
Hey all, I'm trying to split a string of characters and after a day of trying every possible way of splitting a string into groups of 7, I'm still hopelessly stuck! Bascially, the user enters/pastes a string into "txtArea" (the first text box), then click an encrypt button... the program … | |
Hello everyone. I am currently working on the HTML / Javascript front end of a web forum system (perlBB). I have a couple of questions that would I would like to ask. 1. Is the way to include an external javascript file in a page like this? [code=HTML] <head> <link … | |
Hi everybody I am trying to develop an application, in which i want your help and suggestions. I have a master page and many content pages. I want to write a javascript function in the master page script, and call that function in body onload. I have a field in … | |
Hi all! I have some biginner question: I've started to learn C from the Kernighan&Ritchie book, using Pelles C compiler. Why this code (from the book) dont work: [code=c] #include <stdio.h> /* count characters in input; 1st version */ main() { long nc; nc = 0; while (getchar() != EOF) … | |
Hi guys, I'm working on a website to promote an upcoming movie. I'm telling you this so I'm not shunned when I tell you i need help, possibly with a myspace issue, I'm not sure. Anyway, I inserted a song from the movie, using a simple embed code. [code=c]<embed src="URL" … | |
Hey, I am in the process of writing a program that stores a integer entry into an array where each element in that array directly corresponds to a date on the calendar for that month. I think I have my code working, or at least almost working. My problem comes … | |
Hello everyone i m having three swings textboxes mm.dd.yyyy i want a simple code for validating date & leap years plz help me | |
hi all, i want to know about simple java concept, public class Operator{ //this is a bean class and there is a method to insert object of this class, into the database. public int saveObject(Operator _operator){ //here are codes for insert the given object in the database. }//end of the … | |
hi, i need to insert a character in a certain text file. i cannot change the original files so i have to work with that, luckily the files are written in a way that at the end of every second line a semicolon ; has to be inserted. How can … | |
hi experts, i'm new on scripting on sun solaris 8 sparc, need some advices. i have some data in a file like : 20061221 163826.485 20061221 163925.144 058.659 6123456789012 00000E8A 047 08 002 465 00010022 510105642138069 20061221 163915.163 20061221 163925.336 010.173 6123456789012 00000F4F 037 02 002 999 00010022 510103242202784 20061221 … | |
hi may be i ask this question befor but i did not get a good reply. i want a socket library that help me to send and recieve packet and deal with them simply like PacketX library. but the problem here is that the application that i want to write … | |
im writing a program that opens a file, reads until it arrives at a colon, then jumps over the colon and reads the number after the colon the txt file contains pi:3.14159 feetPerMile:5280 0FinDegreesC:-17.8 Count these words:3 Space before number: 2.0 What about comments: 6.024e23 so i want to skip … | |
I have seen that writing anything after the completion of any pre-processor compiler directive does not affect either compilation or running of the program. i.e. #include<conio.h> 123as!#@ #define M 100 *&^asdf is perfectly valid. How can such athing happen ? | |
hey friends, I m in a process of automating Sudo test plan, where i need to invoke another shell within a shell automatically, then need to append a line into that script in sub-shell, then save it and quit from it..all automatically. I m able to do evrything but not … | |
My Question is 1. Can Macromedia Flash MX *.swf file or animation created in Flash MX publish in ASP.Net page, i know HTML is able to do so BUT is ASP.Net able to? 2. If it is, is there any online tutorial for me to learn? Thank You. | |
Why won't the 'luck' function get executed? Pasting the code of my tutorial in my compiler creates the exact same error as the little test code below: 'luck' undeclared. First use this function. I use dev c++ Thx ;) [code] int main() { printf("hellow (printed in main)\n"); luck(); return 0; … | |
The End.