Calling C# from C++
Most of the post on the internet about interoperability is the other way around (Calling C++ from C#) since C# is apparently the superior language in terms of developer friendliness. But a part of research work is to make weird…
Most of the post on the internet about interoperability is the other way around (Calling C++ from C#) since C# is apparently the superior language in terms of developer friendliness. But a part of research work is to make weird…
WS4D-gSOAP is a framework to deploy web services on multiple environments (computers, embedded devices, phones…) without having to rewrite code. More introduction information can be found in this post. The downside for WS4D is that the build system is based…
I run a simple web server to serve as a storage medium for my mobile devices (I don’t like using dropbox or other online storage solutions because they don’t offer much space and they hogs up bandwidth unnecessarily). Before I go…
Palindrome test import java.util.Scanner; public class PalindromeTest { static boolean isPalindrome(String source) { // Trivial case if (source == null) return false; // We ignore case when checking for palidrome String toTest = source.toLowerCase(); // We start at the two…
Consider the following problem: You need to calculate how many dots are there in a square triangle for a specific width, for example . .. … Has an area of 6 . .. … …. Has an area of 10…
Yet another Sudoku program Down to the basics, here’s what I did: Generate the whole board with backtracking, randomizing the number I chose at each step and remember the choice, this assures that the board is random, while still keep…
class Shape { // This method will be overridden by its children, even if it’s not abstract // and its children have not specified @Override void draw() { System.out.println(“Shape drawn”); }; @Override protected Object clone() { return null; } }…
Usually when working on windows form, I use this to do the work DropDownList1.DataSource = new ApplicationTableAdapter().GetDataBySystemID(1); DropDownList1.DataTextField = “Name”; DropDownList1.DataValueField = “ID”; But surprisingly, when switched to ASP.NET, the above code no longer works, at first I thought it…
Some of you might have landed on this article searching for the book instead, here it is 🙂 I have been trying to improve my typing by learning Dvorak and so far I’ve been to be able to type more…
I once posted about how to make a splash screen with C#; yet it’s still a rectangle. While it’s true that you can replace my picture with something that have curvy edges, you’ll have aliased edges i.e. crooked and crude…