This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lorem ipsum dolor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a,b,c,d := c,d,a-c*q,b-d*q | |
declare 4 temporary variables ta, tb, tc, td | |
then do | |
ta = a; | |
tb = b; | |
tc = c; | |
td = d; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
#include <cstdlib> | |
#include <iomanip> | |
using namespace std; | |
void foo(int, int, double, double); | |
double calculate_CI(int, int, double, double); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Author: http://twitter.com/jaz303 */ | |
#include <stdio.h> | |
#include <setjmp.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define THROW(str) \ | |
if (exception_count < 0) { \ | |
fprintf(stderr, "unhandled exception '%s' at line %d in %s\n", str, __LINE__, __FILE__); \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* program: naturalmergesort.cpp | |
* Program is an implementation of a 2-way natural mergesort with the addition, | |
* that it counts the number of comparisions needed by the merging-process. | |
*/ | |
#include <iostream> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(void) | |
{ | |
char **zoznam; | |
zoznam = (char**)malloc(10*sizeof(char*)); | |
int i; | |
for (i = 0; i < 10; i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <glob.h> | |
#include <errno.h> | |
int main(int argc, char *argv[]) | |
{ | |
char pattern[] = "/tmp/*.txt"; | |
glob_t globbuf; | |
FILE *file; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct_jobInfo *parseJobs(struct_jobInfo *numbers) { | |
char pattern[] = "/.dm/*.*.dm"; | |
glob_t globbuf; | |
FILE *file; | |
unsigned int i=0, n=0; | |
long long unsigned size; | |
char buffer[256]; | |
size = (sizeof(struct struct_jobInfo) * MAXJOBS); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://min.us/mvk51zd | |
#include <iostream> | |
#include <cmath> | |
#include <iomanip> | |
#include <cstdlib> | |
using namespace std; | |
double machin(void) { | |
long double pi_approx = 0.0L, t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A class that models a combination lock. | |
*/ | |
public class ComboLock | |
{ |
OlderNewer