18,491 Topics

Member Avatar for
Member Avatar for sofiastrange

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 …

Member Avatar for Salem
0
143
Member Avatar for newsguy

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 …

Member Avatar for njagi
0
603
Member Avatar for John A

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 …

0
61
Member Avatar for happygeek

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 …

0
162
Member Avatar for happygeek

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 …

0
173
Member Avatar for Dave Sinkula

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 …

Member Avatar for safinsafi21
0
275
Member Avatar for Mahen

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 …

0
78
Member Avatar for Catweazle
Member Avatar for MosaicFuneral
Member Avatar for MosaicFuneral
Member Avatar for MosaicFuneral
Member Avatar for amrith92

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! :)

Member Avatar for amrith92
0
629
Member Avatar for tux4life

[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]

0
291
Member Avatar for tux4life

This is how mine [B]strlen[/B] function would look like if I'd to implement it from scratch :)

0
268
Member Avatar for tux4life

This is how mine [B]strcat[/B] would look like if I'd have to write it from scratch :)

Member Avatar for tux4life
0
408
Member Avatar for tux4life

This is how mine [B]strcpy[/B] would look like if I'd have to write it from scratch :)

Member Avatar for tux4life
0
244
Member Avatar for clarence_cool03
-1
115
Member Avatar for clarence_cool03
0
174
Member Avatar for clarence_cool03
0
228
Member Avatar for clarence_cool03
0
130
Member Avatar for clarence_cool03
0
165
Member Avatar for clarence_cool03
0
190
Member Avatar for clarence_cool03
0
249
Member Avatar for clarence_cool03
0
170
Member Avatar for clarence_cool03
Member Avatar for clarence_cool03
0
192
Member Avatar for clarence_cool03
0
160
Member Avatar for clarence_cool03
Member Avatar for Dave Sinkula

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.

0
245
Member Avatar for tux4life

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 …

Member Avatar for tux4life
0
195
Member Avatar for aiswariya

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 …

0
123
Member Avatar for aiswariya

This is very very simple c code.. it has simple maths logic involved..

0
105
Member Avatar for aiswariya

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 …

0
204
Member Avatar for meghs007

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)

Member Avatar for burnt-ice09
0
213
Member Avatar for niladri.saha06
Member Avatar for MosaicFuneral
0
257
Member Avatar for banders7

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.

0
280
Member Avatar for Hiroshe

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

Member Avatar for Hiroshe
0
145
Member Avatar for surender_kumar

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..............

0
133
Member Avatar for surender_kumar

Hello friends, I am new participant in daniweb Here is the fantastic coding of SHEEL SORT..

0
188
Member Avatar for banders7

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 …

Member Avatar for banders7
0
633
Member Avatar for seeniya
Member Avatar for shital3144
Member Avatar for sahasrara
0
238
Member Avatar for dileepkumar235

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 ..........................

Member Avatar for dileepkumar235
0
186
Member Avatar for serkan sendur
Member Avatar for serkan sendur
Member Avatar for ddanbe

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!

0
1K
Member Avatar for banders7

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.

0
253
Member Avatar for ajay.krish123

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..

Member Avatar for banders7
0
241
Member Avatar for banders7

A program that demonstrates opening Windows registry keys, reading data fields and closing the keys.

0
508
Member Avatar for banders7

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.

Member Avatar for banders7
0
463

The End.