Skip to content

Instantly share code, notes, and snippets.

@LilinYume
LilinYume / EOFprop.cs
Created May 15, 2013 02:11
EOFを取るプロパティ
using System;
using System.IO;
class prop
{
public bool EOF {
get{
io s = new io();
return s.streamFile();
}
using System;
//To work : like a Class and that hidden by System.
delegate void GataMethod(); // Class declarationa
//a class Including some method, It was send throw the Gata.
class MehtodHolder //Sender
{
public void SomeMethod()
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') );
}
/*
* main.cpp
*
* Created on: 2014/02/11
* Author: Resorcin
*/
#include <iostream>
#include <fstream>
#include <ctime>
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Security;
namespace CopyTo
{
class Run
{
#include <iostream>
#include <fstream>
using namespace std;
//---------------------------------------------------
// 空のファイルか判定
//---------------------------------------------------
bool empty_file( std::fstream& fs );
//---------------------------------------------------
#include <ios>
#include <iostream>
#include <stdexcept>
#include <new>
#include <locale>
#define CHAR_SIZE 1
#define WCHAR_SIZE 2
/* 概要:
#!/bin/bash
def_name="$PWD/main.c"
file_name=''
flag=0
reply=''
if [ -f $def_name ]; then
gcc $def_name
else
aiueo
#include "read_number.h"
int read_number(void)
{
char c;
int n;
int m;
int fail;
n = 0;