2015/08/10(月)code test

2015/12/31 14:36 tset
テスト
こんにちわ
xyx*y
value15345
c source test
#include<stdio.h>
/*   hello world  */

/*
 hello world
*/
int main(int argc,char **argv)
{
    printf("HELLO WORLD¥n");
}
;-< ..oO centering*1

cpp source test
#include<string>

#if 0 
//ms :-<
#import<msxml4.dll>
#else
#import<msxml4.dll>
#endif


/*   hello world  */

/*
 hello world
*/

//test


template<T>
class Test {
public:
    T val_;
    Test(T val){val_=val;}
    T get(){return val_;}
    int get(){return val_.toInt();} //??
    
private:
    Test(){}
};

int main(int argc,char **argv)
{
   std::string str="12345677898765432123456789"; //??
   Test t<std::string> test;
   std::cout << test.get() << std::endl; //?
}

z80 source test
;  sample  sample
;
;
   org 800h
; comment
   xor a
   ld b,80h
loop:
   inc a
   ld [hl],a
   inc hl
   djnz loop
   ret




man1man9sou1sou9pin1pin9tonnanshapeihakuyhakuhatu

*1 : これはひどいバグですね。リリース版までに修正しておきます^^;;; by nabe