18,491 Topics
Hello everyone! I am trying to write a program in C for the RSA encryption. I have come this far and can't seem to go further. I don't understand why it is not giving me the desired results. My program style may be a bit naive i am just starting …
IBM has just announced the arrival of [URL="http://www-03.ibm.com/servers/deepcomputing/bluegene.html"]Blue Gene/P[/URL], the newest and fastest supercomputer around. How fast? Well Blue Gene/P just about triples the performance of Blue Gene/L, which currently holds the official title of the world’s fastest computer. The IBM System Blue Gene/P Solution is designed to operate continuously …
The internet gives us a wealth of information, and programming is no exception. You can literally find learn about any language just through a broadband internet connection. And since 90% of the tutorials out there are free, what better way to learn programming than if it doesn't cost us a …
You know when you are invited to the [URL="http://www.stjohns.co.uk/"]St John’s Innovation Centre[/URL], part of the Cambridge Enterprise Hub in the UK that supports early-stage knowledge-based businesses and research institutes, that you are going to be in for an interesting day. When it is a press day with a focus on …
Thursday 24th August could be a date for your diary if you happen to be in the market for compilers and development tools for the high-performance computing arena. Especially that which nods towards parallelization and optimization functionality in order to squeeze multi-core processors to the max. The [URL="http://www.pgroup.com/"]Portland Group[/URL] have …
So many of us C forum old timers have answered the same basic questions so many times that even our occasional attempts to be humorous or creative with them seem to get dull. You'd think that by the end of week one that a programmer new to C would have …
Ever since I got my computer, I can no longer remember small reminders. For example, more than once my mother told me to look after the boiling water; I tell her yes and completely forget about everything. The result can be very catastrophic. Therefore, I tried to find a solution …
“Can I have that in English, please?
Two version that do exactly the same thing!
Cheap, dirty code for Windows and *nix.
My implementation of the [ICODE]strcmp[/ICODE] and [ICODE]strncmp[/ICODE] functions. I don't think that it is very efficient, but have managed to get both the functions' execution times to [ICODE]0.01 s[/ICODE] (At least, this is the value my profiler gives me). Enjoy! :)
[U]Usage::[/U] [ICODE][B]ir_strcpy[/B]( [I]destination[/I], [I]source[/I], [I]range_begin[/I], [I]range_end[/I]);[/ICODE] [U]example:[/U] [CODE=c] char test[] = "Hello World!!!"; char test2[20]; ir_strcpy(test2, test, 1, 3); /* test2 now contains 'ell' */ [/CODE]
This is how mine [B]strlen[/B] function would look like if I'd to implement it from scratch :)
This is how mine [B]strcat[/B] would look like if I'd have to write it from scratch :)
This is how mine [B]strcpy[/B] would look like if I'd have to write it from scratch :)
{-='Display the numbers and compute it using Dev-C LaNGuaGe'=-}
{-='Ask for the Student Name & Compute the grade using Dev-C LaNGuaGe'=-}
{-='Read a number series and print it reversed using Dev-C LaNGuaGe'=-}
{-='Number of Rows (Reverse) using Dev-C LaNGuaGe'=-}
{-='Converting Fahrenheit-Celsius & Vice-Versa using Dev-C LaNGuaGe'=-}
{-='Display the number of letters in each word typed using Dev-C LaNguaGe'=-}
{-='Calculate the average of ten numbers using arrays'=-}
[B][I]{-='PLs DrOp sUm cOmMeNT gUy'z...=-}[/I][/B]
This is a quick and dirty example of a hex dump utility. Not much in the way of special features -- it just dumps the contents of a hard-coded filename in hex and also shows the characters. An example that can show the basics of making your own.
This program can solve expressions of the following forms: [ICODE]a+b[/ICODE],[ICODE]a-b[/ICODE],[ICODE]a*b[/ICODE],[ICODE]a/b[/ICODE] ([ICODE]a[/ICODE] and [ICODE]b[/ICODE] are numbers :P) Notice: You can't put spaces in between the operands and the operator, I know this is a limitation and that there are thousands of other ways to achieve a better result, so please don't …
A game... Depends fully on luck that u have and a little bit of smartness.. You will be given 3 chances.. and 3 nos will me running randomly. u have to click when all t three no are same.. if u succeed in this then u are t winner.. Smart …
This is very very simple c code.. it has simple maths logic involved..
The program is exactly to work out with maths fun.. u think of a two digit no.. say 24 now add both the digits i.e;2+4=6. subtract 6 with the no tat u thought originally.. i.e;24-6=18.. see t symbol which correspond to the no 18 and then press enter to see …
This program take user name and password from the use but the password not display on screen insted of password ***** display Program by Meghdoot(meghs)
Here's some rudimentary code that does directory traversal recursively. Useful for inspecting the contents of a directory subtree. Sorting the directory information or inspecting file details within directories is beyond the scope of this routine.
This code snipplet will find the placement of each letter in a array(string), from another array(character set). For example: the input would be something like this: string[256] = "gfdc" chrset[256] = "abcdefg" and the output would be: num[256] = 6, 5, 2 and 3
Hello friends here i present a simple address diary program that store name, phone number,sunsigh,best moment date of birth and place,and also hobby of a person.... When you run this u must fill password and password is "hello"... I think you will enjoy it..............
Hello friends, I am new participant in daniweb Here is the fantastic coding of SHEEL SORT..
Here are 2 pieces of code. The first makes a hidden partition accessible by creating a path to it and assigning a drive letter. The second removes the path definition, effectively rehiding the partition. It is advised that caution be taken in the use of this code. The core to …
Here is a binary search program quite simplified
It includes Binay tree construction,Inorder,preorder,postorder traversals
This program displays all possible permutations of the string entered. say if u enter "abc" as input string the possible permutations would be displayed as ......................... abc acb bca bac cab cba ..........................
This is the last part. This is the code that sets it al together and lets the parser and scanner do some work. Happy calculating!
This a routine that executes a _popen() pipe on your behalf and retrieves the spawned program's/comand's console output for you. Useful if your program needs data from another program and can't communicate directly with it.
Program is of the calculator which the usual thing for the operation. It has been totally implemented in the C language with the graphics and mouse functions included in it. Its not scientific but just a usual one..
A program that demonstrates opening Windows registry keys, reading data fields and closing the keys.
Two very short routines. CLIPPUT transfers data to the clipboard and CLIPGET retrieves data from the clipboard. Developed and tested in Windows XP using a Borland C++ compiler.
The End.