199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jman8877

this method checks if the array needs more slots , if it does it adds 5 more slots to the original array while keeping the same content and order of the content in the array how could u do this in a method that returns true and recieves add number …

Member Avatar for Cronless
0
271
Member Avatar for AdRock

I have a string and I need to split the string into tokens The word can contain and letter/number but can also contain punctation such as brackets I need to be able to find an occurence of punctuation, copy the string up to that point as a token, copy the …

Member Avatar for Tom Gunn
0
272
Member Avatar for Phil++

Hey, I need to create a search engine that searchs through a database but the wild card doesn't work for me: [code] <?php include ('header.php'); $s = $_POST['search_term']; $by = $_POST['by']; if(!$s && $by) // Check that the details are entered correctly { echo '<p>You have not entered the required …

Member Avatar for liamfriel
0
193
Member Avatar for chubzyko

Hello guys! can you give me an example on how to switch lines or records inside a textfile? I need to enter 2 numbers, there are 3 numbers inside the textfile, which also means it has 3 lines. [QUOTE]1 name 2 name 3 name [/QUOTE] 1st number entered= 2 2nd …

Member Avatar for chubzyko
0
190
Member Avatar for dandixon

Can anyone recommend a course for a php beginner, ive been doing alot in html and a few bits of search and forms stuff in php which has all been self taught but i want to go on a course to confirm really that im doing stuff right can anyone …

Member Avatar for dandixon
0
85
Member Avatar for SCoder1

Hi I can't seem to get this right I've looked online but I can't find the right page. I'm trying to make a simple program that takes a number but what if a character is entered. Well so far I get "140" as an answer. Here's what I mean in …

Member Avatar for SCoder1
0
97
Member Avatar for culebrin

Hi, I'm developing an AJAX website, and I want to make it compatible with most browsers and its many versions in the market. I've been using IE, FF and Chrome, for many years, and I know his popular versions (not everyone updates, you know), but I never used Opera, and …

Member Avatar for culebrin
0
173
Member Avatar for Peric

i want to ask one more thing about crystal reports...let's say i need an report that will show me payed "membership fee" for year that I want to choose. How can I get something like this? I know that I can make separated reports for single year, but I want …

Member Avatar for Peric
0
136
Member Avatar for Iam3R

Hello every one, i have written the following program for testing getch function behaviour. but, as soon as i run the program i am getting segmentation fault. i dont understand the problem. i am using GCC compiler on Linux Environment. i want to test the key scan program. [CODE] #include<ncurses.h> …

Member Avatar for Tom Gunn
0
996
Member Avatar for jrosh

I installed WAMP5 1.7.0 When I try to access localhost & phpmyadmin, it asks for a username and password. I'm pretty sure that i didn't configured any. I installed the same thing in another computer, and it worked. what could be the problem?

Member Avatar for pritaeas
0
142
Member Avatar for Nixriq

I have a program that is aonly reading the first line of the input from an input file, and i cannot seem to figure out why it wont read the rest 10 lines in the input file. Attched is the code, the input file and the output i get when …

Member Avatar for Nixriq
0
159
Member Avatar for wayz1229

i need help with the code below.. the code does not get correct qid from table questions. let say i enter 2 qtitle, and each qtitle has 3 atitle.. but once the data entered in database.. the error is like below: (qid=1)qtitle1- (none of the atitle having qid1) (qid=2)qtitle2- atitle1, …

Member Avatar for shlomia
0
72
Member Avatar for daki001

Hi, i need help with my code which i have been working on for a few days now! Using lc-3 assembly language i need to read in one string, check whether the string is a palindrome and display the result of the checking. I also need to echo each character …

Member Avatar for maaria
0
1K
Member Avatar for aalice

help me to implement a short C program that works with factorization of integers it is supposed to compute and print out the sum of all natural numbers below 100,000 that are multiples of 3,5 or 7. if asked to sum all the natural numbers below 20 which are multiples …

