15,540 Topics
| |
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 … | |
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 … | |
"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 … | |
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 … | |
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 … | |
Two version that do exactly the same thing! | |
Cheap, dirty code for Windows and *nix. | |
[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 :) | |
{-='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. |
The End.