B*0
2 楼
我们这儿松鼠多, 我种的大蒜都被它们抛出来了. 请问有什么方法可以让它们不来骚
扰吗?
扰吗?
x*n
3 楼
Dan Fogelberg-Sutter‘s mill
In the Spring of Forty-seven,
So the story, it is told,
Old John Sutter went to the mill site
Found a piece of shining gold.
Well, he took it to the city
Where the word, like wildfire, spread.
And old John Sutter soon came to wish he'd
Left that stone in the river bed.
For they came like herds of locusts
Every woman, child and man
In their lumbering Conestogas
They left their tracks upon the land.
(Chorus)
Some would fail and some would prosper
Some would die and some
In the Spring of Forty-seven,
So the story, it is told,
Old John Sutter went to the mill site
Found a piece of shining gold.
Well, he took it to the city
Where the word, like wildfire, spread.
And old John Sutter soon came to wish he'd
Left that stone in the river bed.
For they came like herds of locusts
Every woman, child and man
In their lumbering Conestogas
They left their tracks upon the land.
(Chorus)
Some would fail and some would prosper
Some would die and some
b*i
4 楼
我有一个类叫storage,其中有个数组string ok[100];
还有个acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
storage m;
string& mystring=m.acquirereference(10);
mystring="ok";
可以让ok[10]获得"ok"。 应该怎样写呢?
还有个acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
storage m;
string& mystring=m.acquirereference(10);
mystring="ok";
可以让ok[10]获得"ok"。 应该怎样写呢?
c*e
5 楼
锻炼看球两不误
F*k
6 楼
养猫/狗
wh
7 楼
噢噢噢我对不起你的小斜杠……这个是啥意思?
还有采访一下:你对slumdog millionaire得那么多奥斯卡有啥感想?你是这里第一个
说起这个电影的。
【在 x**n 的大作中提到】
: Dan Fogelberg-Sutter‘s mill
: In the Spring of Forty-seven,
: So the story, it is told,
: Old John Sutter went to the mill site
: Found a piece of shining gold.
: Well, he took it to the city
: Where the word, like wildfire, spread.
: And old John Sutter soon came to wish he'd
: Left that stone in the river bed.
: For they came like herds of locusts
还有采访一下:你对slumdog millionaire得那么多奥斯卡有啥感想?你是这里第一个
说起这个电影的。
【在 x**n 的大作中提到】
: Dan Fogelberg-Sutter‘s mill
: In the Spring of Forty-seven,
: So the story, it is told,
: Old John Sutter went to the mill site
: Found a piece of shining gold.
: Well, he took it to the city
: Where the word, like wildfire, spread.
: And old John Sutter soon came to wish he'd
: Left that stone in the river bed.
: For they came like herds of locusts
t*o
9 楼
才发现?
S*p
10 楼
啊?松鼠连大蒜都吃啊,我还以为所有鼠辈根本不会碰大蒜呢
根据前辈的经验,唯一能防住松鼠的方法是弄个网把整个菜地罩起来
根据前辈的经验,唯一能防住松鼠的方法是弄个网把整个菜地罩起来
wh
11 楼
《三步杀人曲》是once upon a time in mexico吗?这个视频应该是,我记得藏在吉他
里面的枪。你最近老做淘金梦?上次是个diamond.
【在 x**n 的大作中提到】
: Dan Fogelberg-Sutter‘s mill
: In the Spring of Forty-seven,
: So the story, it is told,
: Old John Sutter went to the mill site
: Found a piece of shining gold.
: Well, he took it to the city
: Where the word, like wildfire, spread.
: And old John Sutter soon came to wish he'd
: Left that stone in the river bed.
: For they came like herds of locusts
里面的枪。你最近老做淘金梦?上次是个diamond.
【在 x**n 的大作中提到】
: Dan Fogelberg-Sutter‘s mill
: In the Spring of Forty-seven,
: So the story, it is told,
: Old John Sutter went to the mill site
: Found a piece of shining gold.
: Well, he took it to the city
: Where the word, like wildfire, spread.
: And old John Sutter soon came to wish he'd
: Left that stone in the river bed.
: For they came like herds of locusts
b*i
12 楼
是java,如果原来的代码是c++, 就是我写的那样,可以用引用或者指针获得地址,从而
给变量赋值。现在要转换成java,如何写呢?
C++程序如下
我有一个类叫storage,其中有个数组double ok[100];
还有个方法acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
storage m;
double& storage::acquirereference(int a)
{
return ok[a];
}
double& myvalue=m.acquirereference(10);// here to get &ok[10] as in c++
myvalue=5;可以让ok[10]获得5。
应该怎样写java的方法acquirereference的返回值类型和return 的参数呢?
【在 c*****t 的大作中提到】
: 1. 你写的不清楚
: 2. 你该到 programming 版问。。。你的代码又不是 java
给变量赋值。现在要转换成java,如何写呢?
C++程序如下
我有一个类叫storage,其中有个数组double ok[100];
还有个方法acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
storage m;
double& storage::acquirereference(int a)
{
return ok[a];
}
double& myvalue=m.acquirereference(10);// here to get &ok[10] as in c++
myvalue=5;可以让ok[10]获得5。
应该怎样写java的方法acquirereference的返回值类型和return 的参数呢?
【在 c*****t 的大作中提到】
: 1. 你写的不清楚
: 2. 你该到 programming 版问。。。你的代码又不是 java
B*0
13 楼
它们不吃 但是会捣乱
g*g
15 楼
You can't do that, but you can return the array and the index
and use ok[i] to assign the value.
【在 b***i 的大作中提到】
: 是java,如果原来的代码是c++, 就是我写的那样,可以用引用或者指针获得地址,从而
: 给变量赋值。现在要转换成java,如何写呢?
: C++程序如下
: 我有一个类叫storage,其中有个数组double ok[100];
: 还有个方法acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
: storage m;
: double& storage::acquirereference(int a)
: {
: return ok[a];
: }
and use ok[i] to assign the value.
【在 b***i 的大作中提到】
: 是java,如果原来的代码是c++, 就是我写的那样,可以用引用或者指针获得地址,从而
: 给变量赋值。现在要转换成java,如何写呢?
: C++程序如下
: 我有一个类叫storage,其中有个数组double ok[100];
: 还有个方法acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
: storage m;
: double& storage::acquirereference(int a)
: {
: return ok[a];
: }
a*i
17 楼
try
public class Storage {
String[] ok;
public set(int index, String value) {
ok[index] = value;
}
}
class Main {
public static void main (String[] args) {
Storeage m = new Storeage();
String mystring = "ok";
m.set(10, mystring);
}
}
there is no way to get the reference and assign it.
String objects are immutable.
【在 b***i 的大作中提到】
: 我有一个类叫storage,其中有个数组string ok[100];
: 还有个acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
: storage m;
: string& mystring=m.acquirereference(10);
: mystring="ok";
: 可以让ok[10]获得"ok"。 应该怎样写呢?
public class Storage {
String[] ok;
public set(int index, String value) {
ok[index] = value;
}
}
class Main {
public static void main (String[] args) {
Storeage m = new Storeage();
String mystring = "ok";
m.set(10, mystring);
}
}
there is no way to get the reference and assign it.
String objects are immutable.
【在 b***i 的大作中提到】
: 我有一个类叫storage,其中有个数组string ok[100];
: 还有个acquirereference(int a)想返回ok[a]的引用,比如我在主程序中
: storage m;
: string& mystring=m.acquirereference(10);
: mystring="ok";
: 可以让ok[10]获得"ok"。 应该怎样写呢?
h*0
19 楼
相关阅读
FrameWork of Thread application 1Re: How to make a JButton stay pressed? (solution?)做一些贡献:threadPoolRe: system property in javaRe: DCOM, CORBA, JAVA/RMIRe: 有人玩java3D么?Rational Rose 2001many java games!J2EE good stuffs sharing FTP Server SetupRe: 谁能提供可靠FTP,我将全部上载SCJEA resourceA nice EJB server(recommend)Re: 怎么用simulate CGI 'POST' in "https" protocol?Re: 哪里有关于C++面试的题目啊?!Re: [转载] Re: why do u use XML?Re: strange exceptionRe: Java Vs. C++ on performance!? Files on the ftp serverJMIT v0.1 UPDATE35 books by O'Reilly uploaded