199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for spacedani

Hello, Could somebody help me with my problem: I´ve got a Vector all. Data is: name, date, price@dateX i will print out every person with name, and the amount (all prices together for that person) How to do that??

Member Avatar for iamthwee
0
112
Member Avatar for girish.sh

Can we define exit status intereger values for our purpose except 0? like can i set custom exit status messages: "1" for error occured because of reason #1 "2" for error occured because of reason #2 ... Is there any document which displays all the exit status code values from …

Member Avatar for masijade
0
134
Member Avatar for hanabyha

i have to make a program for cinema management system. here i include the question and the source code that i've made before. question: ---------------------------------------------------------------------------- [COLOR=black]. Students are required to design a Cinema Management System program that can perform the following functions (this program should depict the online system of …

Member Avatar for iamthwee
0
198
Member Avatar for HelmsK85

A farmer has a bunny farm. He has cage capacity for a limited number of bunnies. A pair of adult bunnies will give birth to 2 bunnies (1 male and 1 female) at the end of every three months. A bunny is an adult when he or she reaches the …

Member Avatar for Dave Sinkula
0
206
Member Avatar for Ace01000

This is my second attempt at a calculator, but my first at switch statements. I try to compile this, but i get a bulk of errors that make no sense to me, they all look rather similar, here is an example of the error: error C2784: 'std::basic_ostream<char,_Traits> &std::operator <<(std::basic_ostream<char,_Traits> &,unsigned …

Member Avatar for Ancient Dragon
0
128
Member Avatar for ~s.o.s~

Here is the code i have written to accept string from the user. Can you please modify the code so as it can even count the space as well as print the whole line with the spaces instead of the first word. Thanks a lot. [CODE] #include <stdio.h> #include <assert.h> …

Member Avatar for Ancient Dragon
0
169
Member Avatar for binteron

I am new to C++ and working through SAMS C++ primer. one of the excercies involves creating a dynamic array of structures to catalogue car information. I have the following code almost working and I am sure that I am missing something really simple. The program compiles and runs as …

Member Avatar for binteron
0
164
Member Avatar for robertlees

I just want a simple text-to-speech facility. I just want a digit to be spoken. I'm sure it can be done with an OCX. Could play a wav file, but want this ability within an exe.

Member Avatar for Comatose
0
366
Member Avatar for shalini_roy

I have just started to learn VB.i'm making a database using oracle and vb6. i have a listbox of items and a search button. one can see the details of a particular item in the listbox in a couple of textboxes in that same form by clicking on the search …

Member Avatar for Comatose
0
221
Member Avatar for xfruan

I created a program that uses a friend function to access the private member variabls, it runs perfectly in Shedblood Dev-C++, but when i use Microsoft Visual C++ 6 to compile it, the compiler tell me that "the function is not allowed to access private members." Does this mean that …

Member Avatar for Narue
0
250
Member Avatar for thehakan

Hello; I have little experience in c++ and I should implement insertion sort algorithm using linked list. I wrote a working code however I should have use friends for having the list elements from a seperate class and use templates for sorting arbitrary data elements. Can anybody help me how …

Member Avatar for thehakan
0
149
Member Avatar for HelmsK85

[B]how to create a arry that stores the first 100 multiples of a user-supplied integer, prints the values forward and backwarf rom storage (in an array); prints any values that are multiples of a second user-supplied integer or a message indication that there are no multiples of tha number if …

Member Avatar for Salem
0
127
Member Avatar for Ladymercury

Hello everyone! I've been having issues with a script me and a co-worker created for a system that I'm developing so that people can register and manage their shifts for a convention: [php]<?php // starts a session, this must be before ANY output is sent to the browser, including whitespace …

Member Avatar for Puckdropper
0
119
Member Avatar for Wrox

Hi All, Am fairly new to PHP but managed to successfully complete a form and all works well! However, using similar code on another site the form goes through to a dynamic page and sends email back all correctly and has the titles of the textfields ready to have the …

Member Avatar for Puckdropper
0
137
Member Avatar for crawf

Hi again guys! I was just wondering how to limit the number of values that are printed out on the screen from a users textField.. Like say, if a user put in 4, only 4 numbers would be printed...Im wanting to do this with my perfect numbers applet, so the …

Member Avatar for DaSogo
0
145
Member Avatar for huffstat

I have created a project in Visual C++ 6.0 called qcard4. This project was started by creating a new single document project and copying and pasting code from qcard3 into the files. I have been gradually improving and modifing this code from qcard1. I tried to produce the qcard3 code …

Member Avatar for Ancient Dragon
0
433
Member Avatar for J_Search

JavaScripters, This question is in regards to a JavaScript script within a PHP page. I included everything in case a complete understanding is required for a correct response. Thanks in advance. ****INFO**** Rater.php has a JavaScript script, which displays an interactive rating tool. It allows a user to slide a …