Member Avatar for ithelp
0
79
Member Avatar for shobhit123

Hi can anybody tell me any link from where i can download a small jsp servelt project and deploy on my machine and get to know the code and understand it... i have read the basics of jsp servelts and need a sample project to understand a small project to …

Member Avatar for ithelp
0
183
Member Avatar for system analysis

please help me to Design and implement an application that reads an integer value representing a year from the user. The purpose of the program is to determine if the year is a leap year (and therefore has 29 days in February) in the Gregorian calender. A year is a …

Member Avatar for javaAddict
0
135
Member Avatar for Anusha Rose

In my application, When the user clciks a button,some coding wil run, after that a popup window should appear, with a image button and its saved to sql server. I am using asp.net 2.0 Plz help me

Member Avatar for carobee
0
77
Member Avatar for komrul_raja009

What is conditional operators ? Using conditional operator find a smallest number amongst two numbers ?

Member Avatar for dkalita
0
68
Member Avatar for whitestream6

This is my code - which displays different articles and produces articles as [url]http://www.mysite.com/testpage.php?test=1[/url] [CODE]<html> <body> <? $i=$_GET['day']; switch ($i) { case 1: include("2.php"); break; case 2: include("3.php"); break; case 3: include("4.php"); break; default: //echo "page not found!!!!"; } ?> <!-- <? if($_GET['day']==1){ ?> <?php include("2.php") ?> <? }else if($_GET['day']==2){ …

Member Avatar for network18
0
100
Member Avatar for Thendral

Hai.. I want to write a JSP program. In that i want to do insert, delete, display records in a same program. I connected to the database. its working fine. The problem is it displays the record in the window twice.(becoz it has two records). I need that to display …

Member Avatar for peter_budo
0
95
Member Avatar for Facte

Hi there everyone. I have a problem with some PHP. I have to make a xml feed that works in IE in UTF-8 format and I'm having major problems with £ signs and '. the poud signs are in the mySQL database in their £ format and cannot be changed. …

Member Avatar for joles
0
179
Member Avatar for wayz1229

I'm having problem with the script below. The [B]atitle[/B] getting the [B]qid[/B] from the last question inserted in the table. I need to have [B]atitle[/B] with the corresponding [B]qid[/B]. for example: qtitle (qid=1) - atitle (qid=1) - atitle (qid=1) qtitle (qid=2) - atitle (qid=2) - atitle (qid=2) can anyone please …

Member Avatar for Graphix
0
151
Member Avatar for mikeandike22

Hey Im trying to send an email with PHP. but Im using ajax to load all my pages So i dont want to disrupt that flow by having the page refresh when you hit submit..I just want it to be like loading and then echo Thank you or something. Here …

Member Avatar for imadbalcoh
0
490
Member Avatar for kashmir323

I am creating this simple program that will capture screen shots. I want to make it so the name of the image that is saved is what the user enters into a text field before the picture is taken. and if at all possible is there a way to make …

Member Avatar for thefly
0
775
Member Avatar for mhenry

After twitter, many people are ready to do projects with ruby on rails, let me tell you frankly i dont know even a inch about it, I just know basic languages like javascript, xml, html , asp. Give me a roadmap how to read ruby on rails and master at …

Member Avatar for mhenry
0
212
Member Avatar for Ramesh S

Hi Guys, I am searching for Open Source Finance scripts such as Account Payable, Account Receivable, General Ledget etc in PHP. But I could n't find a good one. Is there any such open source scripts in PHP available over the web for download? If so, could you please give …

Member Avatar for iloveoct
0
181
Member Avatar for arun10427

Hi all, I am a perl newbie. I am using a perl code to read a column full of data from 1 field into an array [CODE]for(my $i=2;$i<table->last_record;$i++) my @data = $table->get_record($i,"Date"); [/CODE] Now for example if my @data[1] consists of list of numbers, I need to find the diff …

