199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adily
Member Avatar for Salem
0
99
Member Avatar for robertmacedonia

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

Member Avatar for robertmacedonia
0
431
Member Avatar for omesanni

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 …

Member Avatar for ~s.o.s~
0
170
Member Avatar for Emmily

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 …

Member Avatar for Emmily
0
213
Member Avatar for whisper_101

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

Member Avatar for ~s.o.s~
0
84
Member Avatar for Manutebecker

I must say I always love a program where I can use #include<vector> vectors are like the peanut butter to my chocolate!

Member Avatar for Manutebecker
0
129
Member Avatar for rajeesh_rsn

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

Member Avatar for ashafaaiz
0
101
Member Avatar for rkumaram

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]

Member Avatar for rkumaram
0
93
Member Avatar for nathanpacker

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 …

Member Avatar for verruckt24
0
189
Member Avatar for srs_grp

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 …

Member Avatar for verruckt24
0
174
Member Avatar for SinghR

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

Member Avatar for death_oclock
0
128
Member Avatar for m24r

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

Member Avatar for death_oclock
0
169
Member Avatar for rhesus303

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?

Member Avatar for eggi
0
231
Member Avatar for Gabriel Arun.R

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

Member Avatar for verruckt24
0
292
Member Avatar for AstralCorpse

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 …

Member Avatar for mn_kthompson
0
135
Member Avatar for Ajantis

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 …

Member Avatar for ddanbe
0
144
Member Avatar for wwwmadeasy

hi i need to undresdatn the relation which mention in that table which i attached plzzz.... any one. thanks inadvance...

Member Avatar for Salem
0
59
Member Avatar for Frederick2

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 …

Member Avatar for ArkM
0
217
Member Avatar for bill2

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 …

Member Avatar for bill2
0
189
Member Avatar for fedderico10

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 …

Member Avatar for Lerner
0
171
Member Avatar for boomtoom

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 …

Member Avatar for cikara21
0
160
Member Avatar for pink bunny

:?: 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’. …

Member Avatar for toko
0
268
Member Avatar for arunciblesp00n

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 …

Member Avatar for ArkM
0
5K
Member Avatar for skalber

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

Member Avatar for ArkM
0
139
Member Avatar for suljo2

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 …

Member Avatar for ArkM
0
144
Member Avatar for rude04

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 …

Member Avatar for rude04
0
528
Member Avatar for randomFIRE

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

Member Avatar for puneetkay
0
112
Member Avatar for nedrah128

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 …

Member Avatar for nedrah128
0
181
Member Avatar for Michigan_Guy

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 …

Member Avatar for sneekula
0
100
Member Avatar for amy.damnit

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 …

Member Avatar for royganor
0
132
Member Avatar for khr2003

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 …

Member Avatar for khr2003
0
80
Member Avatar for yoyoaz77

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 …

Member Avatar for selvaganapathy
0
117
Member Avatar for srs_grp
Member Avatar for gumber

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 …

Member Avatar for gumber
0
167
Member Avatar for shankmuchlove

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 …

Member Avatar for shankmuchlove
0
109
Member Avatar for amanbb

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 …

Member Avatar for victor11
0
86
Member Avatar for Aamit

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

Member Avatar for Aamit
0
362
Member Avatar for mgn2683

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

Member Avatar for Aamit
0
149
Member Avatar for ecentric

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 …

Member Avatar for ArkM
0
2K
Member Avatar for mvsjs

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

Member Avatar for Aamit
0
144
Member Avatar for IrishUpstart

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 …

Member Avatar for ajay.krish123
0
125
Member Avatar for mrnutty

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 …

Member Avatar for Jacky1
0
130
Member Avatar for johnwayne77

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 …

Member Avatar for Fest3er
0
142
Member Avatar for confusedGirl

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

Member Avatar for Fest3er
0
97
Member Avatar for jagr200

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 …

Member Avatar for Fest3er
0
97
Member Avatar for dseto200

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 …

Member Avatar for dseto200
0
119
Member Avatar for knrakesh

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

Member Avatar for death_oclock
0
206
Member Avatar for RenFromPenn

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 …

Member Avatar for devnar
0
182
Member Avatar for vsla

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 …

Member Avatar for death_oclock
0
112
Member Avatar for 0weavern

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 …

Member Avatar for death_oclock
0
167

The End.