CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 08 Aug 2025 07:25:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080404213025
location: https://web.archive.org/web/20080404213025/https://www.daniweb.com/code/c.html
server-timing: captures_list;dur=0.709120, exclusion.robots;dur=0.029022, exclusion.robots.policy;dur=0.013355, esindex;dur=0.015041, cdx.remote;dur=8.554565, LoadShardBlock;dur=125.273032, PetaboxLoader3.datanode;dur=69.026450
x-app-server: wwwb-app211
x-ts: 302
x-tr: 166
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app211; 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: Fri, 08 Aug 2025 07:25:33 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 04 Apr 2008 21:30:25 GMT
x-archive-orig-server: Apache/2.2
x-archive-orig-x-powered-by: PHP/5.1.6
x-archive-orig-set-cookie: bblastvisit=1207342803; expires=Sat, 04-Apr-2009 21:30:25 GMT; path=/; domain=.daniweb.com
x-archive-orig-set-cookie: bblastactivity=0; expires=Sat, 04-Apr-2009 21:30:25 GMT; path=/; domain=.daniweb.com
x-archive-orig-cache-control: private
x-archive-orig-pragma: private
x-archive-orig-vary: Accept-Encoding,User-Agent
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 04 Apr 2008 21:30:25 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 27 Apr 2005 12:24:55 GMT", ; rel="prev memento"; datetime="Sat, 05 Jan 2008 14:36:50 GMT", ; rel="memento"; datetime="Fri, 04 Apr 2008 21:30:25 GMT", ; rel="next memento"; datetime="Thu, 15 May 2008 14:56:20 GMT", ; rel="last memento"; datetime="Sun, 23 Feb 2025 22:29:08 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_2_20080404193924_crawl100-c/51_2_20080404210519_crawl104.arc.gz
server-timing: captures_list;dur=0.759598, exclusion.robots;dur=0.035435, exclusion.robots.policy;dur=0.014931, esindex;dur=0.014905, cdx.remote;dur=11.074249, LoadShardBlock;dur=45.326261, PetaboxLoader3.datanode;dur=94.253523, load_resource;dur=161.401607, PetaboxLoader3.resolve;dur=93.889067
x-app-server: wwwb-app211
x-ts: 200
x-tr: 284
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
c Code Snippets
c Syntax
•
•
•
•

What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 306,150 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 2,427 IT professionals currently interacting right now! If you are in the IT industry or are just a technology enthusiast, you might find just what you're looking for in DaniWeb. Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Modernize Legacy Data with Sybase
•
•
•
•
Hi all, here is a small program I have worked on over these last two days, I have submitted it in the hopes of some constructive criticism and suggestions (please be kind, this is one of my earlier C projects lol). This is a small console application that simulates a contact management database.... (View Snippet)
Two methods for two distinct needs when splitting a string (View Snippet)
First off, C does not know anything about the I/O device you are using. It can be a keyboard and monitor, or a file, or a network connection, or anything which can do I/O. What that means is that there is no standard way to do this in C.
That said, the following should work on any Unix/Linux... (View Snippet)
hello frnd this a c program that removes c c++ style comments (View Snippet)
This will works Recusivly and easily (View Snippet)
Above program takes input of coefficient and power separately of 2 different polynomials add them up to a new polynomial.It is successfully compiled and executed in DEV CPP as C file.It Turbo C compiler add void before main function to avoid warning messages. (View Snippet)
This program in C finds 2 Longest common subsequence of 2 given strings(say X and Y),entered without any space on the screen individually,altering X and Y strings.I compiled and executed this above program successfully in Dev Cpp compiler as a C file(not a c++ file). (View Snippet)
You likely want something graphical, where the things move. GTK version of the classic arcade game Asteroids. (View Snippet)
A small demo about how to use GTK label as a simple console. To compile GTK program, `pkg-config gtk+-2.0 --cflags --libs` should finally be somewhere in the compiler command line in the bash-like shell. (View Snippet)
Replaces every occasion of the pattern, or only the first occasion if there is a subexpression, between \( and \), anywhere in the regular expression, as repeated replace is not what one would expect in that case. The string size is restricted in POSIX regular expressions to the size of the int,... (View Snippet)