CodeCodex:Requested articles

From CodeCodex

Revision as of 21:36, 12 March 2007 by 206.160.140.2 (Talk)

ASCII file save

I am requesting an article about how to save a text / ascii document. -Codecodex 13:22, 1 May 2006 (CDT)

Recursive descent parsing code

I'm requesting a recursive-descent-parser code.It parses expressions from standart input , all expressions are enclosed are parenthesis, one pair of parenthesis per one infix operator.ex: = x 5 =>5

= y 9

=> 9

(x + y) => 14

I added code in C -- See here: Recursive descent parsing -206.160.140.2 09:17, 16 May 2006 (CDT)

Cryptographic code

hiii... does any one have code for any cryptographic techniques.. pls send it soon.

Are you looking for a specific laguage? Here's a good resource if you're looking for Java. [1] -WikiSysop 10:57, 15 July 2006 (CDT)

Calculate pi in hexadecimal

I'm requesting a method of calculating a large number of digits of pi in hexadecimal (not digit-extraction). --172.190.244.120 16:05, 15 July 2006 (CDT)


--Are you looking for something that converts pi to hex, or something that generates pi using hex?

Uploading a file

Hi friends, Can anybody tell me how to upload a file(in java)? Like we upload files in yahoo,rediff etc.,


Yours, Member.

Hi and welcome. I just created CodeCodex:Upload Filetypes, a place where we can talk about file types that we should allow to be uploaded.
I've already added .java .jar .zip and .rar. What other file types should we allow to be uploaded? -Nostromo 12:20, 9 August 2006 (CDT)

Matlab insertion sort and mergesort!

Hi can anybody give solution to the following problem in the form of code

Implement functions InsertionSort and MergeSort in Matlab. The function InsertionSort should be in the following form

[sorted_array no_comp] = insertion_sort (unsorted_array);


where unsorted_array is an input array of numbers, sorted_array is an output array of numbers sorted in the descending order, while no_comp is the number of comparisons performed by the function.

Similarly, function MergeSort should be in the following form

[no_comp] = merge_sort (unsorted_array);


where all input and output elements are defined in the same way as for InsertionSort. The difference between two functions is that MergeSort assumes that unsorted_array is a global variable defined in the wrapper function that calls it. Variable unsorted_arraywill be sorted in the descending order once the function returns to the main program.

Note: make sure that functions work for empty and small-sized input arrays.

Request for Wiki source Code

Hai, I am working on an application which needs to help the user create pages on the fly. I would be glad if some one could send me wiki source code. thanks and Regards ashok vundavalliashok@gmail.com

Hi Ashok, download MediaWiki here. Good luck! -Nostromo 21:53, 22 February 2007 (CST)

Delete files and folders

I would like someone to add the C source code for:

Deleting a file, Deleting an empty folder, Deleting a folder with it's contents,

or anything similiar

Please.

Thanks.

Welcome. Did you look in Category:I/O? You may or may not find C code there (most of this category is Java based right now) -- if you don't see it, please add it! -Nostromo 10:59, 9 February 2007 (CST)

GNU/Hurd

I'd like to see the source code for GNU/Hurd added. This GPL'd OS has the potential to surpass Linux in usability and adaptability.

Why not just get it yourself from [2]here. As it says on the Community Portal page, “This is not the place for entire packages or applications”. That would also go for operating system kernels.Ldo 00:40, 15 February 2007 (CST)

prison management system

i need code on prison management system .

Could you share a little more about your project? -WikiSysop 12:48, 6 February 2007 (CST)

requesting a code

can anyone please mail me a complete uniform cost search code written in java. i'm not a java progammer so please make it simple for me to understand and in a single java file. please don't use packages.. coz i won't understand a thing.

Thnks..

mail to: rinku0bd@yahoo.com

Hi runku0bd. You can find some information here: Uniform-cost search, however, I'm not sure you're going to find much of anything useful on CodeCodex if you don't understand some programming basics, like packages. Also, it's poor form to ask that someone email you on a wiki when asking questions -- the general etiquette is to return after a period of time to find a response. Good luck. -Nostromo 10:39, 9 February 2007 (CST)

How to create bar code in Java/JSP

Can you please suggest me with example code how to create bar code in Java and JSP. mail to: sudhirkumarsahoo@gmail.com

Sudhir, check out this sourcecode.

Struct Student_Information

<HIGHLIGHTSYNTAX language="COBOL">Struct Student_Information{

char f_name[15],s_name[15]; char course_title[15]; int roll_no,age float cgpa;

Struct student_address{

char permanent_address[50]; char correspondence_address[50]; char email_address[25]; }; address

Struct student_fone_number{

char home_no[15]; char mobile_no[11]; char work_no[15]; }; fone }; student</HIGHLIGHTSYNTAX>

ASCII

I would like to know how to change Letter to ASCII in Java

Hi. Are you trying to get the ASCII code from a character? Try something like this:

<HIGHLIGHTSYNTAX language="java122"> public static void main(String[] args) { System.out.println(Integer.valueOf('A')); System.out.println(Integer.valueOf('B')); System.out.println(Integer.valueOf('C')); System.out.println(Integer.valueOf('a')); System.out.println(Integer.valueOf('b')); System.out.println(Integer.valueOf('c')); } </HIGHLIGHTSYNTAX> Output will be:

65
66
67
97
98
99

Note that this is actually the Unicode value of the character. However, the first 255 characters of Unicode are identical to ASCII, so it still works fine. Check out ASCII Table for more ASCII codes. -Nostromo 21:42, 22 February 2007 (CST)

I added this answer to an article: Find the ASCII or Unicode value of a character. -Nostromo 21:51, 22 February 2007 (CST)

process management in linux

need source code for linux process management

Could you provide a few more details on what you're trying to accomplish, and what you've found so far? Thanks. -Nostromo 10:35, 24 February 2007 (CST)

Database code

need code for a fully functional movie store database in java

huh? could you provide more details about what you're trying to do?

code to parse e-mail

This is sivagnanam and i need code to convert e - mail into text file

What format are you converting from? -206.160.140.2 16:35, 12 March 2007 (CDT)