Member Avatar for weer
0
159
Member Avatar for jrosh

[CODE] tdate= new JTextField(); tdate.setBounds(200,25,134,20); java.util.Date date = new java.util.Date(); DateFormat df = DateFormat.getDateInstance(); String s = df.format(date); a = s.split(" "); a2 = a[1].split(","); //a[0]=oct , a[1]=27, , a[2]=2009 , a2[0]=27 , int mon=0; if(a[0].equalsIgnoreCase("jan")){ mon=01; }else if(a[0].equalsIgnoreCase("feb")){ mon=02; }else if(a[0].equalsIgnoreCase("mar")){ mon=03; }else if(a[0].equalsIgnoreCase("apr")){ mon=04; }else if(a[0].equalsIgnoreCase("may")){ mon=05; }else …

Member Avatar for masijade
0
92
Member Avatar for shihara

The wheelchair has four wheels, which consist of two rear wheels and two front wheels. The two front wheels are pivot wheel which are set free. There is no actuator which drives both front wheels. Thus, the front wheels can move freely in rotation and straight direction. Therefore, movement of …

Member Avatar for wildgoose
0
171
Member Avatar for abeldennis

I want to know about the Web Services in C#.Net.Actually Why it is needed and how it is implemented.

Member Avatar for carobee
0
90
Member Avatar for rouse

