Advertising
advertising
related pastes to tag 'programming'
- 2004096 - prod_sort.c adv prog hw 3: programming unix sort fxp prog advanced m1o2 elsf pipes adv advprog braude eitan ronn
-
- /**
- Programmed By : m1o2
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- #include <fcntl.h>
- 1997299 - GetString - m1o2: string programming file fxp m1o2 getstring captinmicael elsf
-
- char *GetString(void* inputSource ){
- int size=0,input;
- char *string = NULL;
- while( fscanf(inputSource,"%c",&input) == 1 && (char)input!='\n' && input!=EOF){
- 1511287 - [phear]crippler: programming windows visual basic.net
-
- Public Class BandForm
- 'Class level variables
- 'The Collection Array
- Private bandStrings As String() = {"Gojira", _
- "Lamb of God", _
- "Black Flag", _
- "Slayer", _
- "Morbid Angel", _
- 1291891 - ScriptHelper: help scripts programming basic website
-
- --Basic Website Script help.
- Here are some basic website scripts. They are very useful to know when you are programming your own website.
- <img src="IMAGELINKHERE"> --This script will add an image to your site. Of course, IMAGELINKHERE is not an actual web link,
- and therefore it must be changed. Keep everything the same INCLUDING THE QUOTES (I cannot stress enough how important the
- quotes are!) except the text IMAGELINKHERE. That needs to be replaced with the actual link of the picture you want to upload
- to your site. If you have your image on an image upload site, copy the link in the section DIRECT LINK or whichever one
- that will work when the link is put into the code. With uploading sites that give multiple links, you may have to experiment
- 1170565 - a note on design vs. elegance: programming dexen design engineering elegance
-
- Desig-by-elegance is conservative and suboptimal in its nature; not least because it converges to what we are accustomed to; follows form rather than idea. On the other hand, design-for-performance (in engineering), or design-for-correctness in computer science looks alien at first, but becomes elegant after a few iterations, and doubly so in hindsight; not least because designs which follow do converge to the original one, and we grow accustomed.
- -- dexen deVries
- 701150 - psych.c: c programming coding brainfuck brainf code interpreter
-
- /* psych, v.0.2 - a Brainfuck interpreter
- Copyright (C) 2007 John T. Wodder II
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- 695067 - Area calculator: calculator programming basic area true
-
- PRINT "Please enter the length of the rectangle."
- INPUT L
- !Variable L stands for the length of the rectangle.
- CLEAR
- PRINT "Please enter the width of the rectangle."
- INPUT W
- !Variable W stands for the width of the rectangle.
- CLEAR
- 655950 - g_hash_table problem: c glib programming g_hash_table
-
- Here is the problem:
- I have a g_hash_table, using the direct hashing function. This hash table holds string(key)->int(value) pairs. In my program, there are two functions: one takes a hash table, and writes the values to GConf; the other reads the values from GConf and returns a new hash table.
- To test my functions, I create some data and store it in the hash table, using the following code:
- GHashTable *tmp_outputs = g_hash_table_new (NULL, NULL);
- gchar *tmp_output_id = g_strdup ("StringOfLettersWithNoSpaces");