15,540 Topics

Member Avatar for
Member Avatar for rakesh_01

Guys I'm supposed to write a program that displays the date and time using C along with username and password inputs I came up with the following code [code] #include <stdio.h> #include <termios.h> #include <unistd.h> #include <time.h> #include <curses.h> #define PASS_LEN 25 int current_getch; int doloop = 1; static WINDOW …

Member Avatar for Salem
0
156
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
129
Member Avatar for EddieC

"The great thing about standards is that every company gets to have one." The first time I heard that expression was around 1995. Proclaimed by Joel Shore, a former-boss-now-friend, it was one of the many truisms at the time. A good many standards bodies and arbiters have cropped up since …

0
242
Member Avatar for EddieC

The [URL=http://www.iso.org/iso/home.htm]International Organization for Standardization[/URL] today announced that Adobe’s Portable Document Format is now an ISO standard. Well it’s about time! The PDF has only [URL=http://www.adobe.com/pdf/about/history/] been around[/URL] for 15 years! This is great news for all areas of publishing, for Web developers and Web site admins, even operating system …

0
190
Member Avatar for EddieC

Maybe it’s all part of a kinder, gentler Microsoft; or maybe it’s something else. In the latest example of Redmond’s increase in openness, the “Evil Empire” in an [URL=http://www.microsoft.com/presspass/press/2007/may07/05-16ANSIVotePR.mspx] announcement[/URL] last week said it backs the addition of the Open Document Format to the American National Standards Institute (ANSI) standards …

0
140
Member Avatar for MosaicFuneral
Member Avatar for MosaicFuneral
Member Avatar for MosaicFuneral
Member Avatar for mvmalderen

[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
272
Member Avatar for mvmalderen

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

0
241
Member Avatar for clarence_cool03
-1
105
Member Avatar for clarence_cool03
0
164
Member Avatar for clarence_cool03
0
214
Member Avatar for clarence_cool03
0
117
Member Avatar for clarence_cool03
0
141
Member Avatar for clarence_cool03
0
168
Member Avatar for clarence_cool03
0
220
Member Avatar for clarence_cool03
0
148
Member Avatar for clarence_cool03
Member Avatar for clarence_cool03
0
153
Member Avatar for clarence_cool03
0
141
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
224
Member Avatar for mvmalderen

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 mvmalderen
0
173
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
99
Member Avatar for aiswariya

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

0
95
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
147
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
190
Member Avatar for niladri.saha06
Member Avatar for MosaicFuneral
0
237
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
253

The End.