avatar
p*y
2
请大家提供些建议。。。
avatar
x*y
3
打算利用现有的服务器建一个会议的网站
想弄一个像.com .org这样的单独域名,而不是用现在的.edu
问题:
如果目标网页地址是aaa.edu/xxxx( 111.222.333.1/xxxx),新域名是conference.com,
是否在别人点击的时候浏览器地址栏能自动显示conference.com/xxxx以及其他的路径
,而不是aaa.edu/xxxx,或者111.222.333.1/xxxx什么的
还是需要有些什么设置才能隐藏本身的地址
问题很小白,多谢多谢
avatar
f*a
4
有一段代码vector.h和vector.cc
[CODE]//vector.h
int add(int x, int y);
//vector.cc
#include
int add(int x, int y){
return (x+y);
}
int main(){
std::cout<return 0;
}
[/CODE]
显然我不需要include "vector.h"就可以编译成功。因为编译器自动会找vector.h
但是当我用了namespace以后:
[CODE]//vector.h
namespace TEST{
int add(int x, int y);
}
//vector.cc
#include
#include "vector.h"
int TEST::add(int x, int y){
return (x+y);
}
int main(){
std::cout<retur
avatar
h*c
5
In this experiemnt , we try to enhance the qualitiy of our figures for
latex by GIMP
avatar
J*i
6
bless

30 个祝福包子,明天上午发~

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
h*t
7
俺都没有看过。。。。崇拜一下楼主
avatar
e*x
8
在服务器里用vhost配置一下就可以了

com,

【在 x**y 的大作中提到】
: 打算利用现有的服务器建一个会议的网站
: 想弄一个像.com .org这样的单独域名,而不是用现在的.edu
: 问题:
: 如果目标网页地址是aaa.edu/xxxx( 111.222.333.1/xxxx),新域名是conference.com,
: 是否在别人点击的时候浏览器地址栏能自动显示conference.com/xxxx以及其他的路径
: ,而不是aaa.edu/xxxx,或者111.222.333.1/xxxx什么的
: 还是需要有些什么设置才能隐藏本身的地址
: 问题很小白,多谢多谢

avatar
t*t
9
编译器不会自动找vector.h
function prototype不是必须的, 但是如果你引入namespace, 那就要先声明

【在 f********a 的大作中提到】
: 有一段代码vector.h和vector.cc
: [CODE]//vector.h
: int add(int x, int y);
: //vector.cc
: #include
: int add(int x, int y){
: return (x+y);
: }
: int main(){
: std::cout<
avatar
h*c
10
keyword:
xfig, pstex, latex, gimp, figure
avatar
A*u
11
祝福!

30 个祝福包子,明天上午发~

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
p*y
12
hehe,我好多诗也没读过的。

【在 h****t 的大作中提到】
: 俺都没有看过。。。。崇拜一下楼主
avatar
l*a
13
可以在DNS设置,hosting provider should provide that.
point your a-address to your edu server. 当然你应该要有web server admin
rights.
我的网站就是这样,当然用系上的服务器了。我用的是IIS,在 host head name 中输入你的域名.

com,

【在 x**y 的大作中提到】
: 打算利用现有的服务器建一个会议的网站
: 想弄一个像.com .org这样的单独域名,而不是用现在的.edu
: 问题:
: 如果目标网页地址是aaa.edu/xxxx( 111.222.333.1/xxxx),新域名是conference.com,
: 是否在别人点击的时候浏览器地址栏能自动显示conference.com/xxxx以及其他的路径
: ,而不是aaa.edu/xxxx,或者111.222.333.1/xxxx什么的
: 还是需要有些什么设置才能隐藏本身的地址
: 问题很小白,多谢多谢

avatar
a*a
14
非常不幸。编译器从来不会自动找.h文件。这是因为兼容古老的c带来的混淆。
在C的石器时代,函数无须声明就可以使用,编译器也不检查你的调用方式是否正确。
编译器唯一关注的是你的函数名。所以你写add(1,1)的时候,编译器假设你有个
地方提供了add这个函数,然后自动为你生成调用代码。至于子程序被调用后是否
能正确运行,或者调用者对被调用者的返回值的假设是否正确,编译器是不管的。
到了C的古典时代,为了在编译期间就能检查出调用方式类型的错误,编译器几乎
是强制性地要求程序员提供函数调用的参数类型和返回值类型。但是为了兼容
古老的石器代码,很多C编译器在不提供函数声明的情况下,会自动根据上下文
假定一个声明,并额外地警告一下。C++的编译器也沿袭了这一传统。所以你不包含
vector.h头文件的时候,第一个main仍然可以通过。但是第二个程序的TEST::main
完全是C++代码,不可能按照C习惯来解释,TEST即可以作名字空间解,也可以作
类名解,这两个都不可像函数那样用一个符号(其背后的实质是指针或者地址)来代替。
所以必须要有头文件。
简单地说,你的第一个程序是碰巧对了,第二个程序

【在 f********a 的大作中提到】
: 有一段代码vector.h和vector.cc
: [CODE]//vector.h
: int add(int x, int y);
: //vector.cc
: #include
: int add(int x, int y){
: return (x+y);
: }
: int main(){
: std::cout<
avatar
h*c
15
To save us from the problems of the world, I solve a problem of my own today!
avatar
E*e
16
祝福~
avatar
a*d
17
@@
两者我都很喜欢。一定要比较的话,我更喜欢惠特曼的,个人感觉更大气,气势磅礴,
桀骜不驯,是个云游者。狄更生则是独处的修行者。

【在 p*********y 的大作中提到】
: 请大家提供些建议。。。
avatar
w*x
18
上面说的都可行。或者还可以在域名注册商那里使用隐藏真是域名性质的跳转。这个应
该是通用可行的方法。
avatar
f*y
19
A simple explanation: you never told the compiler what TEST is.
avatar
h*c
20
The figure above is 3.14 iis a pstex file
3.15 is a p png file.
The .tex is built to dvi. From the dvi we print screen as the above.
From further experiments, it is best to convert pstex to eps file. Then
include the .eps file in the .tex file. While building pdf file ((fedora
kdvi export). Kdvi seems to be able do the anti-aliasing work.
Although in the built pdf file, the eps file looks poor, but the printed
quality is better than the the png file.
So, if you try to do a presentation with your
avatar
y*5
21
祝福~
avatar
p*y
22
谢谢回答 :)
惠特曼的诗是大气些,但是我又喜欢狄更生的简洁。
avatar
h*c
23
There are some mistakes,
after converted to .pdf, the quality from eps file is always good.
So final conclusion should be, use xfig to build pstex, use latex to build
eps, include the eps in the tex. Always build .pdf file for both
presentation or printing.
avatar
E*S
24
祝福~
avatar
g*h
25
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
h*o
26
bless!

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
w*t
27
zhu!!!!!!!!!!!!

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
g*g
28
bless
avatar
w*r
29
自己吃一个

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
m*n
30
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
y*u
31
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
l*1
32
strong bless!

30 个祝福包子,明天上午发~

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
d*e
33
bless!

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
s*g
34
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
B*o
35
add oil
avatar
w*r
36
bless~
avatar
c*i
37
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
l*Q
38
bless!

30 个祝福包子,明天上午发~

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
s*0
39
祝福

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
l*g
40
bless
avatar
a*e
41
bless
avatar
b*9
42
bless
avatar
y*8
43
bless

【在 s******0 的大作中提到】
: 祝福
avatar
p*e
44
bless
avatar
o*o
45
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
g*g
46
BLESS
avatar
T*y
47
Bless!!
avatar
s*2
48
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
c*r
49
bless!

【在 s******0 的大作中提到】
: 祝福
avatar
j*u
50
avatar
c*y
51
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
j*i
52
祝福
avatar
s*5
53
祝福
avatar
b*l
54
谢谢大家哈

【在 s******5 的大作中提到】
: 祝福
avatar
A*9
55
Bless!
avatar
m*n
56
bless

【在 b******l 的大作中提到】
: 谢谢大家哈
avatar
p*e
57
Bless
avatar
i*4
58
bless
avatar
d*n
59
good luck

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
E*V
60
bless

【在 d*******n 的大作中提到】
: good luck
avatar
s*y
61
bless

【在 b******l 的大作中提到】
: 30 个祝福包子,明天上午发~
avatar
S*u
62
bless!!
avatar
s*c
63
bless
avatar
E*e
64
祝福。
avatar
E*V
65
bless

【在 s**c 的大作中提到】
: bless
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。