I am cycling through a return set and trying to capture the result in a concatenated string. I have verified that I get a valid return value and also verified the quantity in the return value. This works [code] while ( $i < $num) { $bone .= "<item> <record_num>" . …

Member Avatar for rouse
0
62
Member Avatar for swinefish

Hey all I'm gonna be taking graphics next year and I've been kinda thinking ahead. One of the things we have to do is make either a ray tracer or a rasterizer. However I can find almost no info online about how to actually write a rasterizer. There's a fair …

Member Avatar for swinefish
0
111
Member Avatar for jman8877

it checks if the array needs more slots , if it does it adds 5 more slots to the original array while keeping the same content and order of the array how could u do this in a method that returns true and recieves add number to put in the …

Member Avatar for masijade
0
282
Member Avatar for neilsam

im working on a program for my exams and its not really working.....cant really figure out why........i ran my program in both borland and turbo.....and both are giving the same error......DECLARATION SYNTAX ERROR. [CODE]void mul(int a[][3],int b[][3]) {int k=0; for (i=0;i<3;++i) { for(j=0;j<3;++j) { c[i][j]=0; for(k=0;k<3;++k) c[i][j]=c[i][j]+(a[i][k]*b[k][j]); //Multiplication of two …

Member Avatar for neilsam
0
114
Member Avatar for krishna_sicsr

Hi All, I need to parse the out from following output: I need to get the adapter detail after the heading "System Adapter Configuration:" This adapter detail is in 2nd cloumn like ACPI_IA64_P, ACPI_IA64_B, XBUS and PCI. I have marked the desired output in [COLOR="Red"]RED[/COLOR] color. Please help me in …

Member Avatar for krishna_sicsr
0
139
Member Avatar for saj_amo

i have a text box, control botton and a datetime picker i want that if i write 2 in textbox and press button then datetimepicker auto change the current date and add 2 days in it . i am doing it in c#.net

Member Avatar for saj_amo
0
94
Member Avatar for theStruggler

I have to write a program to censor a string. Whenever I run the program, it works fine the first time, then stops progressing the second time after entering the bad word. I don't get what the problem is. PLease help: java.util.Scanner; public class stringCensorRunner { /** * @param args …

Member Avatar for theStruggler
0
117
Member Avatar for trazan

[B]i am working with PHP i just want to know what is the framework like ZEND or CakePhp Is it Useful or i still devlop from scratch and i need to know which framework is the best & i need any vedio tutorial for it Thanks all[/B]

Member Avatar for trazan
0
73
Member Avatar for kerek2

Hi buddy's, I need your guide regarding to pull data form other database to other database....I'm already pull the data into Dataset using this command :- [CODE] oracmd = New odbccommand ("Select id,name,dept from staff order by id",oracn) da = ds.fill [/CODE] then i need to insert to other database …

Member Avatar for kerek2
0
100
Member Avatar for arsh_arsh

i have two func from one i am passing address of a matrix and in another function getting elemts in matrix. getting coredump on entering first value fn1() { int aiMat[MAX_ROW][MAX_COL]; int iNoOfRows,iNoOfCol; /* calls the function to get matrix from user*/ fnGetMatrix(aiMat,&iNoOfRows,&iNoOfCol); ............ .............. } void fnGetMatrix(int **aiMat,int *iNoOfRows,int …

Member Avatar for arsh_arsh
0
86
Member Avatar for rouse

I found the following code in a tutorial on building a RSS feed. I can’t find a reference to the “<<<” on the PHP manual web site. Would someone point me to the documentation on this symbol. [code] <? $content = <<<CONTENT <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>$chan_title</title> <link>$chan_link</link> …

Member Avatar for Froger93
0
122
Member Avatar for web3

My form worked, but when i put lastname(lname) field won't work [CODE]<?php include "connect.php"; echo "<h1>Register</h1>"; ?> <div style="color:#F00"> <?php date_default_timezone_set('Europe/Zagreb'); date_default_timezone_get(); ini_get('timezone.default'); getenv('TZ'); $num = 0; $submit = $_POST['submit']; $fname = $_POST['fname']; $lname = $_POST['lname']; $username = $_POST['username']; $email = $_POST['email']; $password = $_POST['password']; date_default_timezone_get(); $date = date("Y-m-d G:i:s"); …

Member Avatar for Will Gresham
0
147
Member Avatar for vckicks

The xor operator allows you to switch the values of two integer variables without the need for a third, temporary variable.

Member Avatar for maryann2076
0
160
Member Avatar for sram6

Hello everyone, I am a newbie to Ruby. I installed Instant Rails on a Windows Vista machine and whenever I started the InstantRails, it gave an error message "Either Apache or MySQL cannot run because another program is using it's ports." I have checked my firewall settings and couldn't figure …

Member Avatar for tiger86
0
162
Member Avatar for phper

Hi! Does anyone know of a good tutorial for installing Ruby with Php, Apache and MySQL. I have tried InstantRails but i want to install it without using the instant option! Thanks.

Member Avatar for tiger86
0
310
Member Avatar for osgiedeprof

Please can anyone out there help me see the problem with this piece of code? I’ve tried running it on the visual studio compiler But either get warnings or undesired output. I supposed the code to be a little dictionary that compares Inputs with some set of predefined ones and …

Member Avatar for Lerner
0
167
Member Avatar for kat_stephens

i know that this is a simple code but i'm having problems with it. Problem to be solved Get two sets of 10 integers from the user and store each set in a separate array. Find the set representing the intersection of the two sets entered and store the intersection …

Member Avatar for kat_stephens
0
81
Member Avatar for crazyboy

Hello every one ... I have a C# windows based application in which when i press ALT + F4 key at that my window is closed as usual... but i dont want to close window when user press ALP + F4 key . User have to close window by clicking …

Member Avatar for crazyboy
0
154
Member Avatar for ninreznorgirl2

I'm not quite sure how to fix it. I have done the debugger on it, and it seems that it might have something to do with the cin.get() but im not sure. [CODE]void MyFloat::Read() { char ch; int k = 0; cin.get(ch); while( ch == '0' || isspace(ch)) cin.get(ch); if …

Member Avatar for Lerner
0
135
Member Avatar for chubzyko

I've been surfing the net for hours now looking for a good example of reading and sorting data from a textfile.:pretty: But I can't find a good one that is working. :(Can somebody give me a simple example code of reading and sorting data from a textfile in ascending order …

Member Avatar for Lerner
0
2K

The End.