- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
谁能告诉我我做错了什么?这是我的代码 main.cpp
#include <iostream>
#include <boost/thread.hpp>
using namespace boost;
using namespace boost::this_thread;
using namespace std;
// Global function called by thread
void GlobalFunction()
{
for (int i=0;i<10;++i)
{
cout << i << "Do something in parallel with main method." << endl;
boost::this_thread::yield();
}
}
void GlobalThreadTest()
{
boost::thread t(&GlobalFunction);
for (int i = 0; i<10; ++i) {
cout << i << "Do something in main method. " << endl;
}
}
int main(int argc, const char * argv[])
{
GlobalThreadTest();
return 0;
}
制作文件代码
BOOST_ROOT=/opt/local
PRODUCT_NAME=example
BOOST_INCLUDE_DIR=$(BOOST_ROOT)/include
BOOST_LIB_DIR=/usr/local/lib
BOOST_LINK_FLAGS=lboost_thread-mt
main: main.cpp
gcc main.cpp -I$(BOOST_INCLUDE_DIR) -L$(BOOST_LIB_DIR) -o $(PRODUCT_NAME)
clean:
rm -f main
我的 boost 安装是通过 MacPorts 完成的,存储在/opt/local/include
库文件夹/usr/local/lib 我相信是这样的
这是我看到的错误
$ make -f makefile
gcc main.cpp -I/opt/local/include -L/usr/local/lib -o example
Undefined symbols for architecture x86_64:
"boost::this_thread::yield()", referenced from:
GlobalFunction() in ccPsXnoZ.o
"boost::detail::thread_data_base::~thread_data_base()", referenced from:
boost::detail::thread_data<void (*)()>::~thread_data()in ccPsXnoZ.o
boost::detail::thread_data<void (*)()>::~thread_data()in ccPsXnoZ.o
"boost::system::system_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in ccPsXnoZ.o
boost::thread_exception::thread_exception(int, char const*)in ccPsXnoZ.o
"boost::system::generic_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in ccPsXnoZ.o
"boost::thread::start_thread()", referenced from:
boost::thread::thread<void (*)()>(void (*)(), boost::disable_if<boost::is_convertible<void (*&)(), boost::detail::thread_move_t<void (*)()> >, boost::thread::dummy*>::type)in ccPsXnoZ.o
"boost::thread::detach()", referenced from:
boost::thread::~thread()in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_exception::what() const", referenced from:
vtable for boost::exception_detail::bad_exception_in ccPsXnoZ.o
vtable for boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>in ccPsXnoZ.o
"std::runtime_error::what() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_alloc::what() const", referenced from:
vtable for boost::exception_detail::bad_alloc_in ccPsXnoZ.o
vtable for boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>in ccPsXnoZ.o
"std::allocator<char>::allocator()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::allocator<char>::~allocator()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))", referenced from:
GlobalThreadTest() in ccPsXnoZ.o
GlobalFunction() in ccPsXnoZ.o
"std::basic_ostream<char, std::char_traits<char> >::operator<<(int)", referenced from:
GlobalThreadTest() in ccPsXnoZ.o
GlobalFunction() in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
std::runtime_error::runtime_error(std::runtime_error const&)in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::system_error const&)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char const*)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_exception::~bad_exception()", referenced from:
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
"std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::runtime_error::~runtime_error()", referenced from:
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
typeinfo for boost::thread_exceptionin ccPsXnoZ.o
typeinfo for boost::thread_resource_errorin ccPsXnoZ.o
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for __cxxabiv1::__vmi_class_type_info", referenced from:
typeinfo for boost::exception_detail::bad_alloc_in ccPsXnoZ.o
typeinfo for boost::exception_detail::bad_exception_in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>in ccPsXnoZ.o
typeinfo for boost::exception_detail::error_info_injector<boost::thread_resource_error>in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for boost::detail::thread_data_base", referenced from:
boost::detail::thread_data_base::thread_data_base()in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::bad_exception", referenced from:
std::bad_exception::bad_exception()in ccPsXnoZ.o
std::bad_exception::bad_exception(std::bad_exception const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::runtime_error", referenced from:
std::runtime_error::runtime_error(std::runtime_error const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::bad_alloc", referenced from:
std::bad_alloc::bad_alloc()in ccPsXnoZ.o
std::bad_alloc::bad_alloc(std::bad_alloc const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::exception", referenced from:
std::exception::exception()in ccPsXnoZ.o
std::exception::exception(std::exception const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"operator delete(void*)", referenced from:
boost::detail::sp_counted_base::~sp_counted_base()in ccPsXnoZ.o
boost::detail::sp_counted_base::~sp_counted_base()in ccPsXnoZ.o
boost::exception_detail::clone_base::~clone_base()in ccPsXnoZ.o
boost::exception_detail::clone_base::~clone_base()in ccPsXnoZ.o
boost::exception_detail::bad_alloc_::~bad_alloc_()in ccPsXnoZ.o
boost::exception_detail::bad_alloc_::~bad_alloc_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
...
"operator new(unsigned long)", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::clone() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::clone() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::clone() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
...
"___cxa_allocate_exception", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::rethrow() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::rethrow() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::rethrow() constin ccPsXnoZ.o
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in ccPsXnoZ.o
"___cxa_begin_catch", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
"___cxa_call_unexpected", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::exception::~exception()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
"___cxa_end_catch", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
"___cxa_free_exception", referenced from:
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in ccPsXnoZ.o
"___cxa_guard_abort", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_guard_acquire", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_guard_release", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_pure_virtual", referenced from:
vtable for boost::detail::sp_counted_basein ccPsXnoZ.o
vtable for boost::exceptionin ccPsXnoZ.o
vtable for boost::exception_detail::clone_basein ccPsXnoZ.o
vtable for boost::system::error_categoryin ccPsXnoZ.o
"___cxa_rethrow", referenced from:
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_call_unexpected", referenced from:
boost::system::system_error::what() constin cck3nfxq.o
boost::exception::~exception()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
"___cxa_end_catch", referenced from:
boost::system::system_error::what() constin cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_free_exception", referenced from:
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in cck3nfxq.o
"___cxa_guard_abort", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_guard_acquire", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_guard_release", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_pure_virtual", referenced from:
vtable for boost::detail::sp_counted_basein cck3nfxq.o
vtable for boost::exceptionin cck3nfxq.o
vtable for boost::exception_detail::clone_basein cck3nfxq.o
vtable for boost::system::error_categoryin cck3nfxq.o
"___cxa_rethrow", referenced from:
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_throw", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::rethrow() constin cck3nfxq.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::rethrow() constin cck3nfxq.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::rethrow() constin cck3nfxq.o
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in cck3nfxq.o
"___gxx_personality_v0", referenced from:
Dwarf Exception Unwind Info (__eh_frame) in cck3nfxq.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [main] Error 1
我也无法让它与 XCode 一起工作。我一直看到编译错误。如果有人对如何使用 xcode 4 使 boost 线程程序工作有任何想法,请分享。
更新*我添加了链接器
BOOST_ROOT=/opt/local
PRODUCT_NAME=example
BOOST_INCLUDE_DIR=$(BOOST_ROOT)/include
BOOST_LIB_DIR=/usr/local/lib
BOOST_LINK_FLAGS=lboost_thread-mt
main: main.cpp
g++ main.cpp -I$(BOOST_INCLUDE_DIR) -$(BOOST_LINK_FLAGS) -L$(BOOST_LIB_DIR) -o $(PRODUCT_NAME)
clean:
rm -f main
错误:
make -f makefile
g++ main.cpp -I/opt/local/include -lboost_thread-mt -L/usr/local/lib -o example
ld: library not found for -lboost_thread-mt
collect2: ld returned 1 exit status
make: *** [main] Error 1
最佳答案
你有两个错误。
首先是您尝试使用gcc
编译C++ 文件。虽然它可以工作,但它不会添加 C++ 文件所需的所有库和其他内容。您应该改用 g++
。
第二个是在 Makefile
行中
BOOST_LINK_FLAGS=lboost_thread-mt
在我看来,这不像是合适的图书馆标志。此外,链接时您甚至没有在命令行中使用它,这意味着您不链接库。
关于c++ - 将 makefile 与 boost 线程一起使用时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11963409/
我对 c# 有点陌生,我在尝试围绕这个 if-then 语句尝试实现时遇到了一些麻烦。 这是我的目标:当用户将订单输入系统时,将为每个订单创建一个唯一的 orderID。但是,一些附加功能是用户可以选
我已经搜索了这个特定的错误,发现根本问题涉及循环计数错误并导致程序超出数组的界限。 但是,当我将每个数组降低到数组开始丢失输出数据的程度后,它继续抛出相同的错误。我对 C/C++ 仍然是新手,但任何对
我不明白为什么我运行这个小程序时屏幕上没有任何显示? while 循环甚至开始了吗? #include #include int main() { char word[20]; char
我接手了一个用 Perl 编写的项目,它有一些依赖项,例如 Template::Toolkit , Image::ExifTool , 和 GD仅举几例。目前,这些依赖项使用 --prefix 构建到
我想对一个字段进行累积总和,但只要遇到 0 就重置聚合值。 这是我想要的一个例子: data.frame(campaign = letters[1:4] , date=c("jan","
不久前,该项目的 gradle 构建运行良好,但现在一直失败并显示以下错误(带有 --info 标志的输出): Starting process 'Gradle Test Executor 1'. W
我是编程新手,想用 Java 制作一个掷骰子程序来执行。代码如下: import java.math.*; public class Dices { public static int dice1=0
这个问题已经有答案了: What is a StringIndexOutOfBoundsException? How can I fix it? (1 个回答) 已关闭 5 年前。 我对 Java 完
这个方法一直抛出标题中的异常,我找不到原因,我已经通过连接创建了其他表,并且所有引用的表都已创建。我正在使用嵌入式JavaDB . private void createEvidenceTable()
我刚开始上课,这是我第三次尝试上课。我遇到了一个 NameError,我真的不知道如何解决。看看我的程序,看看你能不能帮忙。 import random import math import pyga
好吧,这是我的困境,我向 JFrame 添加了三个面板。第一个(不可见)第二个(可见)和第三个(不可见)..我使用第一个面板作为菜单,当您选择一个选项时,第一个面板被制作(可见),然后第三个面板被制作
我的部分代码遇到问题。如果我选择选项 A,它会运行并给我正确的答案,但是,如果我选择选项 S 或 M,它不会给我任何结果,只会去到它应该去的地方。已经尝试将 if 更改为 else if,但它显示“预
我这里有一些代码,但我正在努力解决它,因为我似乎无法掌握这个文件指针的东西。我对使用文件还很陌生。我见过类似的其他问题,并且尝试了对其他人有效的解决方案,但由于某种原因它们对我不起作用。这是出现问题的
我们有一个很大的应用程序,我们已经将 TODO 规则添加到质量门中,如果发现 TODO 注释,它会给出错误。如果我们只是删除 TODO 注释(这很可怕),它会起作用,但添加 TODO 注释的整个目的就
我正在尝试编写一个名为 isVowel 的函数,它接受一个字符(即长度为 1 的字符串)并在它是元音、大写或小写时返回“true”。如果该字符不是元音字母,该函数应返回“false”。 这看起来应该可
我一直在努力完成我正在做的这个小项目,但由于某种原因它无法正常工作。 问题是当我第一次访问该页面并单击出现在主要部分中的第一个链接时,它会根据需要显示弹出框。现在,当我点击另一天,例如星期天并尝试点击
我正在尝试制作一个 WPF 应用程序。我的窗口内有一个数据网格。我制作了另一个窗口,将新数据添加到我的数据网格中。虽然它按照我想要的方式工作,但我不断遇到异常。我的 MySQL 代码: using S
我试图在我似乎无法使 NSUserDefaults 正常工作的程序中保存几个首选项。如果有人可以查看我的代码并查看是否有任何错误,我们将不胜感激 NSString *kGameIsPaused = @
设置 SymmetricDS版本是3.9.1(也试过3.9.0) 设置是从 postgres 9.5.3 到 postgres 9.5.3 Windows 10 pc(客户端节点)到 Windows
经过长时间的努力,我终于(差不多)完成了我的java菜单程序。但是,我无法让我的返回更改功能在我的代码末尾工作。它给出了非常奇数的数字。有什么想法吗? 代码: import java.io.*; im
我是一名优秀的程序员,十分优秀!