199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dotcom123

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 …

Member Avatar for dotcom123
0
88
Member Avatar for aasi007onfire

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

Member Avatar for TkTkorrovi
0
105
Member Avatar for tunday

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

Member Avatar for tunday
0
101
Member Avatar for saurav

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 …

Member Avatar for saurav
0
174
Member Avatar for bubai

Suppose i upload a word file and see it html view. How it is possible in php?

Member Avatar for invisal
0
75
Member Avatar for kalaiselvi.v

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

Member Avatar for masijade
0
111
Member Avatar for Firestone

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?

Member Avatar for Salem
0
97
Member Avatar for tracethepath

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 …

Member Avatar for WaltP
0
162
Member Avatar for sk8ndestroy14

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 …

Member Avatar for sk8ndestroy14
0
125
Member Avatar for zenun

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 …

Member Avatar for krnekhelesh
0
101
Member Avatar for satish.paluvai
Member Avatar for satish.paluvai

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.

Member Avatar for jwenting
0
96
Member Avatar for danysabin

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 …

Member Avatar for danysabin
0
508
Member Avatar for DavidB

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

Member Avatar for ~s.o.s~
0
127
Member Avatar for invisal

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

Member Avatar for dr4g
0
106
Member Avatar for swaters86

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

Member Avatar for dr4g
0
177
Member Avatar for nschessnerd

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 …

Member Avatar for nschessnerd
0
120
Member Avatar for zunnur

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 …

Member Avatar for therealthing
0
1K
Member Avatar for Sukhbir

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 …

Member Avatar for Narue
0
129
Member Avatar for ReeciePoo

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

Member Avatar for dr4g
0
153
Member Avatar for pranto157

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

Member Avatar for dr4g
0
195
Member Avatar for bhavin12300

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 …

Member Avatar for dr4g
0
82
Member Avatar for kgayatri

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

Member Avatar for happygeek
0
271
Member Avatar for ndeniche

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 …

Member Avatar for sillyboy
0
392
Member Avatar for kodiak

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 …

Member Avatar for Killer_Typo
0
307
Member Avatar for mawarzinnirah

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 …

Member Avatar for satish.paluvai
0
304
Member Avatar for stonecoldstevea

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 …

Member Avatar for Killer_Typo
0
130
Member Avatar for kodiak

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 …

Member Avatar for kodiak
0
87
Member Avatar for satish.paluvai
Member Avatar for soso30

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 …

Member Avatar for jwenting
0
103
Member Avatar for varunrathi

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 …

Member Avatar for ~s.o.s~
0
97
Member Avatar for pixrix

[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]); …

Member Avatar for ~s.o.s~
0
179
Member Avatar for iw2nhl

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 …

Member Avatar for iw2nhl
0
101
Member Avatar for dude67

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 …

Member Avatar for pheeror
0
711
Member Avatar for ndeniche

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 …

Member Avatar for Bench
0
131
Member Avatar for no1zson

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 …

Member Avatar for no1zson
0
165
Member Avatar for onsir

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.

Member Avatar for Ezzaral
0
91
Member Avatar for iamthwee

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 …

Member Avatar for arjunsasidharan
0
111
Member Avatar for ECETiger

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 …

Member Avatar for mytime19
0
103
Member Avatar for Kshiteesh

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

Member Avatar for arjunsasidharan
0
80
Member Avatar for go939

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

Member Avatar for Salem
0
149
Member Avatar for hafizg

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

Member Avatar for Salem
0
80
Member Avatar for praneeth_gunda

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

Member Avatar for Aia
0
273
Member Avatar for Ina

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

Member Avatar for debasisdas
0
81
Member Avatar for JRM

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

Member Avatar for JRM
0
180
Member Avatar for saasbs

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 …

Member Avatar for yafa
0
331
Member Avatar for vij_alok

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 …

Member Avatar for Aia
0
95
Member Avatar for sgentry6

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 …

Member Avatar for Infarction
0
147
Member Avatar for shivams

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.

Member Avatar for ~s.o.s~
0
96
Member Avatar for Ozipto

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 …

Member Avatar for Ozipto
0
410

The End.