199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for d5e5

Someone mentioned in another thread they had found and downloaded [URL="http://search.cpan.org/~adamk/ORLite-1.45/lib/ORLite.pm"]OrLite[/URL], presumably to consider using it to access data in an SQLite database. Since, to use OrLite you need to have the DBI and DBD::SQLite modules installed on your computer as well, I think you could just use DBI to …

Member Avatar for d5e5
1
261
Member Avatar for MikeTackett

I consider myself still a novice programmer but I'm starting to develop and maintain applications with end users for the company I'm working for. We don't have a policy on version numbers and I'm looking for advice on when best to update them. I understand the major.minor portion is largely …

Member Avatar for kvprajapati
1
256
Member Avatar for ace8957

Hi all, So I have reached a kind of impasse on my current project. I'm trying to make a program that can function like a phone book, loading information from a file into a binary search tree and performing operations on said information. The issue I'm having appears to be …

Member Avatar for ace8957
1
7K
Member Avatar for TrustyTony

Here another small snippet of mathematical nature returning all possible divisors of number. (set is, by the way, needed because of perfect squares Not possible to edit the snippet part but here the same with less stupid command line interface (not repeating the loop): [CODE]def divides(n): return sorted(set(sum( ([x,n/x] for …

Member Avatar for TrustyTony
1
877
Member Avatar for mancode1007

I am quite confused how to encrypt the password store in the database so that if the database found by pupil it cannot take password from the table .Anyone can show me how to encrypt password .I m using microsoft acess as the databese. please help ....thx

Member Avatar for Luc001
1
283
Member Avatar for ashishkumar008

A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays". [COLOR="Red"]NOTE:-[/COLOR] I'm using Single dimensional jagged array. Actually I am using single and multi dimensional arrays as …

Member Avatar for Shlesh
1
139
Member Avatar for tottletj

Basically I've looked everywhere for help with this problem and been unable to find any so i thought i'd ask here. I have a text file full of numbers which i wish to manipulate. the actual text file has about 200 rows and 10 columns, but in this example i'll …

Member Avatar for Gribouillis
1
105
Member Avatar for niehaoma

The purpose of this is to obtain a genuine critique of my source code (based on a fairly simple concept). I realize I may not have the cleanest implementation for testing for prime, due to the fact I am not an aspiring mathematician. I am interested on critique of the …

Member Avatar for hsetaknev
1
190
Member Avatar for artemis_f

I normally program in Java and Haskell to me seems completely alien and weird. All I want to do is read the contents of a file into a big string then be able to do stuff with that string like split it on newline and store it in a list …

Member Avatar for sweetypie
1
1,000
Member Avatar for jon.kiparsky

Most of the posts here are from people with problems, looking for help. I thought I would try to talk a bit about ways to find your way out of "stuck". It's been on my mind lately, since I've been wrestling with Swing and it's been winning. Finally worked out …

Member Avatar for apines
1
127
Member Avatar for Buffalo101

Hello, I'm trying to change the look of java apps to something native. In my first JFrame, I'm using: [code=java] try { //org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel //de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel //com.jgoodies.looks.plastic.Plastic3DLookAndFeel //UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (InstantiationException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (UnsupportedLookAndFeelException e) { …

Member Avatar for leiger
1
159
Member Avatar for timdog345

I need t o make these paterns [code] * * ********** ********** ** ** ********* ********* *** *** ******** ******** **** **** ******* ******* ***** ***** ****** ****** ****** ****** ***** ***** ******* ******* **** **** ******** ******** *** *** ********* ********* ** ** ********** ********** * * [/code] I …

Member Avatar for coldzero_82
1
119
Member Avatar for rodkay

Hi all, Quite a basic question for most of you; I am trying to obtain length of a string < char [b]name[MAX_ENTRIES][MAX_NAME_SIZE][/b] > for use in a for loop that will perform isalpha. [size=3][color=blue]for (int j=0; j < &name[i].length(); j++)[/color][/size] [color=black]I am getting [/color][color=red]error 2228: left of '.length' must have …

Member Avatar for ashishkumar008
1
176
Member Avatar for thr

Hello i want create gui for aria2c( internet download manager ) with java for doing this aria2c has built in xmlrpc. i use xmlRpc to create gui for aria2c. in aria2c support site there is a example code for python programming language that uses xmlrpc [CODE]>>> import xmlrpclib >>> s …

Member Avatar for leiger
1
630
Member Avatar for Gribouillis

This snippet defines 3 functions to create in a few seconds an image of a graph containing arbitrary python objects. It uses the module pygraphviz (available at [url]http://pypi.python.org/pypi/pygraphviz/[/url]). See the example use case at the end of the module.

Member Avatar for woooee
1
1K
Member Avatar for MD656

Hello everyone. I am looking for a little assistance in trying to accomplish something that seems pretty impossible.. I am currently writing a program that uses multiple scripts we use to diagnose software we use in our environment. Currently, the only we retrieve our information is going to the local …

Member Avatar for lolafuertes
1
182
Member Avatar for Asif_NSU

I was trying to do some simple exercises on recursive functions: 1. Write a function using Recursion to print numbers from n to 0. My solution: [CODE]int integer(int n) { if(n>=0) { printf("\n%d",n); integer(--n); } }[/CODE] The next exercise was 2. Write a function using Recursion to print numbers from …

Member Avatar for rexel0924
1
215
Member Avatar for jeffcogswell

The other day Google announced a new API console to simplify working with their various APIs. These APIs are basically REST-based calls into the Google servers where you connect through a URL, passing different parameters in the URL itself, and get back a response. The response comes back as either …

Member Avatar for 360anish
1
522
Member Avatar for djcrab

Hey everyone. Need some assistance again please. Here is what my assignment says word for word: The sum of the lengths of any two sides of a triangle must be greater than the length of the third side. For example, the numbers 3, 4, & 5 can form a triangle …

Member Avatar for djcrab
1
4K
Member Avatar for DavidRathbone

Looking on the web very few have got VB.net 2008/2010 using object arrays working. I felt it was time to give back what I have taken from the web for any other users. VB6 had a simple object array system which has been lost in VB.net As a C#/ C++ …

Member Avatar for AndreRet
1
2K
Member Avatar for ccclay

Wget is a very useful tool, however, I dont know how to use it in python. Below is my try but with no luck. Would you tell me the right way ? Thank you very much !! I made a wwget.py [CODE] #!/usr/bin/python import urllib2, urllib img=wget("http://blog.freetimegears.com.tw/patrick/archives/Maple-tree.jpg") [/CODE] Running in …

Member Avatar for JDBurnZ
1
12K
Member Avatar for TrustyTony

Here some experiments to pretty print polynomials with help of vegaseat's tip of wx.lib.fancytext.

Member Avatar for Gribouillis
1
765
Member Avatar for fuston05

I am self taught in php only. now im starting to learn javascript as well. I have noticed so far that I can dynamically creat my pages, forms, validation etc... with js just like i can with php. (at least that seems true so far from what i am learning). …

Member Avatar for chrishea
1
255
Member Avatar for LianaN

Hi! Could someone please help me to solve one more problem. To read the data (ArrayList) from file, I'm using the following code, which assumes that columns are separated with ",". It works perfectly: [CODE] public static List<UserDataRow> readData() { List<UserDataRow> listofusers = new ArrayList<UserDataRow>(); FileInputStream fstream = null; try …

Member Avatar for LianaN
1
6K
Member Avatar for chris evans

Hey guys! Im working on a login form that connects to an SQL 2008 database. i have created records in the table for users who can login. i however want a code snippet that matches the username and password entered with the records in the database. i have a rough …

Member Avatar for Netcode
1
8K
Member Avatar for viperman224

Is it possible to make a very simple game with C++? any good sites to read up on how to do it? I have a program called Dev-C++. any kind of tips or code that i should know? I'm am just a noob at C++. I wish to play with …

Member Avatar for nrfae91
1
831
Member Avatar for Dani

After being requested to write a tutorial a few times, I've finally found the time to create a mod_rewrite tutorial for vBulletin 3. What this tutorial will allow you to do is make your vBulletin forum search engine spiderable - for Google and all the others. [i]<< update >>[/i] [i][b]This …

Member Avatar for zuerich-finanz
1
8K
Member Avatar for laidback7

I'm trying to implement a gap sort which is a bubble sort that instead of comparing neighboring elements to sort a list, it compares elements 'i' positions apart. I can get the sort to execute the loop once, but I can't figure out how to make my program continue looping …

Member Avatar for pavigo
1
566
Member Avatar for niths

hi all, i need to split a string and place it in two strings..like $f1=123 4567 is a string. i need to place 123 in $f2 and 4567 in $f3 how to do that can any one help me

Member Avatar for cwarn23
1
112
Member Avatar for Krstevski

Hello friends, I wrote a simple class for string validation and now I want to share with you. The class contains: - Constructor(s) public Validator() public Validator(string text) - Properties private string strText = string.Empty; - Method(s) public bool isNullOrEmpty() public bool isNullOrEmpty(string str) public bool isLengthMax(int maxLength) public bool …

Member Avatar for Momerath
1
245
Member Avatar for christiangirl

Hello, I have to make a program using heapsort, and am having trouble getting it. I think the problem is with either fixup() or buildheap(). I am having trouble understanding the syntax for both of those methods, the teacher gave us the code for them, but I am having trouble …

Member Avatar for budi indri
1
156
Member Avatar for ug61oxk
Member Avatar for masijade
1
365
Member Avatar for Roses89

Hey guys, Im using visual studio 2010 to work on a project. The project is to build a website for a hospital. Now the login has three types of user logins, patient, doctor and administration. The login is the default one in visual studio 2010, and for each type of …

Member Avatar for Roses89
1
107
Member Avatar for jib

I need to create an application that displays math problems by randomly generating two numbers, 1 through 10, and an operator (*, -, /, +) and prompts the user for an answer. The application should check the answer and display a message, display the correct answer and generate a new …

Member Avatar for killbill07
1
297
Member Avatar for Gribouillis

The with statement allows all sorts of syntactic sugar in python. This snippet defines two contexts: [icode]inevitably[/icode] and [icode]preferably[/icode] which register a function call to be executed at the end of a block of statement. Although they are not very useful (the function call could be written directly at the …

1
550
Member Avatar for Steven_C

Hi all, i am new to VB.NET/ASP.NET. I need a sample project for an online banking (login and view transactions). does anyone have a sample project, or anything that is close to it??? even if you have only a sample login form, i will really appreciate. thanks in advance.

Member Avatar for vanjan3.0
1
705
Member Avatar for rakeshbpatel

Hi, How to Open PDF document in asp.net web page without asking save/open/cacel dialogue . I have tried but every time it prompts for saving/opening or cancel action. Thanks in advance. Rakesh

Member Avatar for rajeshprasath
1
1K
Member Avatar for manoj201jain

Hi Everyone, I had written the source code in .C file and compile it without any errors but when i run that program it gives me linker error. i.e. Linker Error : Undefined Symbol _getmaxx in module filename.c I am using TURBO C++ version 3.0. Pls give me the solution …

Member Avatar for Ancient Dragon
1
1K
Member Avatar for onlinessp

Hi i am currently working on a project i got a problem from few days. Problem is that it is giving System.NullReferenceException in output.Can any one able to remove it by editing the code. The source code is [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; …

Member Avatar for ashu.innominds
1
147
Member Avatar for Gribouillis

I thought users of the python forum could be interested in a seminar conference by Guido van Rossum about the design and implementation of the python language, so here is the link [url]http://irbseminars.intel-research.net/GuidoVanRossum.wmv[/url] (it may be easier to download the file first instead of reading it directly from your browser)

1
115
Member Avatar for hoganmadman

the basic idea of what im trying to do is write a program that reads an arbitrary number of integers less than 20. then it prints out the position of the integer in the order the user inputed it then it finds the sum when it scans a non integer …

Member Avatar for hoganmadman
1
145
Member Avatar for vibhaJ

Hi All, I have javaPowUploader for multiple file upload. I am able to upload file upto 4GB after php setting. But how can i upload file greater than 4GB?

Member Avatar for richieking
1
155
Member Avatar for Syrne

So, my assignment is to take in a student ID, first and last name, and 5 test scores. I am then to average the test scores, collect all of that data into an array and output all of the information in a tabular format(which I have yet to do). I …

Member Avatar for SgtMe
1
381
Member Avatar for zachattack05

I have an application that, on occasion, might need to perform certain tasks on files, or other things that are "in-use" while the application in running. This is what I've tried to do, but I'm running into problems: I created an interface: [CODE] interface IShutdownCommand { void OnShutdown(); } [/CODE] …

Member Avatar for zachattack05
1
124
Member Avatar for Tewhano

Anybody here ever use wrappers? I have a project that I have been wanting to code for years now but never had the resources to do so until now. I am not a programmer by trade but have studied programming in the 80s. I have used VB in access. The …

Member Avatar for Momerath
1
113
Member Avatar for crazylunatic

I have been doing a small project as part of my lab assignments and I encountered this funny probelm while working with the files in C++. I have this class Member which I am using to store the member details. [code=c++] class Member { private: char name[30]; long int userid; …

Member Avatar for deeps84
1
343
Member Avatar for Crisis757

{ int age; cout <<"Enter Age" << end1; cin >> age; cout <<"The age you entered is" << age return 0 }

Member Avatar for dodo rawash
1
171
Member Avatar for happygeek

Many of the biggest forum-based online communities, including DaniWeb, are powered by vBulletin software. So it came as something of a shock when the BBC reported that a [URL="http://www.bbc.co.uk/news/technology-10714192"]vBulletin security flaw means that any hacker could "easily access the main administrator username and password for a site"[/URL]. But is the …

Member Avatar for Bruce100
1
612
Member Avatar for abhiab1991

1) Write a program to count the number of blank spaces in a given string. 2) Write a program to abbreviate a given string (e.g. if the input is Amar Akbar Anthony, the output will be AAA)

Member Avatar for abhiab1991
1
133
Member Avatar for ziggystarman

Hi I'm looking for good tutorial/s about using boost::regex with c++ code examples any links would be really helpful... Many Thanks Steve PS not tuts about setting up boost, done that already.

Member Avatar for ziggystarman
1
236

The End.