Member Avatar for J_Search
0
391
Member Avatar for DavidR42

I have been trying to get this C++ program to work for my class on a mortgage calculator. I am suppose to let the user enter the amounts for the principal, the term, and the interest. Also, I am suppose to let the user decide to do another mortgage or …

Member Avatar for DavidR42
0
160
Member Avatar for girish.sh

Hi all, I am a new joinee in this forum. I am facing one problem. How to call Java classes and methods from shell scripts?? i am using KSH. Is it really possible to do that or not? Response will be appreciated. Thanks, Girish Sharma

Member Avatar for masijade
0
313
Member Avatar for aarya

i am learning ejb. which is the best and easiest software to deploy. is it weblogic or eclipse or jboss. i m little bit confused . any body guide me with good tutorial site? thanks

Member Avatar for masijade
0
103
Member Avatar for acezrwild817

I have created a listview in my C# form and when i add an item through my code I change the background color of my cells/rows. However, when i scroll over them at runtime the color defaults back to white and then they stay white. I have different tab pages …

Member Avatar for alc6379
0
140
Member Avatar for Bigras

Cheers to my first 6hours of coding ... but that's the catch when you start (or start over) ... you get stuck with silly problems: I have created a DataGrid with a DataSet from a search result class- Now I've added a button in my rows to get a new …

Member Avatar for alc6379
0
366
Member Avatar for aparnesh

How can I redirect a page to another ? For example, if the user is registered he gets to see the members section and if he is not, he is redirected to a 'Register Now' page when he clicks on a members area link. Also how will it work if …

Member Avatar for Astegiano
0
290
Member Avatar for Blujacker

