. workprogressing ();Console. writeline ("worker: Work completed ");If (boss! = NULL ){Int grade = boss. workcompleted ();Console. writeline ("worker grade =" + grade );}}Boss boss;}Class boss {Public void workstarted () {/* boss does not care */}Public void workprogressing () {/* boss does not care */}Public int workcompleted (){Console. writeline ("It's about time! ");Return 2;/* 10 points or less */}}Class universe {Static void main (){Worker Peter
install it, you can install it by running apt-get install libstdc ++ 5 in ubuntu.4. create soft link, change to the/bin directory, exec the command:Ln-s/usr/local/idapro/IDALinux/idastd/idalLn-s/usr/local/idapro/IDALinux/idastd/ida. hlp (must modify the directory according yours)Ps: if your apt source don't have libstdc ++ 5, you can change the apt source and try again.My apt source:Deb http://tw.archive.ubuntu.com/ubuntu jaunty main restricted universe
because your system's software source cannot find the package and needs to be replaced by a new source of software. The steps are as follows:① in Terminal input command: sudo gedit/etc/apt/sources.listin the open text, replace everything in the current text with the latest software source found online, and then save the close② in Terminal input command: sudo apt-get updatewait for update ...after the update is successful, you can install the software with sudo apt-get install. The following is
/etc/apt/sources.list gksu mousepad/etc/apt/sources.list Gksu Leafpad/etc/apt/sources.list (12.04 edition) Gksu gedit/etc/apt/sources.list
Select the appropriate source from the list below, replace all the contents of the file, and save the edited file:
Then, refresh the list:
sudo apt-get update
Source listTrusty (14.04) versionUbuntu Official update server(Europe, this is the official source, the domestic slower, but no synchronization delay proble
() {/* The boss does not care. */}Public void workprogressing () {/* The boss does not care. */}Public int workcompleted (){Console. writeline ("Almost time !");Return 2;/* Total score: 10 */}}Class universe {Static void main (){Worker Peter = new worker ();Boss = new boss ();Peter. Advise (boss );Peter. dowork ();Console. writeline ("Main: worker finished ");Console. Readline ();}}
Interface
Now, Peter has become a special person. He can not only
;}
Class Boss {Public void WorkStarted () {/* The boss does not care. */}Public void WorkProgressing () {/* The boss does not care. */}Public int WorkCompleted (){Console. WriteLine ("Almost time !");Return 2;/* Total score: 10 */}}
Class Universe {Static void Main (){Worker peter = new Worker ();Boss boss = new Boss ();Peter. Advise (boss );Peter. DoWork ();
Console. WriteLine ("Main: worker finished ");Console. ReadLine ();}}Interface
Now, Peter has
() {/* The boss does not care. */}Public void WorkProgressing () {/* The boss does not care. */}Public int WorkCompleted (){Console. WriteLine ("Almost time !");Return 2;/* Total score: 10 */}}Class Universe {Static void Main (){Worker peter = new Worker ();Boss boss = new Boss ();Peter. Advise (boss );Peter. DoWork ();Console. WriteLine ("Main: worker finished ");Console. ReadLine ();}}InterfaceNow, Peter has become a special person. He can not only
does not care. */}Public void workprogressing () {/* The boss does not care. */}Public int workcompleted (){Console. writeline ("Almost time !");Return 2;/* Total score: 10 */}}
Class universe {Static void main (){Worker Peter = new worker ();Boss = new boss ();Peter. Advise (boss );Peter. dowork ();
Console. writeline ("Main: worker finished ");Console. Readline ();}}
InterfaceNow, Peter has become a special person. He can not only tolerate sti
(){}Public void WorkProgressing (){}Public int WorkCompleted (){Console. WriteLine ("Almost time !");Return 2;}}
Class Universe {Static void Main (){Worker peter = new Worker ();Boss boss = new Boss ();Peter. Advise (boss );Peter. DoWork ();
Console. WriteLine ("Main: worker finished ");Console. ReadLine ();}}
InterfaceNow, Peter has become a special person. He can not only tolerate stingy bosses, but also have a close relationship with the
build the local ubunt source server of ubuntu10.10 and ubuntu10.04 in 32-bit and 64-bit versions.
If you want to serve other versions, modify the corresponding configuration.
The/etc/apt/mirror. list configuration file is changed to the following:
############# Config ##################
#
# Set base_path/var/spool/apt-mirror
#
# Set pai_path $ base_path/mirror
# Set skel_path $ base_path/skel
# Set var_path $ base_path/var
# Set cleanscript $ var_path/clean. sh
# Set defaultarch
# Set postmir
Share several high-speed update sources and import methods of Ubuntu7.10. First, back up the default update source sudocp/etc/apt/sources. list/etc/apt/sources. list. backup modifies the update source file sudogedit/etc/apt/sources. list sets sources. change the content of the list file to debhttp: // ubuntu.cn99.com/ubuntu/
Share several high-speed update sources and import methods of Ubuntu 7.10
First, back up the default update source sudo cp/etc/apt/sources. list/etc/apt/sources. list. backu
! = NULL ){Int grade = _ boss. workcompleted ();Console. writeline ("Worker's work score =" + grade );}}Private boss _ boss;}
Class boss {Public void workstarted () {/* The boss does not care. */}Public void workprogressing () {/* The boss does not care. */}Public int workcompleted (){Console. writeline ("Almost time !");Return 2;/* Total score: 10 */}}
Class universe {Static void main (){Worker Peter = new worker ();Boss = new boss ();Peter. Advise (
() {/* The boss does not care. */}Public void WorkProgressing () {/* The boss does not care. */}Public int WorkCompleted (){Console. WriteLine ("Almost time !");Return 2;/* Total score: 10 */}}
Class Universe {Static void Main (){Worker peter = new Worker ();Boss boss = new Boss ();Peter. Advise (boss );Peter. DoWork ();
Console. WriteLine ("Main: worker finished ");Console. ReadLine ();}}
Interface
Now, Peter has become a special person. He can not
seems redundant. It is actually a good habit and is conducive to the recovery of configuration errors. Backup method: press Alt + F2, and then enter gksu cp/etc/apt/sources. list/etc/apt/sources. list-backup. Press enter and enter your password.
Then open the setup program: System-System management-Software Sources ). On the first tab, click the menu on the right of "Download From" and select "Others... (Others ...)". In the displayed window, click Select Best Server )". The system will automat
soft source address two parts. The role of the software source is to let the system automatically search for the required software at these URLs, we can understand that the use of the Apt-get command is a software store under the Linux platform, and the software source is the software we want to download, the directory where the download files.2. Configure the system to use the software source image within the education networkCommonly used in-school update sources#电子科技大学deb http://Ubuntu.uestc
1, install the operating system, configure the root account, through sudo to set the root password if you use Ubuntu server 14.04, the root requires additional configuration1. Turn on root telnet permissionModify Permitrootlogin Without-password to permitrootlogin Yes2. Restart the SSH service2. Update Sources.list, then apt-get updateVim/etc/apt/sources.listDeb http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDeb http://mirrors
Http://wiki.ubuntu.org.cn/Qref/SourceAn older version of the update sourceExample: 8.04Deb Http://old-releases.ubuntu.com/ubuntu/hardy main restricted universe multiverseDEB-SRC Http://old-releases.ubuntu.com/ubuntu/hardy main restricted universe multiverseDeb Http://old-releases.ubuntu.com/ubuntu/hardy-security main restricted universe multiverseDEB-SRC http://o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.