Using GMP with Eclipse on Ubuntu C/C++
Install GMP
sudo apt-get install libgmp3-dev libgmp3-doc libgmp3c2
On Eclipse
Project->Properties
C/C++ Build->Settings
GCC C Linker->Miscellaneous
Linker flags: -lgmp -lgmpxx
Install GMP
sudo apt-get install libgmp3-dev libgmp3-doc libgmp3c2
On Eclipse
Project->Properties
C/C++ Build->Settings
GCC C Linker->Miscellaneous
Linker flags: -lgmp -lgmpxx
When comparing to array == operator won’t do the job. Because using == operator only compares the objects whether they are the same object or not. That means operator won’t check the objects data.
for example
byte[] a = “Test”.getBytes();
byte[] b = “Test”.getBytes();
(a == b) –> false
Arrays.equals(a,b) –> true
C# ile Oracle Express 10g bağlanmak için kullanılan connection stringlerde dikkat edilmesi gereken husus, eğer sisteminiz türkçe ise; connection string diye tabir edilen bağlantı özelliklerinin “anahtar=değer;” şeklindeki ikililer ile belirtildiği değişken içersinde türkçe karakter olmaması gerekmektedir. Read more…
http://blog.mypapit.net/2007/10/how-to-switch-between-different-java-jvm-in-ubuntu-and-debian-gnu-linux.html
Sometimes its hard to avoid installing multiple Java Virtual Machines (JVM) on your computer because it has something to do with application compatibility or software development purposes.
This creates an annoyance when you just want to run one of the JVM instead of another for a specific task, then having to switch to another JVM for other tasks.
Here’s an easy way to setup a default JVM (Java interpreter and javac) and switch between several JVM in Ubuntu / Debian based distribution.
From the console execute
sudo update-alternatives –config java
Select the Java distribution which best suits you and press enter. You’re done. You can always change the default JVM for your Ubuntu/Debian distribution by repeating this steps.