199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mbacon

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 …

Member Avatar for theonlydrayk
0
102
Member Avatar for ameeroman

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 …

Member Avatar for WaltP
0
345
Member Avatar for sydryz

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:

Member Avatar for ~s.o.s~
0
122
Member Avatar for bumsfeld

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) …

Member Avatar for bumsfeld
0
1K
Member Avatar for scy
Member Avatar for jwenting
0
70
Member Avatar for dbismo

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 …

Member Avatar for mbacon
0
111
Member Avatar for parthiban

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 …

Member Avatar for jwenting
0
238
Member Avatar for SHWOO

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 …

Member Avatar for disc
0
110
Member Avatar for tgmtgm1

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++ ) …

Member Avatar for VatooVatoo
0
379
Member Avatar for shiman999

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 …

Member Avatar for Ancient Dragon
0
81
Member Avatar for Marks256

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 …

Member Avatar for WaltP
0
146
Member Avatar for Noora

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 …

Member Avatar for John A
0
119
Member Avatar for ankit_the_hawk

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 …

Member Avatar for aniseed
0
156
Member Avatar for stan yost
Member Avatar for stan yost
0
81
Member Avatar for flageolet

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 …

Member Avatar for flageolet
0
221
Member Avatar for BiNO

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 …

Member Avatar for crazynp
0
64
Member Avatar for donaldunca

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"); …

Member Avatar for donaldunca
0
100
Member Avatar for ankit_the_hawk

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

Member Avatar for ankit_the_hawk
0
116
Member Avatar for Mushy-pea

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 …

Member Avatar for MattEvans
0
140
Member Avatar for sneekula

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?

Member Avatar for sneekula
0
1K
Member Avatar for Katrin

:!::!::!::!: 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 …

Member Avatar for jwenting
0
106
Member Avatar for pallavimahjan

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 …

Member Avatar for pzwcsx
0
102
Member Avatar for skol10

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 …

Member Avatar for skol10
0
206
Member Avatar for khoramdin

[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 …

Member Avatar for khoramdin
0
123
Member Avatar for edek

Would you be so kind and tell me what does ^ symbol mean in definition of object, example: [code]class ^Object[/code] Thanks in adv

Member Avatar for Ravalon
0
952
Member Avatar for inxs_vf

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

Member Avatar for MacGyver Orca
0
388
Member Avatar for Covinus

--------------------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 …

Member Avatar for jwenting
0
205
Member Avatar for shiman999

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 …

Member Avatar for jbennet
0
102
Member Avatar for jd_1604

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 …

Member Avatar for Salem
0
97
Member Avatar for nitrate

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 …

Member Avatar for tycoon_007
0
134
Member Avatar for Matt Tacular

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 …

Member Avatar for Matt Tacular
0
108
Member Avatar for parthiban

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 …

Member Avatar for parthiban
0
509
Member Avatar for jd_1604

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 …

Member Avatar for Ancient Dragon
0
236
Member Avatar for covertx

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 …

Member Avatar for plazmo
0
95
Member Avatar for Mushy-pea

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 …

Member Avatar for Mushy-pea
0
276
Member Avatar for Sarah Lee

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 …

Member Avatar for Mushy-pea
0
104
Member Avatar for bosko

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) …

Member Avatar for ~s.o.s~
0
124
Member Avatar for vincep123

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" …

Member Avatar for MidiMagic
0
94
Member Avatar for theflier13

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 …

Member Avatar for Ravalon
0
234
Member Avatar for jdk1.5

Hello everyone i m having three swings textboxes mm.dd.yyyy i want a simple code for validating date & leap years plz help me

Member Avatar for peter_budo
0
60
Member Avatar for rpjanaka

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 …

Member Avatar for aniseed
0
110
Member Avatar for jorritgoddijn

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 …

Member Avatar for jim mcnamara
0
96
Member Avatar for bucci

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 …

Member Avatar for jim mcnamara
0
153
Member Avatar for amirwan

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 …

Member Avatar for Ancient Dragon
0
364
Member Avatar for cusado

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 …

Member Avatar for Lerner
0
126
Member Avatar for Jishnu

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 ?

Member Avatar for Ancient Dragon
0
137
Member Avatar for amitc

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 …

Member Avatar for ghostdog74
0
122
Member Avatar for k_en

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.

Member Avatar for ammarcool
0
586
Member Avatar for flageolet

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; …

Member Avatar for flageolet
0
122
Member Avatar for flageolet

The End.