199,114 Archived Topics
Remove Filter ![]() | |
can u help me how to write the programing for this output? | |
Hi to all, I am stuck with these problem, so I must ask for a little help. I have this "postfix notation" expression " 5 9 + 2 * 6 5 * + " ,written in a file "izrazi.txt". So , I am supposed to read it from the file, … | |
I am having a with problem displaying the contents of the hql query from the database. Basically I created entity classes for each table in my database. I have an index.jsp page which has a form in it. When the form is submitted the details are passed to a servlet … | |
Hello everybody. I'm new in C++ Builder and I have problem with my application. I have some files on input and first I add files in ListBox1. I try to sort them by 3 conditions (firts is date, second is some secc. number and thirt is const. number) for example … | |
Seasons Greetings Everybody! I want to use a Textfield to dispaly details of link information to my website so that others can copy and paste these details upon their website. I want to prevent visitors from being able to type anything in this field altogether. Does anyone know how? Thanks | |
I must say I always love a program where I can use #include<vector> vectors are like the peanut butter to my chocolate! | |
Hi I had to echo a table from a database in a html column (td) but the problem is the width of that column is increasing when show that para.... Please help me... Thanks Rajeesh | |
Following program gives me output 556 , I cant understand why ? [code] #include<stdio.h> main(){ int i =300; char*ptr =(char*)&i; *++ptr = 2 ; printf("\n%d",i); } [/code] | |
Hey everyone. I have an interesting perl idea, and am wondering if it's been done. I would like to have a page on my website, where someone could go in and chat with me. I wouldl like it so that, a person (that I have given a user name and … | |
I have a string as follows: 'mnp1011000jie' I want to retrieve contents of the string as follows: 1st field: mnp 2nd field: 101 (which signifies the binary representation of 5) 3rd field: 1000 (which signifies the binary representation of 8) 4th field: jie I know that binary integer requires 4 … | |
I needed some in making a comment box. I am making a website most of the thing are done, but one important thing I still need to do is add comment box or textarea. I tried in html but looks like i need .php codes and i have no idea. … | |
I am a novice in C. I am trying to assign a value from a file to a pointer as below. However I am gettign a seg fault. Can somebody explain ? int i1; char *glblclrtab; ... for (int i=0; i<20; i++) { while ( (i1= fgetc(ipFile))==NULL); *(glblclrtab+i)= char (i1); … | |
I'm learning some shell scripting but came across this line: [icode] link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` [/icode] Where [icode]ls=$0[/icode] Can someone explain it to me pls? | |
Hi friends, im new to java. so im facing lot of problems in developing applications. I need all ur help. pls give ur support to ur friend. I dont have much support in my side | |
Hey guys, I'm new to Python and programming in general, and I've come across a problem that I can't quite figure out in my experimentation with the random module. So, basically, I want the following code to ask the user to input a word, and then randomly print a single … | |
![]() | Hello there! I have questions about two things: 1.) How do I create a completely new type of files that can only be opened by my programe? What knowledge do I have to have to create something like this? 2.) I am trying to create a search function in a … |
hi i need to undresdatn the relation which mention in that table which i attached plzzz.... any one. thanks inadvance... | |
Have you ever had a problem where you are completely dumbfounded? Staring at the output of a program and saying this is impossible? Sort of like… int a =5; printf(“a=%d\n”,a); Output: A=6 Well, I’d appreciate if someone would take a look at this simple program below which creates a class … | |
Hello everyone, I`m new in this forum , and I`m an absolute beginer in C++ language. Therefor i already have some major problems in my learning. My compiler is giving me odd errors eventhough the codes are typed in corectly , exactly as in the book. Here are some of … | |
Hi people i need yor help. It must be easy for you but im starting with c++ and i can not figure put how to do this: I have two classes, each on with the .h and .cpp files and a main class that must call the objects created for … | |
Hi everyone i really need your help i need to write a code for a game in tow dimensional array [6][5] that 2 people are playing its like X O but the size is of the storck is decieded by them every player picks the colmun he wants to put … | |
:?: I got from the book: Write a piece of visual basic code to process the responses of twenty students who were asked to rate, on a scale from 1 to 10, the quality of the food in the cafeteria. A response of 1 denotes ‘dreadful’ and 10 denotes ‘excellent’. … | |
Hello, Firstly I better warn you I'm quite new to C++ and to Linux so I'm sorry if my terminology/general understanding of how things work is a bit confused. I've downloaded a code which is in C which is helpful for a course I'm doing on stellar structure, but I'd … | |
Hello, I have a class with template argument, MyClass. Next I initiate 3 copies of that templeate class with different types : [code] MyClass<char> mc1; MyClass<int> mc2; MyClass<float> mc3; [/code] Is it possible in c++ to make a general pointer array with each element as reference to differenet initiated class? … | |
Hi, I am calculating arithmetic mean of some $ values, so my numbers should have dollar part and cent part ( two decimal points ) double x = 3.46; double y = 12. 13; double arithmeticMean = ( x + y ) / 2; //7.795...should be 7.80 I don't care … | |
can anybody help me with my program tutorial?? my program is like a software tutorial for math,science,physics etc.. it starts with it starts with displaying a pdf file and after that displays 10 questions about the lesson.. the problem is after the first question is answered i need to click … | |
Hi, How can I have a JOptionPane that has multiple fields for entering text. Does anyone know if this is possible, if so could you please give me an example of how to do this? Thanks | |
In this code it takes phone 2 when I click box and copies the value to a que box . But when I change "phone2" to "email" so on the click it will copy the email value to the que box. The result is undefined. But if I put all … | |
I'm working on text-based role playing game that uses a GUI for some of the functionality. After a bit of a learning curve I've got the GUI done and am in the process of figuring out how to implement some of the other features. One thing I have run into … | |
I am new to PHP, but eager to become a "pro" ASAP! What does everyone think about using an IDE with PHP? What tools do you use? I installed Eclipse PDT All-In-One on my MacBook. I am getting the hang of it, but it still doesn't seem as user-friendly as … | |
Hi I have an xml file which i am trying to display through a php script, it displays everything fine until i change the contents of the xml file to Arabic letters at which the file does not load. here is the xml file: [CODE]<?xml version="1.0"?> <studentmarks> <listName>name of the … | |
I have a frame with a picture within it, and I am able to do the mouse scroll with the code below, but when i scroll with the mouse there are no limits so the picture seems like it could scroll through for eternity. What am I missing? Also with … | |
How can i convert float or double to binary? | |
first i copy an object byte by byte to a memory location . Then cast starting address of that memory location to pointer of object type and access member function of object using that pointer . code is very lengthy and split across files .. so i was avoiding to … | |
Sirs, I would like to do a project for my final year BE. I would like to do a challenging project that should be finished within a couple of months. I thought of doin an online web based project using PHP. I have adopted daniweb.com as my project guide. Could … | |
Dear All, I have a problem with my Dataset. I am working on VB 2005. My problem is that any changes I make to the DataSet (like adding new query, modifying existing one) I cannot find it (the changes I made to the dataset) while I am working on one … | |
Hi I want to count page views .. suppose when user [COLOR="Green"]viewing page 1 and spend minimun 10 seconds time on page 1[/COLOR] then i have to [COLOR="Red"]calculate view as 1[/COLOR]... so how to do that?? plz give me sample example | |
Hi, This may be hard to describe what I'm trying to do. I have a database table called assignments where there are columns: section, team, and candidate. For each section, there are 3 teams- 1, 2, 3. The sections are listed alphabetically from A-V. There are 5 candidates per team, … | |
Write a short program thats reads a file called text.txt that replaces all words that begins with the letter f and is replaced with the word frog. Now i have a jeist of how to replace words with another word however i am unsure how to find words only starting … | |
Hi, I have given my code below. The logic is: - Display all Users details who have enrolled for access to my web page (default value for authorization is zero) on clicking 'NEW USERS' - For those records where check boxes checked authorization will be updated to 1 (access given) … | |
I need to write a program that sorts some data into ascending order. I was looking in my programming book and found a sample program that does that such thing. I am a little confused on some of the aspects of the code they used, and they didn't comment on … | |
hi everyone, I was practicing binary search with array and encountered a problem. My code works but I can't help to make one part of it better. Well look at my code to understand my question better. [code] int binary_search(int arry[], int size) { int first = 0; int last … | |
here is my situation: i have a prepay online store and i advertised a contest to win a free code when buying at least 5 codes during 24.11-24.12 2008 period. now this is my table: [CODE]orders_id customers_id customers_name customers_company customers_street_address customers_suburb customers_city customers_postcode customers_state customers_country customers_telephone customers_email_address customers_address_format_id delivery_name delivery_company … | |
As a beginner, I designed a website using php, but unfortunately I found difficulty with 3 codes. I have already written them but am not sure why they didn't work . Please check it for me… There are: [COLOR="Red"]1-changing pending status to accept or reject from admin ,,,[/COLOR] [code=php]<?php session_start(); … | |
hey all. Im writing a small script that is supposed to check for a file or directory and when its not there create it. After it creates the file or directory I would like the script to loop to the beginning but I cant figure it out. What am I … | |
Character creating program ie Dungeons and Dragons. Player has 30 points to spend on 4 attributes - strength, health, wisdom, and dexterity. Player should be able to spend points from the pool on any attribute and should be able to take points from an attribute and put them back into … | |
Hello friends Iam unabing to add subcategory and iam trying to add in the same table in which the categories are there can anyone please help me in adding subcategories and categories in a same table please Thank u KNR | |
![]() | Hi, I am trying to get an example program to run, but it isn't working. I've probably typed something incorrectly, but I have checked three times and I just don't see it. Anyway, it's a sample program from the C Primer Plus book that is supposed to add the rows … |
Hi, I am new to the site, but I am currently trying to build an information form so that customers can submit some information via email to me, sort of like a contact form but with some other information on it. I have been checking my code over and over … | |
OK, I'm new to PHP and SQL so you'll probably have to explain most tings in laimen terms! I have created a website with PHPMaker, a kind of loaning libary where stock gets loaned out and out and then returned. Now it works all ok, however I want to be … |
The End.