199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm on Christmas Break and am bored out of my mind so i decided that i wanted to write a program that generates a SOLVED Sudoku board, i.e., it has all the numbers filled in. I'm going to write a program later to turn it into an unsolved puzzle. … | |
I am attempting to write assembly code for linux using nasm. I have an include file containing io functions that was originally written for windows using masm and I am trying to convert it. I have on procedure that I am having problems with. The procedure is supposed to recieve … | |
This is an Assignment I have to do, I did everything but just don't know how to loop it. The part where it says "You need to pick a number from 1-3" I want it to loop even if the user entered a wrong key. Because right now, if the … | |
Hi, Firstly Ill say that I'm a comlete newbie to perl, and this is more of an investigation question than a code one. I want to use perl for a CGI script- however I need the source code to be completely closed source - so that users cant decompile it … | |
I am getting this error Exception in thread "main" java.lang.NoClassDefFoundError: TestApp (wrong name: Test/TestApp) which I have googled and tried suggestions, but it doesn't fix it. I have tried unsetting my CLASSPATH etc. and it doesn't work. The file TestApp.class IS in the directory that I am running the program … | |
Hello I am trying to add a poll function to a forum. the adding forum has radio buttons which asks the user whether he wants to add a poll or not. If he chooses yes the questions and the answers will be added to the database. I have included five … | |
I'm writing an application with Directx 9. Where I start the application in full screen mode, the image fills to fullscreen and then immediately reverts into a regular window. There aren't any problems when I run the application in windowed mode from the start. I was wondering if anyone has … | |
and I honestly have NO CLUE what I am doing. I have a hangman project that I have been working on for two weeks now. However this week, I have found myself completely outdone. I want to master this class so bad. I have maintained a 4.0 in all classed … | |
I'm tring to display an encrypted number store in sql database I have a key store in my application.cfm. and they number in my database is encrypted. My display code looks like this [CODE]<cfloop query="Get_Orders"> <cfoutput> <tr> <td><div class="content_black">#Get_Orders.Credit_Card_Type# </div></td> <cfset key = #application.key#> <cfset Cardnum = '#Get_Orders.Credit_Card_Number#'> <cfset CardDec = … | |
how can i create a form with three different buttons displaying three different languages on them, so that when i click on a language button it changes the english expression "WELCOME TO THIS NEW FORM" on another form into the language button i clicked. so therefore there are two forms … | |
Ok, Here is my issue. I have written a script that takes Weblog files that have been GZipped. Parses them outputs the required data to another file. GZipps that file and leaves the original in tact (Actually it unzips it, then rezips it). Anyway, it runs just fine on my … | |
Im not sure what Im doing wrong here but basically this script scrapes pages. The array has 3 urls to scrape but it doesnt work. Could someone please show me where Im going wrong. [code=php] <?php $req_url = array('http://www.first.com', 'http://www.second.com', 'http://www.third.com'); function get_head($a,$b,$c){ // Gets a string between 2 strings … | |
Hi, I need some enlightenment with copying arrays in JAVA from some of ya seasoned lots. I have this 2d array , twoDarray[10][6] and another 1d array oneDarray[1,2,3,4,5,6]. I'd like to copy the 1d array into the 4th row of the 2d array.Suggestion please. Thnx in advance. | |
I like to write a screen capture utility. Plan : have a master control form, let it make a second transparant form on wich a selection rect can be drawn, copy the screen under the rectangle to a Bitmap with Grapics.CopyFromScreen. Here is the essential code I have so far: … | |
Hello. Ive got this small script which caches a web page. It names the file with a unique ID which is all fine but I need it to name it with the unique ID but with a HTML extention. How would I do this? Heres my script... [code=php]<?php $page = … | |
Happy Holidays! Is it possible for a PHP FORM to send data from say... [email]dog@senddata.com[/email] (form user) to [email]cat@getdata.com[/email] (data recipient) BUT... when [email]cat@getdata.com[/email] gets the email with the data in it, if cat decides to REPLY, [email]dog@senddata.com[/email] WILL NOT be in the TO list at all. This needs to … | |
Hi everyone, I'm stuck on the best way to handle this. In a nutshell, I'm creating a website that sets up forums between one or several parties. Each participant of a forum can upload file attachments to any message they post. What I want is a way to protect those … | |
I need to connect my hosted vps in a data center to my sql server so I can pull info out of a database for our website. I setup a vpn by the windows dialup vpn wizard. It works fine but when I logoff the VPS it disconnects the VPN … | |
hi, i wrote the following program on python IDE. but i got "no module MySQLdb" as import error. can u give me any sugg import MySQLdb # Create a connection object and create a cursor Con = MySQLdb.Connect(host="127.0.0.1", port=3306, user="rajasekhar", passwd="venkata" db="tst") Cursor = Con.cursor() # Make SQL string and … | |
hi I am working in asp.net,vb.net I have to copy all files from 1 folder to another folder through coding using system.io the files in the new folder should remain with the same name how to do this. | |
Is there any class in java or a package that one can use to manage IP configuration. I mean i was planing to develop a cafe timing application that allows people to bring in there computer system and it will not allow the client system to browse when their time … | |
Hey everyone. I am working on adding a 'search' field to a page and I'm using ajax to update the content of the page. When someone types a letter into the search box, the page content updates based on what they type. I have this all working as far as … | |
I have a table called "users", in the table it contain a column/ field name "reg_date" how would i run an query to say: For all the users, if their feild "reg_date" is blank put "20th December 2008" | |
Please I want to make Pascal's triangle in console application | |
:( :S :sad: Help me people I need to convert strings in Python to other types such as unsigned and signed int 8 bits,unsigned and signed int 16 bits,unsigned and signed int 32 bits,unsigned and signed int 64 bits,double,float,string,unsigned and signed 8 bit,unsigned and signed 16 bit, unsigned and signed … | |
I would like to self study java programming. What would I do to successful my learnig give me an advise | |
hi everybody, i wan to develop web application by using python on mac os. i am trying to get a link between html and python code. can i give a link between them or not. if it is possible please send me your valuable suggeitions thank u | |
Can anybody please tell me what are the pre-requisites to understand the suffix trees. I am learning suffix tree from this: [url]http://www.allisons.org/ll/AlgDS/Tree/Suffix/[/url] I am not very good at algorithms and I couldnt understand how suffix trees are made. Please help me! | |
Hi Guys, I'm trying to create my own DBMS. For now i want to create a simple one where i can 'create' tables, 'insert' data and do a 'select' for all values(no where condition as of now). Very basic features. This is the first design/pseudo code that i have come … | |
public class solve{ public static void main (String []args){ A cs = new A(); int first=34; int second=4; System.out.println("Sum:" + cs.add(first,second)); System.out.println("Difference:" + cs.subtract(first,second)); } } i got this code, unfortunately it refuses to run.. please help.. Something is wrong with "A", dnt know what it is...:( | |
Hi I am newbee to C Can anybody explain about int main(int argc,char* argv[]) Advance Thanks for helping | |
hi all, plz explain diffrence between inc and php like include("menu.inc"); include("menu.php"); every body is invited | |
What are the differences between ASP.NET and ASP? | |
Hello guys ! i find this place really helpfull for developers (ow really ? lmao) ok here i made an mysql query that looks like this ; [code=php]$result = mysql_query("SELECT id,title,description,data,author,mini_img,view FROM data WHERE data>'$data_begin' AND data<'$data_end'",$db); [/code] i checked for missplaing and nothing ... i have doubs about data(its … | |
Hi, I am using Visual Basic 2008 Express Edition and published an application, and when I run the setup, it seems to install okay but when you run the program get an error message that the .sdf file is not found. I am using a Compact SQL database. I have … | |
I have a combobx on the form and i enter the value in the combobox and then click save button and the values get stored in the sql table.but i want to display all the values in the drop down of the combobox what ever i enter during the run … | |
i want to get the [COLOR="Red"]ROLE [/COLOR]of an user by entering the username and password in login form.... for example:: username password role ramesh xxxxxxx manager loginform:: enter username: enter password: [U]plllllzzzzz any one post the required query of the above problem[/U] | |
sir I want to know how to call any exel sheet in asp.net | |
[ICODE]//Deck Class #include<iostream> #include<stdlib.h> using namespace std; class Deck{ int Cards[51]; public: Deck(); void Display(); void Shuffle(); }; Deck::Deck(){ for(int n = 0; n < 52; n++){ Cards[n]=n; } } void Deck::Display(){ for(int n = 0; n < 52; n++){ cout << n+1 << ". " << Cards[rand()%51] <<endl; }} … | |
Hello Friends, This is Knr i require calender function, when we click on calender image the calender of this month has to be display and we have to select the date iam placing the image please please friends i have to get the things like that Thanks in advance | |
hi guys...! when i tried to insert the form's information into the database either the check box in the form is checked or not once this check box in the table appear as checked and second time unchecked... i don't know why that is happening...? please help out... thank you … | |
Hi guys.I am new to web development and of course I have been experiensing some problems.Most of them are easy to solve and I usually find my way, but there is some thing that is getting on my nerves for some time now. I have been trying to make a … | |
i have one text box date of birth and submit button ..if i click that submit button the calender should open ...if we selevt any one of the date on that calender the date should display in dataof birth text box.. can anyone tell me the javascript code for this … | |
I have a table in a database. The primary field is ID Int(11) auto_increment. The public display of the table sorts the table by ID. I have a back-end member area where a member can log in and add a new record to the table. This new record displays on … | |
I wish to know if there is any way to refear to an empty querry result. I want to implement a safety measure that prevents users from entering duplicate names in a DB. so I colect the value they enter in a textbox, then I create a querry wich checks … | |
Member is class consisted of member informaiton such as firstname, lastname, phone etc. would anyone please point out what this function gave me NullPointerException runtime error? I think I initialized everything. thanks [code] public static void read(Member box[], int count) { Scanner reader = null; try { reader = new … | |
How do i escape a string that includes a lot of ' and " Here is my sql inser query's some part [code] VALUES ('','$_POST[FileID]','$_POST[FileAddress]','$_POST[Name]','$_POST[Requirements]','$_POST[DateAdded]','$_POST[Size]','$_POST[Changes]')"; [/code] | |
Hello, I'm new to Python and I'm using Pydev. I'm having a problem: I have several classes and several variables outside the classes. I want to change a variable outside the classes from within a class: e.g. [code]# Class [B]class name_change(object): [COLOR="Green"]"""Change a text variable outside this class"""[/COLOR] def name_change(self): … | |
Ive done an asp site - it all works perfectly on my local machine and also when i upload it to a test area in one of my other sites ive done (hosted by fasthosts) but when i upload it to the clients test area it doesnt work - it … | |
Hi, is there a socket library [B]besides WINSOCK[/B] that I can use with Dev-C++. I don't have a <sys\socket.h> include. Is there a devpak that I can get, or am I doomed to WINSOCK? |
The End.