199,114 Archived Topics
Remove Filter ![]() | |
I have the slider code and the paragraph im going to put inside.That is create a horizontal slider bar, that will display individual words, each weight along the slider. So, at each step of the slider,a different words is displayed..so i need to load it up to the website using … | |
can someone give me of a list of escape sequences in C..... i would like to know all of them if possible..... thanks in advance... | |
Hello, please I need help with this problem. I am writing a web project using PHP. I have developed a wsdl for this project. Whenever I send a request from my cliet side, the server script handles it appropriately by calling the relevant function. However, the script returns null values. … | |
Hi All, I had developed a small app in Tomcat. But now i am migrating into Sun-one. I have deployed the app by making a war file through the deploy tool. But i am getting an error while parsing the web.xml file during running the app. org.apache.jasper.JasperException: File "/struts-bean" not … | |
Suppose i upload a word file and see it html view. How it is possible in php? | |
I want to connect to the database mysql . I am using Type IV driver Connector/J. How to connect to the database. When i load the driver class its working after that i get this error SQL Exception :Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** … | |
If its bad to use system("PAUSE");, then is it bad to use any system commands? Such as system("title x"); or system("color 4f");? If it is, is there another way to title the program? | |
hello everybody, I am a beginner in C++. I got a CD with a C++ how to program,fifth edition book by Deitel which has the source codes included in the books. The source code for ATM case study is in parts i.e. user defined header files r dere which includes … | |
I have a program where there are text boxes that accept values and then a command button is pressed. I need to know how to let the program check if the values entered are negative or anything that isn't a number. I also need the program to understand that if … | |
If you can help me? I have some problems.I have to put the five marks in five subjects for a student.The student must have ID,Name ,Surname,Subject and Mark. This we have to write in a file.Then we have to write in Screen the results(toread from file).After that I have to … | |
why can't we initializa the fields in a constructor in the servlet? | |
why we can't specify like the following code synchronized class a { -- } if we want to synchronize a class we need to code like synchronized(a.class) ? If any body help me I will be very thankfull to them. | |
Hey, I was doing some coding for fun, just practicing and seeing if i could still all the sorts and searches. My question is unrelated to that however because i can't seem to figure out an easy way to generate random char arrays. i found a random() function in the … | |
Here is a basic question (I thought I knew how to do this, but apparently not). (I am using Firefox 2.0.0.4, in case that is a factor). I am writing a Javascript page and want one of the text fields to default to a blank when the page is reloaded. … | |
How can I use variable from the outside of the class? For example: [code] <?php $outside = 'Hello'; class A { function printme() { print $outside; } } $cls = new A(); $cls->printme(); ?> [/code] How can I do it? please :D | |
I'm trying to learn php and I'm trying to build a simple form that stores data. However, I'm getting this error message when I submit my form: Parse error: parse error, unexpected T_STRING in /sites/yuma2/swaters210/home/public_html/music/music.php on line 7 you check out my form here: [url]http://www.stevenwaters.net/music/index.html[/url] [code] <? $artist=$_POST['artist']; $song=$_POST['song']; $album=$_POST['album']; … | |
Hey i am trying to make a 3 dimensional string array, and i wont know the size of it until the user enters the three numbers. I need to declare the variable as private or else i will have to pass it everywhere. Are there any alternatives or how would … | |
Could anyone help me to convert this code to 8086 assembly language. Aku wt pki MASM32 ([url]www.masm32.com[/url]) ; Build this with the "Project" menu using ; "Console Assemble & Link" .486 ; create 32 bit code .model flat, stdcall ; 32 bit memory model option casemap :none ; case sensitive … | |
Hi All, Please expain me, in below giving statements which one is efficient. int i=0; i = i + 1; or i++; 2. In We Allocate the memory using malloc. between somewhere after allocating memory if our programming crashed.Then Allocated memory will be immedately freed by OS or OS will … | |
[CODE] <?php if (!$_GET['p']) { include "header.php"; echo "<br/>"; include "home.php"; } if ($_GET['p'] && $_GET['p'] == "home" || $_GET['p'] == "pricing" || $_GET['p'] == "portfolio" || $_GET['p'] == "order" || $_GET['p'] == "contact") { include "header.php"; echo "<br/>"; include $_GET['p'].".php"; }else { include "error404.php"; } [/CODE] The above code … | |
I am new on PHP proramming. I want to use mail() function to send mail. In my Pc there is no mail server. I have confiure my php.ini file that is - SMTP = localhost, smtp_port = 25, sendmail_from = null, sendmail_path = null. But I can not send mail. … | |
i am littel new to this flied i need your littel help i got my database in my local pc at home and i want to use this database from remote place so is there any way to do this??? or any tutorial or some reference waiting for your reply … | |
please help me out in my dessertion on data thert n suggest ne the good title for that.... im unable to get good ideas and material..... | |
you know... i could never figure out how to use forks in c++... my teachers can't explain it (yeah... i know... they must be great teachers, right?), i can't find a chewable explanation of how to use them... so... since, i guess students are better teachers than teachers themselves, specially … | |
I am a beginner at C++, (thought not really to programming in general)........................... and decided to challenge myself to write something: A descrambler........... I know what I need to do. I need to: [code] (any code is pseudocode) open scrambled words file open the wordlist :loop get scrambled words get … | |
Here a problem where i have a process where user want some data file(textfile.txt) from somehere for example from D:\smart\rs334455.txt. After user have that file, user can choose whether he want to save the file or display it as a text file. Could anyone in here give me some example … | |
In this question you have to write a program consisting of two functions. A string has to be input in the main function and then a string function, namely shorterString, has to be called to shorten the string by deleting (“erasing”) every third character of the string. This has to … | |
hey guys, it's my first post!!!! Anyways, I was accepted by IBM for a Linux shell account. To activate and login to it, as part of the process, i need to enter my "RSA-shh public key"... I know what RSA is, but how would I obtain my "rsa-ssh-public key??" I … | |
how to implement linkedlists without using util package in java? | |
hi all, I am trying to build a software application that should update user's phone book from an old phone numbering scheme to a new one . the aim of such application is to automate the phone book updating procedure, and make it easier for the subscriber, rather than doing … | |
i want to clear a string after the prog. has done it`s work. i tried it by using a for loop and assigning a blank, but it didn`t work. the problem is that if i run the program again then the earlier value is displayed again . i`m using Turbo … | |
[code] #include <iostream> using std :: cin; using std :: cout; using std :: endl; #include <iomanip> using std :: setw; const int rows = 3; const int column = 3; void PrintTicTacToe( char [][3] ); //The function prototpyes for this program void p1( char [][3]); void p2( char [][3]); … | |
Hi, I'm writing a C++ program with Qt4 libs. When I do a particular sequence of operations, my program exits (but does not crash) with this error in the console: [CODE]my_program: symbol lookup error: libqtxml_plugin.so: undefined symbol: _ZN15QXmlInputSourceC1EP9QIODevice [/CODE] The function is inside a plugin I've written to parse XML … | |
Hello all, new to this site and to scripting. I am trying to search for the line with "CALIBRATE" in a file, and remove the leading # from the line with the following lines: cat $F1 | sed -e '/CALIBRATE/s/^#//' > $F1 cat $F2 | sed -e '/CALIBRATE/s/^#//' > $F2 … | |
i know i learned it somewhere, but its been a while since i used it... how do you make an user given array size... i mean...[code]int b; cout<<"Input the array size: "; cin>>b; int array[b];[/code] i know this is not hte way of doing it... but just so you get … | |
Like many of the posts I see out here I have decided to learn Java. It is a bit more than I bargained for. From what I see every class in the world starts with a payroll program, mine is no different. I have done ok with it up to … | |
Hi, i have installed Netbean 5.0 with file jdk-1_5_0_09nb-5_0-win-ml , but why my Netbean 5.0 IDE is not MDI Application , JFInternal Frame. while a right clik my Project thanks. | |
![]() | Ok in the application I have, I want to display a little msg "do you want to save" when the users presses 'x'. In other words the user cannot close the window without first choosing one of the two buttons in the msg box. How do I do this. Gimme … |
Hi guys. I've been working on some assembly programs for school and I'm having a couple of minor issues that are putting my progress to a halt. My first question: how does one perform something similar to a scanf function in assembly? I just need to scan a single character … | |
Dear all, I am a Bachelor in Information Management Student(BIM) in Nepal. I have got an assignment to develop an Address management software in my internship. I am a begineer of VB.net. Please suggest me how should I develop it. Should I develop a network or only a desktop program. … | |
I'm running my program in linux v. 2.6.20 and gcc v. 4.1.2...i got a problem here...when i compile my source code .cpp using gcc there's no error... but when i compile using g++ there's an error "undefined reference". sample: File.cpp: (.text+0xc50): Undefined reference to 'ClassB::Close' what's the problem with this? … | |
[code=c]//Writee a program that inputs a3 digit number finds the sumof these digits #include <iostream.h> #include <conio.h> #include <math.h> int main() { int num,num1,num2,num3,num4,s=0; cout<<"Enter the Number: "; cin>>num; num1=num%10; num2=num/10; num3=num2%10; num4=num2/10; s=num1+num3+num4; cout<<"The sum of digits= "; cout<<s; getch(); return0 }[/code] This program I wrote but shows error … | |
Hey, Some one Please help in Completing this code of CRC [code=c] char* substr(char* pra,int strt,int end)//To Evaluate Substring { char pr[5]="\0"; int j,k; for(j=strt,k=0;j<=end&&k<5;j++,k++) pr[k]=pra[j]; return pr; } char* exor(char* pra,char* div)//To Evaluate Mod2 Operation { char out[5]="\0"; int i; for(i=0;i<strlen(pra);i++) { if(pra[i]==div[i]) out[i]='0'; else out[i]='1'; } return out; … | |
Hi everyone. I've been trying to come up with a multiple choice quiz using Visual basic but I havent succeeded yet. I would like to create a suite containing several subjects such as science, history, english etc with each subject comprising of several quizzes. please help | |
I added a line to this program to read the length of the the string , then display the test. strlen() is not cooperating! Am I using the wrong function? the compiler says the arg should be char*. I'm confused! [code] #include <iostream> #include <string> #include <vector> using namespace std; … | |
Hi im a new member in this forum.. i really need your help as soon as possible, im doing my final project for graduating, its about doing a website for a hotel in jsp. i almost finished everything, now which im stock in it, and dont know how to do … | |
hi all, i jus executed this code on the borland compiler #include<stdio.h> void main() { char a[20],s[22]; scanf("%s", a); gets(s); } And it only took input from scanf function only whereas when i tried this code #include<stdio.h> void main() { char a[20],s[22]; gets(s); scanf("%s",a); } it took input from both … | |
This is probably just due to my quotes, but I'm trying to get the following script up and running: This is my command line: find ./ -type f | xargs grep "#include <some.h>" | awk -F: '{print $1}' | xargs grep "#include <another.h>" I'm trying to find a nested header … | |
i am new to java and i want to learn how to make games i saw some source codes of some games but i dont at all understand wt do the codings mean and how do we make codings to make a game....plz can i get some help. | |
I am using python 2.3.5 and I just haven't seemed to understand why I get an error that says "SyntaxError: unqualified exec is not allowed in function 'parse' it contains a nested function with free variables". I am trying to develop a scripting language for my operating system that is … |
The End.