Is in wxPython event like root.bind('<Double - 1>,function) i need on one wxButton 2 event, normal and double. How to create this?

Member Avatar for vegaseat
0
101
Member Avatar for Blujacker

How to create an image to wxButton??? this is my button [code] self.button3 = wx.Button(id=wxID_FRAME1BUTTON2, label=u'Hraj', name='button3', parent=self, pos=wx.Point(35, 925), size=wx.Size(20, 20), style=0) self.button3.Bind(wx.EVT_BUTTON, self.OnButton3Button, id=wxID_FRAME1BUTTON2) [/code]

Member Avatar for vegaseat
0
109
Member Avatar for adnan1888

i need to use the variables declared in javascript in asp.net saw a thread suggesting hidden textfields but that wud help in request or query strings what if i needed to use the value of a variable declared in javascript by fulfilling some condition into an INSERT COMMAND. the page …

Member Avatar for tgreer
0
230
Member Avatar for vlntine82

I am working on a large VB 6 application. When I go to compile it, I am getting an Out of Memory error. The computer has 1.5 GB of RAM and is running XP. The total size of the program is about 6MB. I have tried changing the compiling options …

Member Avatar for vlntine82
0
101
Member Avatar for pythonguy

How to activate file typ filter in wxPython file browser I am using wxFileDialog() call for file browsing,I want it to filter all unwanted files in display.

Member Avatar for vegaseat
0
259
Member Avatar for Joncamp

I don't know how to configure my sendmail8 system, is sendmail a mail server? Why don't PHP send mail() through the sendmail8 system? Thanks:mrgreen:

Member Avatar for shaocpa
0
151
Member Avatar for kahaj

I'm getting ready to take a stab at learning JavaScript. First, I guess it would be good to find out where I can snag a decent free compiler from. :idea: Thanks!

Member Avatar for BikBen
0
109
Member Avatar for neillly77right

I have a problem entering data into my database using asp and vb scripting languages web site address = [URL="http://www.ilizarovgrp.co.uk/"]http://www.ilizarovgrp.co.uk/[/URL] i have tried adding a advobs inc file but the page will not display once this is added this may be because of my server options but i thought asp …

Member Avatar for msaqib
0
308
Member Avatar for shanenin

I was seeing if I could use python to delete a file upon reboot. I am only able to rename it at reboot, I can't figure out the syntax to set the destination to null. Below is what works to rename the file [code] import win32file import win32api win32file.MoveFileEx("test.txt", "test2.txt" …

Member Avatar for vegaseat
0
452
Member Avatar for ashneet

I am trying to get URL from address bar and store it in a variable. Anyone know how it may be done as i was looking on php.net and couldn't find any function that grab URL form the address bar.

Member Avatar for ashneet
0
213
Member Avatar for StrikeFreedom

I'm trying to use the following script to test password strength: [PHP]<? switch($_REQUEST['req']){ case "change_password": function CheckPasswordStrength($password) { $strength = 0; $patterns = array('#[a-z]#','#[A-Z]#','#[0-9]#','/[¬!"£$%^&*()`{}\[\]:@~;'#<>?,.\/\\-=_+\|]/'); foreach($patterns as $pattern) { if(preg_match($pattern,$password,$matches)) { $strength++; } } return $strength; // 1 - weak // 2 - not weak // 3 - acceptable // 4 …

Member Avatar for StrikeFreedom
0
106
Member Avatar for SegFaultSoul

Hi all, I'd like to get started programming Windows, but not sure how to go about it. I've only really worked with Java (in terms of OO programming) up until now. Will most Windows programming be done using .NET from now on? I mean, will any of the .NET languages …

Member Avatar for Ancient Dragon
0
176
Member Avatar for infinity4ever

hi i want to insert the current date and time in the sql server database... but i dont know how or what is the formulla exactly..i tried several time but all failed... basicly what i want is when someone log in the site with the membership the session("Date") will be …

Member Avatar for infinity4ever
0
144
Member Avatar for Smooth_411_2000

How would i make visual basick remember selections from other forms so it will excute the disired outcome at the end of my process.

Member Avatar for bulanhagui
0
171
Member Avatar for Smooth_411_2000

How do i execute multi programs in at one time using maybe a batch file or something like that so that way they would be like embeded in the program.

Member Avatar for Comatose
0
190
Member Avatar for Nisha R

Hi, I understand the advantages of using perl over other shell programming techniques like sh,ksh,bash etc. I understand that perl is very powerful and advanced. But, here, i want to know, if there is any situation, where in, we prefer to use the usual shell programming over perl? Any performance …

Member Avatar for chrisranjana
0
251
Member Avatar for rhp405

Hi! I'm trying to find out what is wrong with the next code which I'm trying to run in Linux: [code] int e1; int e2; pid_t pid1; // pid of child pid_t pid2; pid_t w1; // return code of wait() pid_t w2; // child process 1 pid1 = fork(); if …

Member Avatar for rhp405
0
2K
Member Avatar for jeffxiang

Hello, ostream - how to insert a line of text instead of overwrite in the beginning of the file? #include <fstream.h> int main() { char fileName[] = "SampleFile"; char buffer[255]; ofstream m_fp; // m_fp.open(fileName, ofstream::ate ); m_fp.open(fileName, ios::in|ios::out); m_fp.seekp(0, ios::beg ); m_fp << "This is the line written to the …

Member Avatar for jeffxiang
0
422
Member Avatar for Itpon

Welcome everybody, I just installed visual studio 2003 in my PC and am facing a problem while trying to open a new asp.net web application project, this is the message that i get.. [IMG]http://www.up4world.com/images/images/adb9b488e1.jpg[/IMG] can anybody helping solving the problem? Thanks

Member Avatar for Paladine
0
154
Member Avatar for grajeshmsc

HI All, i'm having a problem in authenticating the users in my application. Actually my scenario is i'm getting user name using 'httpcontext'. But this working fine in our developement.its not working in our client machine.The logged username is differ from its showing in the application.but for some users its …

Member Avatar for Paladine
0
196
Member Avatar for kirankumarreddy
Member Avatar for jbuzz120

Hey Guys and Gals I am new to this site and new to programming. C++ is the first one I am trying to learn. I ran into a problem on one of my assignements. I believe my problem is in the actual calculations. The Bonus part of the program is …

Member Avatar for Rashakil Fol
0
518
Member Avatar for Frehley

Hi! What I am trying to do is to send and recive messages throuh users. The sending part works oks, but I am having troubles reciving em. I want a label to display "Hi, you Have X new messages". The way I have to know that it is a new …

Member Avatar for Frehley
0
211
Member Avatar for kohkohkoh

Hello, Can i know if it is possible to show/ display windows task scheduler information such as: 1) process status -> if it is running or stopped 2) time the scheduler starts and other related info... on vb i've beeeen searching for the sources on yahoo and google... yet still …

Member Avatar for Comatose
0
136
Member Avatar for fishman44

Please help a newby trying to code first program. I want to be able to write data to a file, then read from the same file. I can manage this OK, but If I set-up a loop to do the same procedure again I get an error message telling me …

Member Avatar for WolfPack
0
167
Member Avatar for Cudmore

Sooo... I just started designing the GUI for an application that I'm writing.. And, well, I can't get either the awt.TextArea OR the swing.JTextArea to work properly. Here are snapshots of both, along with the problems I am experiencing. If anyone can resolve these problems, please let me know.. I …

Member Avatar for Cudmore
0
259
Member Avatar for j4mes_bond25

I happened to stumbled upon this website [url]http://www.tristarwebdesign.co.uk/[/url] whereby on the (near) top-left corner, the option of user being able to select text caught my attention. This could help the viewers of my website to select the tex-size they feel comfortable with. Similar JavaScript can be found in [url]http://www.dynamicdrive.com/dynamicindex9/textsizer.htm[/url] but …

Member Avatar for Gizmologic
0
188

The End.