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
test |
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
/* | |
itoa.c (i, s, w) | |
@param i: integer | |
@param s: char [] | |
@param w: width | |
@returns a string representation of i with any excess (left) padding | |
in blankspaces dependant on the width w. | |
*/ | |
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
int main() { | |
while((len = get_line(line, MAXLINE)) > 0) { | |
printf("%s", line); | |
} | |
} | |
int get_line(char line[], int limit) { | |
int current, index; |
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
int main () { | |
// ### Setting up the variables | |
char input [100], blank[100]; | |
fgets(input, 100, stdin); | |
int i = 0, k = 0; | |
// ### Looping over the array | |
while (input[i] != '\0') { | |
if (input[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
#!/usr/bin/env python3 | |
""" | |
rover_tests.py was finished a few hours before I started integrating | |
the Rover into the interface / delegator (main.py). | |
As always is the case some test-cases were added after the intial | |
draft of the document. |
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
$ npm start | |
> meapp@1.0.0 start D:\Schoolwork\Cygwin\dbwebb-kurser\webapp\me\redovisa\www | |
> webpack js/index.js bin/app.js -d | |
Hash: 417dbec39962bf138ad6 | |
Version: webpack 2.3.2 | |
Time: 204ms | |
Asset Size Chunks Chunk Names | |
app.js 168 kB 0 [emitted] main |
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
/// Index.js | |
"use strict"; | |
var app = { | |
// Application Constructor | |
initialize: function() { | |
document.addEventListener('deviceready', this.onDeviceReady.bind(this), false); | |
}, | |
// deviceready Event Handler |