199,114 Archived Topics
Remove Filter ![]() | |
If i want to print a grid of letters..for example AAAAA BBBBB AAAAA BBBBB AAAAA this is what I got so far. need some clues as to how I should approach the problem? #include <iostream> using namespace std; int main () { int n; cout << endl << "Enter a … | |
Here improved example based on MITx course of using the bisection method for root finding. | |
I have a class library that is responsible for generating reports. Each report consists of the following: - Header - Body - Footer Some of the reports have the same header / footer. None of the reports have the same body. The body component is generated by taking a parameter … | |
Hi guys, I've downloaded 2 cached_property implementations from the internet and both did not work correctly for my programs. Does anyone here used a cached_property function that works really well and could share with me? | |
I have a component TM and it ‘s responsibility is divided to A and B. there is another component query client. Between these component there Is an async communication. I represented the query client and the TM as classes how do I represent the Async communication? | |
is there a way that I can do this? I want to, call a java function from an HTML page and set a varaible, (function 1) then switch to a new web page and read the same varaible that was set, (function 2) I would like to do this in … | |
hello guys how are you today i am not good with function so i want to ask a question how can i do that by function i have tried but i am Failure also how can i protect the input by this way by using mysql_real_esacpe,strip_tags .... $getidtopic=$_GET['id_topic']; function isint … ![]() | |
A simple project that provides an interface to encrypt and decrypt strings using the next algorithms: - AES - Blowfish - Cast - DES - Idea - Rc2 - Rc4 - Seed The project uses PoCo C++ libraries, they have a nice and easy to use interface for OpenSSL I … | |
guys, i developed Students alumni project,in php + mysql where students registers and check their online status and view his academic records, i completed evaluated my project on local host, WAMP(apache), and my project worked fine, all db connection, data access everthing is fine on local host but on Online … | |
hi guys having some problems and for the life of me cant work it out how can i get all users that have a registerd date of 3, 6, 12 months which i think i can make as an array and get the users that have been registerd at these … ![]() | |
I'm trying to read from a text file and have any multiple whitespaces between characters become one whitespace. If this how I do it using an array, #include <stdio.h> //Function prototype void modifyspace(char *dest, char *src); int main() { /* Initialize an array of 2000 characters */ char src[2000] = … | |
Howdy guys need help changing , from string to a big decimal for my addition method in my calculator , i understand the problem but not the solution . Any help would be great, thanks. public void add() { BigDecimal oneNumber = model.getDisplay(); BigDecimal twoNumber = model.getDisplay(); BigDecimal result = … | |
hi all, please kindly give me advice and help me on my project this is just a piece of it. thanks and God Bless. i got this database error **A PHP Error was encountered Severity: Notice Message: Undefined index: username Filename: controllers/login.php Line Number: 20 A PHP Error was encountered … ![]() | |
Hi, i made an HTML contact form with the following fields name, email and message and i want to send it to my gmail address with SMTP authentication. Please can anyone guide me with a step by step process? i am new to PHP. i found the script for SMTP … ![]() | |
Hi i am trying to write a search function and the question i have is this, when i do something like this comix[0] = new Comic("book title", "Author", "isbn", 454.24F); for (int i = 0; i < comix.length; i++) { Scanner console = new Scanner(System.in Scanner console = new Scanner(System.in); … | |
hello everyone need help with my program this is a airplane seating program for reservations it's a 2d array of 000 .. and when i take a seat it changs to 1 we have first class supposed to be first 2 rows and rows 3 to 7 are business class, … | |
I was wondering if there is a way to import file names from one specific folder to a text file. for example... my whole music foler. I want to create a text file for all the songs that I have in that folder. Is it possible and if yes how … | |
This Python code shows you how to get a current list of currency values (Canadian Dollar = 1.00) via the internet. | |
Ok So I have two classes that share the same instance variables, the variables have been declared in 'Dog', however I cannot seem to get the instances to work within my other class 'DogChorus'. Therefore what must I do to get the instances to work within 'DogChorus' constructors? The variables … | |
Hello Admin and other PHP experts..!! small question, how to send email to the email IDs, that are listed in a database, i want to sent it as "noreply(at)mydomian(dot)com" and the receipents should be in BCc. And the mail i send is a HTML Advertisement of my service. help me … | |
Please help me, I want to enable ajax extensions in my tool box. This is my first time I want to use ajax extensions. When I click show all on the toolbox, it show the ajax extension panel but the control can't be drag to the form, please kindly help … | |
I'm fairly new in python. This code is supposed to create an Operand class where the function is take a string like 563b9, split it so that the integer is 563 and the base is 9 and then convert it to decimal. All I have done is split the string … | |
Hi everyone :) i am doing my final year project in PHP and MYSQL and i am just at beginner level of php.i found this forum really helpful. in my teacher module i allowed the teacher to upload video, audio, mp3 and image files and here is my code... i … | |
Hi! I am new in vb.net and use it in our game programming. I don't know if this is the same in what they do. Here's the code. Thanks! :) Dim jeepEnemyGallery As New jeepGallery Me.y = CInt(Int((8 * Rnd(1)) + 1)) Select Case y Case 1 To 2 jeepEnemy … | |
Hi. This is my code for creating a calculator gui in assembly language. What I want to do is to click any number from 1-9 and it will show inside the textfield. Unfortunately, I'm still confused on what to do. I hope you can help me with this. Thank you. … | |
Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to … | |
I modify this .cpp code into .c but it gives error: the original code is:(runs fine) [CODE]#include <string> #include <iostream> #include <stdlib.h> using namespace std; int main() { int c, s[10]; int i, j; string name; cout << "Welcome to Airline Reservations System!\n"; for (j=0; j<10; j++) { cout << … | |
I want to start as junior in Java in a company but they ask me to present them some tasks that ensures that i am more than a junior.they offer me a task to create a Swing Gui with buttons and stuff.I have already a good knowledge of Java from … | |
Hi all, I'm am very close to finishing my 2 player pool game with only a couple of rules left to add. I am currently trying to assign a ball colour (red or yellow) to the player who pots the first ball. I am at a loss at the minute … | |
Hi, I have a csv-file with Date in first column, pressure in second and temperature in third (a lot of data). Small example below: 08/08/2012 09:26:01,14.334,26.379 08/08/2012 09:26:02,14.329,26.376 08/08/2012 09:26:03,14.337,26.394 08/08/2012 09:26:04,14.324,26.421 I want to extract from t1 to t2 and then calculate the elapsed time (t2>t1). My code so … | |
hey everybody, i am new to vb.net environment pls help me to sort out my problem. let me explain it. in my project i need to clone/copy the content of the two fields from one table to another table in same database.i have tried my level best but got the … | |
What are the steps of implements MS Silverlight Vedio Player? i've looked through many website and i found one of the website is explaining how to implement image only. so i wanna to know whether is image consider as MS Silverlight if i use MS Silverlight to implements. btw, it … | |
Hi guys! So I need help with a small problem. I'm using a char pointer array which contains a mathematical expression. For example: "sqrt 25" Now I want to use the inbuild c++ function `sqrt(int))`. I'm first searching in the array for the letters 'sqrt' so that my custom function … | |
<html> <head> <basefont face="Arial"> </head> <style> body { background-color: #E6E6FA; } </style> <body> <?php error_reporting(E_ALL); if (!isset($_POST['Submit'])) { // form not submitted ?> <H3>Search Records Application</H3> <form action="search.php" method="post"> Search <input type="text" name="search"> <select size="1" name="dropdown"> <option value="" selected>Search By...</option> <option value="BookID">Book Id</option> <option value="transactiondate">Transaction Date</option> <option value="storename">Store Name</option> <option … | |
Hi, This is my code: def update_cost(self,newcost): if self.view.curselection() == (): tkMessageBox.showerror(None,'No Item Selected') else: for key, value in self.products.mydict.iteritems(): check1=self.products.mydict[self.select_id()].get_depend() if check1==[]: v=self.products.get_item(self.select_id()) v.set_cost(int(newcost)) self.write() else: tkMessageBox.showerror(None,'Cannot Update Cost Of Compound Item') def select_id(self): index = int(self.view.curselection()[0]) item = self.view.get(index) return item.split()[0] view is just a class which inherits … | |
Hi friends, i am doing a basic menu based Car rental system in C. i have a doubt regarding switch... do C permit us to use multiple switch case? or a Case within a Case?? | |
I need to design an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard. This is what I have so far. public static void main (String[] args) { int odd=0, even=0, zero=0; Scanner scan = new Scanner(System.in); int … | |
I have three scripts running under crontab and theyre executing perfectly (see the log below): Oct 9 10:40:01 servercharlie CRON[29850]: (root) CMD (php -q /var/www/folder/script-3.php) Oct 9 10:41:01 servercharlie CRON[29861]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:42:01 servercharlie CRON[29867]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:43:01 servercharlie CRON[29873]: … | |
I'm new to javascript. Lets say I need to create a new `<p>` everytime the user clicks on a button. So I create a button in the html body and assign a function as the event handler of `onclick`. This function is in a separate file called "file.js" which I … | |
Hi Guys... I've had some great help from the members in Dani Web so thanks for all the support so far. Now My first ever credible application is working I would like to try and setup some type of Licencing for it. I've come across many tutorials in regards to … | |
I've had a sudden surge of interest in an old (2007) program which is an MFC Dialog based app. So I'd like to spruce it up a bit, and one of the annoying errors is that its proper icon does not appear in the bar at the bottom of Windows. … | |
Hey guys, im new to programming, just took my first course in university. I'm currently trying to program a calculator that does multiplication, but its giving me this error: C:\Users\Karim\Documents\Karim.java:9: error: package Java.util does not exist import Java.util.Scanner; And ofcourse followed by a few other related errors. Anyone know how … | |
//**************************************************************************************************** // Project15.java Author: Lewis/Loftus/Cocking // // Write an application that plays the rock-paper-scissors game against the computer. When played // between two people, each person picks one of the three options at the same time and the winner is // determined. The program should randomly choose one of the … | |
1) Could anybody tell me why I am getting a NullReferenceException when I hit exit? 2) Also, how would I display my txtPrice in currency form ($0.00) 3) How would I disable my navigation buttons at the same time once they reach the end of the datagrid? Option Strict On … | |
hi, is it possible to collaborate matlab and c#? if yes..how do you do it? and will the application be able to run on windows phone 7? | |
Hi , In my website , using jquery I animated my banner . I downloaded bumpbox 2.0 from http://www.artviper.net/website-tools/bumpbox-lightbox.php and integrated in website to generate pdf file lightbox . Light box is working but my banner jquery is not working . I mean banner is not animating.Banner animation jquery is … | |
i want to save my picture in database i have these codes but then there is an error . " command text was not set for the command object " how to solve this problem? thank you.! Try If imgName <> "" Then Dim fs As FileStream fs = New … | |
i want to create a login page for admin anduser.suppose admin is login access to all pages.But user is login only display for user details page.so any idea give me.i want to related script | |
I have a text file containing contents like 1 A 0 -1 -2 -3 -4 2 A -1 2 3 -4 -5 So I read the file and used split function as @a=split(/ /,$_) and took each line into array a. But now when I take these into array a … | |
Hi guys i got a problem, I have a page requesting rows from the other page via ajax the data that will be return includes a field for date, then use datepicker, my problem is the return data doest read datepicker from jquery cause it is retrieved via ajax heres … |
The End.