spin.de · die Community: Chat, Dating, Online-Spiele - Lern neue Freunde kennen!

» Kostenlos anmelden
Sitemap

Blog-Einträge mit dem Tag 'ansi c'

Seite 1 von 2
1 2 · 

btwotch | Simple svg writing library - 29.01.2012
Features: circle line color opacity animation Code: [Code] Header file (svg.h): Compile: gcc `xml2-config --cflags --libs` svg.c -o svg -Wall -g Open with firefox or chromium

btwotch | Javascript for netsurf browser - 23.01.2012
As a weekend project I integrated spidermonkey's javascript functionality into netsurf; only a few things are supported by now: alert (only 1 per time) document.URL window.open body-onload img-onclick Downlo...

btwotch | Embedding javascript via spidermonkey into C - 20.01.2012
Code: [Code] see also: developer.mozilla.org/En/SpiderMonkey/JSAPI_User_Guide TESTSCRIPT is a little string containing js code to run a simple "hello world" with the new "print"-> "js_print"  JS_ConvertAr...

btwotch | Output on standard input - 10.12.2011
Following happened: [Code] Solution: What happened? ./program writes on STDIN instead on STDOUT or STDERR; Code:

btwotch | SSL-Client with gnutls - 10.11.2011
See also: http://www.gnu.org/software/gnutls/manual/html_node/Simple-client-e... http://codesearch.google.com/#58vgXOqJphs/src/gnutls.c&q=gnutls_tra... Here's the code: [Code] Compile: gcc tls_client.c `pk...

btwotch | Simple Backup Tool - 27.08.2011
I had the choice: setup git (finally) create a backup program with (simple) versioning support of course I chose option 2 it walks a directory tree and saves files (backup filename: sha1sum) as a lzma-ar...

btwotch | Very simple 2D Game (SDL) - 06.08.2011
In case you wanna create a 2D SDL game: [Code] compile:

btwotch | Calltrace - 18.07.2011
In your favourite debugger you often get only a stacktrace, but I often just wanna have a calltrace; howto go get it: valgrind:   valgrind --tool=callgrind ./proxy callgrind_annotate:  callgrin...

btwotch | Trolldetection with opencv (#gpn11 release) - 25.06.2011
it detects faces and puts trollface there before: [Bild] after: [Bild] [Code] Makefile:

btwotch | Download your fav pics from flickr - 05.06.2011
Imagine you have faved a lot of pics on flickr and now want to download them; of course you could do that easy in perl - BUT you can do this easy in C, too For this purpose we use flickcurl; it helps...

btwotch | How to download a website? - 01.04.2011
What if you wanna make an archive of a website? you print it into a pdf you just save it What if you wanna do that daily? browse daily and save or print into pdf use wget –recursive –level=$foo use httrack S...

btwotch | Evas focus callback - 29.12.2010
just compile to find out functionality ;) pic.c: [Code] Makefile:

btwotch | Evas library - 28.12.2010
Evas is the enlightenment canvas library - it's pretty on the same level as SDL. Here some code to show up a polygon and a line; there are no functions for pixels, circles and ellipses :( The developers...

btwotch | Load PGM Image - 09.11.2010
for university we had to code a function to load a pgm-PIC into memory (and parse the header): [Code] Documentation of the header: http://netpbm.sourceforge.net/doc/pgm.html

btwotch | Speedup via Format String - 07.09.2010
Gegeben ein String: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et...

btwotch | Code fast 100% schneller - 05.09.2010
Vorher: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls us/call us/call name 100.16 0.01 0.01 6268 1.60 1.60 __join_together 100,16% der Zeit verbringt das Pro...

btwotch | curl Workerthread - 10.08.2010
Wird eine URL angefordert wird ein Worker-Thread mit curl-multi gestartet. Ist curl fertig wird der Thread wieder beendet. Eigentlich total sinnlos, aber das habe ich erst bemerkt als es fast fertig wa...

btwotch | atom+rss+opml im curl multihandle - 05.08.2010
Der Code erklaert sich von selbst ;) feed.h: [Code] feed.c: opml.h: opml.c: Und hier ein Beispiel wie ihr die feed-lib benutzt - feedtest.c: Und hier noch ein Beispiel fuer opml - opm...

stfn | Duff's Device - 05.08.2010
Die wahrscheinlich dramatischste Anwendung eines fall-through's in C: [Code] Auf den ersten Blick würde man meist nicht einmal glauben, dass der Code in der Form überhaupt compiled (siehe das switch-sta...

stfn | gmplib example - 08.06.2010
Da ich ja eh schon mal dabei war, hier nochmal das Ganze festgehalten: [Code] http://gmplib.org/
Seite 1 von 2
1 2 · 
Willst du auch bloggen und dein eigenes kostenloses Blog? Meld dich jetzt kostenlos an