64,152 Solved Topics
Remove Filter ![]() | |
I have a string , i want to give it a blink effect ... is there any specific function for it . | |
I have a table having columns like values, like this col1 col2 col3 1000 10 2 1000 20 3 1000 30 4 2000 10 5 2000 20 6 2000 30 7 3000 10 8 3000 20 9 3000 30 10 I want to fetch records like if i enter col2 … | |
#!/opt/bin/perl $[ = 1; # set array base to 1 $, = ' '; # set output field separator $\ = "\n"; # set output record separator $FS = ';'; line: while (<>) { chomp; # strip record separator @Fld = split(/[;\n]/, $_, 9999); $id = $Fld[1]; if ($. == … | |
I'm trying to figure out how to parse options such as -h out of the arguments passed on the command line when the program is called. Here is my code so far. I compiled it with gcc -Wall -o options options.c and got no warnings or errors. Although, when I … | |
help me.i woul like to make my access 2003 database be network database.im using vb6 as front end.thanks | |
I am trying to remove a list item in a listbox... the problem is I have to remove it by the what is visible to the user the program doesnt keep record of the index number in the listbox so we have the following in a list box Bob Fred … | |
I have a richTextBox where I am trying to replace all strings that look like this: "stringvec[11][12]". I have this for loop so far that would work if the string always had the same lentgh but the thing is that I will not know if the string also can look … | |
Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? … | |
I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything … | |
Weve been given this example to work with and Im not sure about the line 9 [B][I]char cont = 'n';[/I][/B] - is there even a need for it? The rest of the program I understand. [code=c++] #include <iostream> #include <stdio.h> using namespace std; int main() { int no = 1; … | |
hi i got a problem regarding inserting value into database. i have 2 labels and one textbox.. but in database only one cell is there to store these three values.please let me know the solution for this.. thanks .... | |
I am having a problem reading a date format in a file I am trying to count the difference between two dates. the format I have is 010108. I tried to break up the date mmddyy but have run into other errors. [CODE=python]import datetime as dt # US format month/day/year … | |
Can one of you gurus give me some help please. I am a new programmer so please bear with me. I have a header file called Deck.h and a cpp file called Deck.cpp. In my header file, I have a class called Deck which has prototype function called createPack as … | |
[code=c+] #include <iostream> #include <string> using namespace std; int main() { string a; cout<< "enter string" <<endl; cin>> a; string b; //======================================================== for (int j=a.size(); j>0; j--) { for (int i=0; i<a.size(); i++) { b[j]=a[i]; } } cout<< b <<endl; return 0; } [/code] i want the first character on … | |
Hello all, A few days ago I tried to use a mail script and recieved an error: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....." Which was wierd because I had set the smtp server to my isp's mailserver. When I changed the smtp_port to 30, … | |
i have written a simple class for OOP in mysql and php and when i tested if even if the values that i used also in my normal connection process is the same the mysql won't connect me to it.. this is my class: [CODE] <?php class DBlink{ protected $link,$dbname,$uname,$passw,$db,$hname; … | |
How To Filter Invalid(vulgar) words in JSP? when data was entered to a textbox it must not contain vulgar or bad words.The event is processed before data is saved and posted. Do I need to specify each word or there are some shortcuts for it? Can you give me a … | |
Q- Use swapping concept to swap the elements of 1D array consist of 10 integers. Ask the user to enetr the values of array elements then print them out to the screen before and after swapping. e.g. a[0] ----> a[9] a[1] ----> a[8] a[2] ----> a[7] a[3] ----> a[6] a[4] … | |
Hi All, I am struck with following problem. Please help me out. I have defined a Oracle procedure as follows. [code] PROCEDURE JOB_EXPORT IS cur CWTYPES.cursorType; l_nextdate DATE; -- JOB_NEXT_RUN l_interval VARCHAR2(64); BEGIN OPEN cur FOR SELECT JOB_NEXT_RUN, JOB_INTERVAL FROM JOB_EXPORT_CDRS WHERE ACTIVE_STATUS=1 AND JOB_INTERVAL IS NOT NULL LOOP FETCH … | |
hi all, Table 1: ID | COL1 1 | 1 1 | 13 1 | 64 Table 2: ID | COL1 1 | 14 1 | 13 Output needed: ID | COl 1 | 1 1 | 13 1 | 14 1 | 64 How will i accomplish this??? Thanks … | |
I am trying to match a string to see if it follows a given pattern. I have seen this example in my Orielly books but do not understand the logic. Here is the a small snippet of example code: [code=cplusplus] const string digits("0123456789"); const string float_digit = digits + '.' … | |
I have a function which have return type DataRow and the parameters for the fucntion are the parameters for the stored procedure. I have to execute the Stored Procedure with given parameters and populate the datarow so that the return will be the populated DataRow with the output of the … | |
Hey, I am currently trying to read a text file, which looks something like this: 1 2 3 4 . . a b c . . . I would like to read the integers and characters into the same array. I tried using a char, string.. hoping that it would … | |
I am trying to add FLASH(swf) file on site.But unable to do.Can be seen [URL="http://www.cravingcatering.com/osc/index.php"]here[/URL] white big space.Movie not loading. Or i place the swf on wrong place.Please guide.Thanks I use this file to update. [CODE]<?php /* $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions … | |
Hi there! I'm new to Java and just arrived at this forum. I hope I can get some help here - getting a little desperate. Well, I have to develop a small game in Java and in this game the user must be able to click on different spots on … | |
Hi, I'm trying to 'reduce' a vector using the erase algorithm within a for loop. The idea is to scan a table looking for equal successive elements. Once equal elements are found, it erases one of the 2 elements. I'm suspecting a problem in the for loop, due to the … | |
Hello everyone! I am writing a function to multiply two matricies together. I have written a simple algorithm for a matrix 3x3 - [CODE]void multiply() { int a[3][3], b[3][3], c[3][3], i, j , p, val = 0; a[0][0] = -1; a[0][1] = 0; a[0][2] = 1; a[1][0] = 5; a[1][1] … | |
I am having trouble figuring out my code and was hoping someone could point me in the right direction. Below is my code what I need to due is create a method to add and display the value of the entire inventory. I have what I think is the correct … | |
I am very new to programming in general, and of course, it follows: to Python. Yet, I am in desperate need of a particular database program, and I am attempting to write it via objects, since I need to learn the ways of OOP anyway. I am currently trying to … | |
Hello i want 2add the name of the person who logged in at the top of the page, but the name comes from a SQL database called details, but the username and password is kept in another table called member they both are linked by id, this code below luks … | |
Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I … | |
I know there is a function that if you put the mousecursor over a buttoncontrol, it is possible to have a litte "window" that occur over this button that tells what this button does. I have looked into the members and seen something like this. I am not sure if … | |
hi everyone for my comp sci class i'm supposed to write a piece of code which will take in 10 ints and put them into an array of such size. unless the input is either a 3 or 7 in which case wats left of the array will be written … | |
I have a general wondering about std::vector<string>. If you declare something like this, I have set 1 million elements to this vector. If I run this program just declare it like this without filling the elements with any strings. Does this take up any RAM memory just because I have … | |
Fair warning, I'm new at this. I'm having trouble getting a submission form to work. The end result now is that it will submit, but the submission never reaches my e-mail. Please tell me what I'm missing from the following code. [code] <form method="post" action="mailto:phoenixsociety3806@yahoo.com"> <td align="left" valign="top" style="font-weight:bold;">YOUR NEONAME</td> … | |
Hi there, i'm from Malaysia. first of all, i would like to say that I'm quite bigginer in Java programming. However, I had released my own virus based on Java last month. I feel too stupid to release it. So, I need your help to open the door for me … | |
Hi All, I am writing a little program that i should be able to get working i think! basically i have this file full of content and i want to search it for a list of words. And add to a score variable each time i find a word [CODE] … | |
Hi, I have a problem with my implementation of Drag and Drop lists. Particulary I have 3 scrollable divs, which represent lists. The divs contain "LI s" which represent particular units. Code (ddHeader.php5) Header: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> <head> <meta http-equiv="Content-Type" … | |
dear all, wat should i do to clear the input buffer stream? and also make me clear regarding flush and fflush. both do the same functions? | |
I'm using Visual Studio and I'm learning ASP.net, to learn I'm following the VWD Videos available on the Microsoft website. I watched one of the videos and the guy used a Global.asax file, I followed exactly as I did but at the top of the file where the [icode]<%@ Application … | |
I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as and & What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my … | |
As you know mysql is not compiled into php as of version 4, so you have to do some configuration for your php script to properly communicate with mysql server. I’m new to php/mysql development environment; at first everything was frustrating and you don’t get the help you require promptly. … | |
Hi I am trying to display appointments in a database and would like to display all appointments for a week. The time of the day appears on the left and vertical columns with the names of appointments on the right. The code below only generates a single column of names. … | |
I am working on a program designed to map a networked drive to a Linux Samba share. I have been requested to give the end users a way to select what drive they want to map. I know that some drives are off limits for use; (A:, C:, and the … | |
Hi all.... i m already got startup path and now i want to copying my exe file into startup. how i can do this?? please help me. any help will be appreciated | |
Hey Guys, I have started using Visual basic 6.0 but i'm running into a few troubles. How can i write this psuedo code into visual basic: [CODE] BEGIN even and odd numbers PUT "Enter a number : " GET num even = 0 odd = 0 WHILE num <> -1 … | |
Hi, I'm trying to save some data taken from a ISO-8859-1 encoded page into a SQL SERVER 2005. The problem I have is that when I retrieve the information and put it in a XML there are characters missing. I'm using the URLEncoder.encode method to escape the "bad" characters from … | |
If I want to find the start and end position of the word "how" on these two rows in a textBox. Is there any other approach then substring each line or is it the substring method I am going to use. ? //text in textBox Hi, how are you good … | |
I am now using Visual C++.net 2002 edition. My main ongoing project, an application that teaches the game of bridge, is now 350 K + llines of code, 95 % of which is application logic. The 5% dealing with GUI is just SDK for speed. I am just a retired … | |
What would I need to add so that I can return a count of the number of rows retrieved in the query? I am not sure where to include the COUNT (another query?) and then what syntax to use to print the result. thanks [CODE]$data = mysql_query('SELECT * FROM `bus_basic` … |
The End.