13 Boom Beach Tricks, Tips & Strategies

Boom Beach is a fun RTS style game for the iPhone and iPad that is from the same company that makes the popular Clash of Clans game. This is not the same type of strategy game as command and conquer, but it is a fun fix for mobile gamers that want to control an army in island based warfare. Boom Beach takes place in an island setting with in-game currency like gems, gold and diamonds…

"13 Boom Beach Tricks, Tips & Strategies"

Food Delivery System Project in C++

Structure of the Problem Requirements In this project we will implement the code of food delivery system in C++. The project consist of three modules , admin module, customer service module and user module. The admin module deal with Item’s prices, goods stock, food menu , and membership functions.  The Customer module deal with customer records functions and the user module deal with customers. In User module customer can signup sign-in and sign out. Here…

"Food Delivery System Project in C++"

Differences between Depth-First-Search and Breadth-First Search

1. In General: The key difference between depth first search and breadth first search is the the order of visiting each nodes in a graph. In breadth first search, we start at a node, called root, visiting its all immediate neighbors before moving to another node. After moving to another node, we also trying ti discover all of its neighbors and so on. In other words, we are trying to go as WIDE as possible.…

"Differences between Depth-First-Search and Breadth-First Search"

Cache Long in Java

1. Compare two Java Strings In Java, if you want to compare two String, you know you should use equals instead of ==. To be more specific, here is the normal code to compare two String: String s1 = “abc”; String s2 = “abc”; s1.equals(s2); // true s1 == s2 // false; the == checks if s1 and s2 refer to the same object, which is not in this case. 2. Compare two Long Long…

"Cache Long in Java"

Make HTTP request using Java and Curl

Last week I was asked to make some tools that talked to a Rails app. Let say you have a Rails app that has a scaffold name Product and resides on www.your_app.com . If you want to create a new Product, you go to www.your_app.com/products/new, fill in the form in there, including typing in some information product name, choosing a photo to upload and finally hit Create. A new Product will be created. Now how…

"Make HTTP request using Java and Curl"