码迷,mamicode.com
首页 > 其他好文 > 详细

导入大全

时间:2015-07-12 15:32:40      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

多种语言的的库导入

java

import java.io.File;

import java.awt.*;

python

import os

from os import path

erlang

-module(rebar_edoc).

-export([doc/2, clean/2]).

-include_lib(“eunit/include/eunit.hrl”).

-spec(doc(Config::#config{}, File::string()) -> ok).

rebar_config:get 直接从全局环境中得到库引用

bash

. a.sh

c

include <stdio.h>

c++

include <cstream>

using namespaces std;

using std:endl;

nodejs

module.reports = {}

a = require("")

 

多种语言的的注释

java

//

/* */

python

#

erlang

-

bash

#

c c++

//

/* */

javascript

//

/* */

导入大全

标签:

原文地址:http://www.cnblogs.com/simplicity/p/4640936.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!