CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 20 Aug 2025 11:53:50 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080501151213
location: https://web.archive.org/web/20080501151213/https://www.daniweb.com/code/
server-timing: captures_list;dur=0.682959, exclusion.robots;dur=0.022417, exclusion.robots.policy;dur=0.010792, esindex;dur=0.011627, cdx.remote;dur=90.928780, LoadShardBlock;dur=373.433875, PetaboxLoader3.datanode;dur=306.735566
x-app-server: wwwb-app212
x-ts: 302
x-tr: 511
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app212; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 20 Aug 2025 11:53:51 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Thu, 01 May 2008 15:12:12 GMT
x-archive-orig-server: Apache/2.2
x-archive-orig-x-powered-by: PHP/5.1.6
x-archive-orig-set-cookie: bblastvisit=1209649222; expires=Fri, 01-May-2009 15:12:12 GMT; path=/; domain=.daniweb.com
x-archive-orig-set-cookie: bblastactivity=0; expires=Fri, 01-May-2009 15:12:12 GMT; path=/; domain=.daniweb.com
x-archive-orig-cache-control: private
x-archive-orig-pragma: private
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 01 May 2008 15:12:13 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 23 Sep 2004 09:08:30 GMT", ; rel="prev memento"; datetime="Tue, 15 Apr 2008 07:56:46 GMT", ; rel="memento"; datetime="Thu, 01 May 2008 15:12:13 GMT", ; rel="next memento"; datetime="Fri, 16 May 2008 04:17:46 GMT", ; rel="last memento"; datetime="Sun, 30 Mar 2025 19:47:14 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_3_20080501130250_crawl106-c/51_3_20080501150338_crawl104.arc.gz
server-timing: captures_list;dur=0.647424, exclusion.robots;dur=0.030745, exclusion.robots.policy;dur=0.014512, esindex;dur=0.011647, cdx.remote;dur=137.014974, LoadShardBlock;dur=359.564768, PetaboxLoader3.resolve;dur=358.119980, PetaboxLoader3.datanode;dur=183.663148, load_resource;dur=199.756542
x-app-server: wwwb-app212
x-ts: 200
x-tr: 780
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Code Snippets
Text to speech can be implemented in its simplest form using Microsoft's Component Object Model (COM) connecting to the Speech API (SAPI). The attached Python code shows you how to do this. (View Snippet) The code prompts the user for a student name and the marks then prints out the report with a letter grade..It also asks the user for the file name and stores the data in the file. (View Snippet) The module pyglet leans on OpenGL for graphics and is used in the scientific community together with Python. This short code snippet shows you how to use it to display an animated GIF file. The download is free, so give it a try. You don't have to download OpenGL to use pyglet. (View Snippet) This class Generate A unique string. You can concatenate Timestamp to this Unique String and use it as Unique ID (View Snippet) This is a very simple program that uses text mode to display a boucing "ball." The ball is just a character that moves across the screen, erasing all in its path. It is coded to work like a screensaver, so the program ends when any key is hit.
NOTE: I am in no ways an assembly guru, if anything... (View Snippet) from noob to noob (View Snippet) Hey, i was just mucking around and improving my code etc and made a calculator, it's not the best calculator in the world, it only can handle 1 or 2 numbers but i think it's good my self :). (View Snippet)
Code Snippets
•
•
•
•

What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 322,118 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,677 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Hi from Begueradj,
This program written in Turbo C simulates a student data bases using files.
Basic operations such as seeking for a given student, deleting, adding and sorting are implemented here.
Feel free to give me your points of view.
Thanks, Begueradj. (View Snippet)
Text to Speech using COM (Python) in python
Simple grading report in cplusplus
Show Animated GIF files (Python) in python
This short Python snippet shows you how to read mouse wheel events with the Tkinter GUI toolkit. Windows and Linux have different bindings and read different events, but can be included in the same program code for use with either operating system. (View Snippet)
Generate A Random String Id in java
Text Mode Bouncing Ball in asm
infinite folder maker in vbscript
Calculator, Includes Sin, Cos, Tan And Sqaure Root! in cplusplus
Just copy and paste the snippet into a file and save.
You need to save this under the web root, not in a web accessible folder. For example, on linux you could save it in your home directory. Say your user is "joe" then save it in /home/joe/ . Ify saved the file as interactive.php then you would... (View Snippet)
- Today's Posts
- Unanswered Threads
DANIWEB FEATURE INDEX
ADVERTISEMENT
STATISTICS