文章分类 -  C/C++/JAVA/etc

1 2 下一页

CUDA Intro - NVCC CMake with C++14
摘要:我已经解决了,之前网上用enable_language(CUDA)这个是貌似CMAKE 3.8的特性,一直出问题;set(CUDA_NVCC_FLAGS -O3; -G; -g;-std=c++14)加这一句话就可以支持C++14的特性了 我已经解决了,之前网上用enable_language(CU 阅读全文

posted @ 2019-11-26 09:58 fanbird2008 阅读(511) 评论(0) 推荐(0)

C++11 Intro - rvalue reference and move constructor function
摘要:https://www.jianshu.com/p/cb82c8b72c6b 本文根据众多互联网博客内容整理后形成,引用内容的版权归原始作者所有,仅限于学习研究使用,不得用于任何商业用途。 左值(赋值操作符“=”的左侧,通常是一个变量)与右值(赋值操作符“=”的右侧,通常是一个常数、表达式、函数调用 阅读全文

posted @ 2019-11-25 17:02 fanbird2008 阅读(206) 评论(0) 推荐(0)

C++11(14) - Weak Pointer Intro
摘要://////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// std:: 阅读全文

posted @ 2018-04-26 11:15 fanbird2008 阅读(207) 评论(0) 推荐(0)

智能指针shared_ptr的用法
摘要:http://www.cnblogs.com/jiayayao/archive/2016/12/03/6128877.html 智能指针shared_ptr的用法 2016-12-03 15:39 by jiayayao, 25959 阅读, 2 评论, 收藏, 编辑 为了解决C++内存泄漏的问题, 阅读全文

posted @ 2018-04-26 11:03 fanbird2008 阅读(256) 评论(0) 推荐(0)

C++11(14) - Smart Pointer
摘要:#include <iostream>#include <future>#include <thread> using namespace std;class Person{public: Person(int v) { value = v; std::cout << "Construct: " < 阅读全文

posted @ 2018-04-26 10:58 fanbird2008 阅读(96) 评论(0) 推荐(0)

JAVA Intro - Static Class
摘要:Java中的类可以是static吗?答案是可以。在java中我们可以有静态实例变量、静态方法、静态块。类也可以是静态的。 java允许我们在一个类里面定义静态类。比如内部类(nested class)。把nested class封闭起来的类叫外部类。在java中,我们不能用static修饰顶级类(t 阅读全文

posted @ 2017-10-18 10:19 fanbird2008 阅读(154) 评论(0) 推荐(0)

JAVA Intro - Run Java Class with Package
摘要:1. compile TraverseUser.java package com.avr public class TraverseUser { ........................................... public static void main(String[] 阅读全文

posted @ 2017-10-18 10:12 fanbird2008 阅读(66) 评论(0) 推荐(0)

MySQL Intro - General Commands
摘要:1, mysql -u root -p 2. use testdb; show databases; use testdb; 3. create table etc show tables; create table customer ( customerId INT(32) NOT NULL AU 阅读全文

posted @ 2017-10-17 15:04 fanbird2008 阅读(86) 评论(0) 推荐(0)

JAVA Webservcies - Tomcat Error Logs Examples
摘要:13-Oct-2017 03:26:51.264 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M2613-Oct-2017 03:26:51 阅读全文

posted @ 2017-10-13 18:31 fanbird2008 阅读(199) 评论(0) 推荐(0)

Java Webservices - Spring Hibernate Version Mismatch
摘要:13-Oct-2017 02:59:16.901 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M2613-Oct-2017 02:59:16 阅读全文

posted @ 2017-10-13 18:26 fanbird2008 阅读(119) 评论(0) 推荐(0)

Java Tomcat - How to Run Java Program Automatically on Tomcat Startup
摘要:http://crunchify.com/how-to-run-java-program-automatically-on-tomcat-startup/ Recently I wanted to start my standalone Java Application on Tomcat Star 阅读全文

posted @ 2017-10-11 15:07 fanbird2008 阅读(149) 评论(0) 推荐(0)

Java Restful - Webservice Jersey General Summary
摘要:http://www.tuicool.com/articles/67vyIbv 原文 http://dyygusi.iteye.com/blog/2148029 主题 Jersey 项目中更需要使用到webservice,具体的是使用jersey。那么首先需要了解jersey和webservice的 阅读全文

posted @ 2017-10-09 19:07 fanbird2008 阅读(115) 评论(0) 推荐(0)

Java Restful - JSON example with Jersey + Jackson
摘要:http://www.mkyong.com/webservices/jax-rs/json-example-with-jersey-jackson/ Jersey uses Jackson to convert object to / form JSON. In this tutorial, we 阅读全文

posted @ 2017-10-09 16:19 fanbird2008 阅读(262) 评论(0) 推荐(0)

Jetty9 Intro - Install on ubuntu
摘要:https://hostpresto.com/community/tutorials/how-to-install-jetty-9-on-ubuntu-14-04/ How-to Install Jetty 9 On Ubuntu 14.04 3rd November 2016 6,957k Ove 阅读全文

posted @ 2017-09-25 09:38 fanbird2008 阅读(192) 评论(0) 推荐(0)

Java Restful - Tomcat Jersey Maven
摘要:1. /etc/profile export TOMCAT_HOME=/opt/tomcat7export HADOOP_HOME=/opt/hadoop-2.8.0export JAVA_HOME=/opt/jdk1.8.0_111export JRE_HOME=/opt/jre1.8.0_111 阅读全文

posted @ 2017-09-22 14:54 fanbird2008 阅读(86) 评论(0) 推荐(0)

Java Restful
摘要:JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path好久不写Jsp,今天建立了一个Javaweb工程,并在eclipse中配置了Web容器Tomcat。原本开 阅读全文

posted @ 2017-09-21 14:25 fanbird2008 阅读(86) 评论(0) 推荐(0)

JAVA Maven Intro
摘要:https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html Maven in 5 Minutes Prerequisites You must have an understanding of how to i 阅读全文

posted @ 2017-09-20 18:04 fanbird2008 阅读(109) 评论(0) 推荐(0)

Java Rest Intro - JAR
摘要:https://stackoverflow.com/questions/39343021/how-to-turn-my-jersey-rest-api-into-an-executable-jar How to turn my Jersey REST API into an executable J 阅读全文

posted @ 2017-09-20 16:38 fanbird2008 阅读(131) 评论(0) 推荐(0)

Java Rest Intro - 8 Top Java RESTful Micro Framework (english)
摘要:http://www.gajotres.net/best-available-java-restful-micro-frameworks/ With each passing year, Java framework scene becomes more and more densely popul 阅读全文

posted @ 2017-09-18 12:01 fanbird2008 阅读(321) 评论(0) 推荐(0)

Java JSon Intro - Open Source Class Library Compare
摘要:http://www.open-open.com/lib/view/open1397870197828.html 有效选择七个关于Java的JSON开源类库 April 4, 2014 By Constantin Marian Alin 翻译:无若 (英语原文:http://www.develope 阅读全文

posted @ 2017-09-18 09:40 fanbird2008 阅读(126) 评论(0) 推荐(0)

1 2 下一页

导航