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
// | |
// Created by Hans Dulimarta | |
// | |
#include <iostream> | |
#include "TextPredictor.h" | |
using namespace std; | |
TextPredictor::TextPredictor() { |
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
/** | |
* | |
*/ | |
package com.appiarium.example; | |
import android.app.ProgressDialog; | |
import android.content.Context; | |
import android.os.Handler; | |
/** |
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 <sys/types.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
int main(int argc, char* argv[]) | |
{ | |
if (argc < 2) { | |
fputs("Usage: must supply a command\n", stderr); | |
exit(1); |
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 <sys/types.h> | |
#include <unistd.h> | |
int main() | |
{ | |
puts("Before fork"); | |
fork(); | |
puts("After fork"); | |
return 0; |
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> | |
#define SIZE 16 | |
int main () { | |
char *data1; | |
data1 = malloc (SIZE); |
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> | |
#define SIZE 16 | |
int main () { | |
char *data1, *data2, *tmp; | |
int k; | |
data1 = malloc (SIZE); |
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 <math.h> | |
int main() { | |
double num = 0.0; | |
printf ("Hello, world.\n"); | |
num = pow (2, 28); | |
printf ("You are the %f person to write this program!\n", num); | |
return 0; | |
} |
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 <pthread.h> | |
#include <stdio.h> | |
#include <errno.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void *do_greeting3(void *arg); | |
//arguments:arg is an untyped pointer pointing to a character | |
// returns:a pointer to NULL |
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
#define CATCH_CONFIG_MAIN | |
#include "catch.hpp" | |
#include "gvpm.h" | |
#include "gv_eval.h" | |
/* In unit testing evaluate() must be invoked in immediate mode */ | |
TEST_CASE ("SingleOperator", "alloperators") { | |
float res; |
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
package edu.gvsu.cis.dulimarh.recyclerdemo; | |
import com.squareup.okhttp.OkHttpClient; | |
import retrofit.RestAdapter; | |
import retrofit.client.OkClient; | |
/** | |
* Created by Hans Dulimarta | |
*/ |