xingty / xingty.github.io

my blog
1 stars 0 forks source link

About - Bigbyto #2

Open xingty opened 5 years ago

xingty commented 5 years ago

https://wiyi.org/about.html

Bigbyto's blog

bigbyto-anon commented 3 years ago

测试匿名评论

bigbyto-anon commented 3 years ago

纸上得来终觉浅

bigbyto-anon commented 3 years ago

牛批啊大佬

xingty commented 3 years ago

at: Anonymous
牛批啊大佬

哪里牛了😂

bigbyto-anon commented 3 years ago

看spring事务挂起实现的时候看到你的博客,点个赞

xingty commented 3 years ago

at: Anonymous
看spring事务挂起实现的时候看到你的博客,点个赞

谢谢😊,希望多多光临。

bigbyto-anon commented 3 years ago
template<class T>struct Vector {
    struct iterator {
        long long *index;
        iterator() {
            index = new long long;
        }
        ~iterator() {
            delete index;
        }
    };
    Vector<T>();
    Vector<T>(long long size);
    ~Vector<T>() {
        delete [] element;
    }
    T *element;
    long long num;
    long long now;
    T *begin(void) {
        return element;
    }
    T *end(void) {
        return element   num;
    }
    void push_back(T toPushElement) {
        if (num   1 > now) {
            T *tn = new T [now * 2];
            for (long long i = 0; i < num; i  ) {
                *(tn   i) = *(element   i);
            }
            delete [] element;
            *(tn   num) = toPushElement;
            element = tn;
            now *= 2;
            num  ;
        } else {
            *(element   num) = toPushElement;
            num  ;
        }
        return;
    }
    T 
bigbyto-anon commented 3 years ago

at: 匿名
测试匿名评论

哈哈哈,查资料偶遇师傅

bigbyto-anon commented 3 years ago

给大佬点个赞

bigbyto-anon commented 2 years ago

牛批啊大佬,向您学习

bigbyto-anon commented 2 years ago

Socks5协议过来的

xingty commented 2 years ago

at: Anonymous
Socks5协议过来的

have fun :)

bigbyto-anon commented 1 year ago

到此一游,啊哈哈

Developer27149 commented 1 year ago

很厉害

bigbyto-anon commented 1 year ago

测试匿名评论

bigbyto-anon commented 1 year ago
Class HelloWorld {
  public static void main(String[] args){
       System.out.println("Hello world!");
  }
}