199,113 Archived Topics
Remove Filter ![]() | |
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?? ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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> … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
Is in wxPython event like root.bind('<Double - 1>,function) i need on one wxButton 2 event, normal and double. How to create this? | |
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] | |
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 … | |
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 … | |
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. | |
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: | |
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! | |
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 … | |
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" … | |
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. | |
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 … | |
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 … | |
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 … | |
How would i make visual basick remember selections from other forms so it will excute the disired outcome at the end of my process. | |
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. | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … |
The End.