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 <fstream> | |
#include <sstream> | |
#include <string> | |
#include <stdexcept> | |
#include <cstdlib> | |
#include <cstring> | |
//--------------------------------------------------------- |
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
CXX = g++ | |
INCEDIR = -I/usr/local/include | |
LIBDIR = -L/usr/local/lib | |
LIBS = -lfltk -lX11 -lXext -lXft -lfontconfig -lm -ldl | |
all: | |
@($(CXX) *.cpp $(INCEDIR) $(LIBDIR) $(LIBS)) | |
clean: | |
rm -f *.o |
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 "read_number.h" | |
int read_number(void) | |
{ | |
char c; | |
int n; | |
int m; | |
int fail; | |
n = 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
aiueo |
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
#!/bin/bash | |
def_name="$PWD/main.c" | |
file_name='' | |
flag=0 | |
reply='' | |
if [ -f $def_name ]; then | |
gcc $def_name | |
else |
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 <ios> | |
#include <iostream> | |
#include <stdexcept> | |
#include <new> | |
#include <locale> | |
#define CHAR_SIZE 1 | |
#define WCHAR_SIZE 2 | |
/* 概要: |
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 <fstream> | |
using namespace std; | |
//--------------------------------------------------- | |
// 空のファイルか判定 | |
//--------------------------------------------------- | |
bool empty_file( std::fstream& fs ); | |
//--------------------------------------------------- |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.IO; | |
using System.Security; | |
namespace CopyTo | |
{ | |
class Run | |
{ |
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
/* | |
* main.cpp | |
* | |
* Created on: 2014/02/11 | |
* Author: Resorcin | |
*/ | |
#include <iostream> | |
#include <fstream> | |
#include <ctime> |
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
window.onload = function () | |
{ | |
var print = Function("stringArg","document.write(stringArg)"); | |
var println = Function("stringArg","document.write(stringArg+'<br>')"); | |
var $int = Function("n","try{n = new Number(n);b = new Boolean(false);if( b !== n.isNaN ){Error.prototype.notInt = null;e = new Error();e.notInt = 'Invalid Type Error : ';document.body.innerText = e.notInt;}}catch(e){e.notInt;}return n"); | |
document.write( $int(10) ); | |
//document.write( $int('a') ); | |
} |
NewerOlder