199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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> … | |
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? | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
What is conditional operators ? Using conditional operator find a smallest number amongst two numbers ? | |
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){ … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
I want to know about the Web Services in C#.Net.Actually Why it is needed and how it is implemented. | |
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>" . … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
[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] | |
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 … | |
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 … | |
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> … | |
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"); … | |
The xor operator allows you to switch the values of two integer variables without the need for a third, temporary variable. | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.