Tutorial :in C++, how to use a singleton to ensure that each class has a unique integral ID?

Question: I have a bunch of C++ classes. I want each class to have something like: static int unique_id; All instances of...

Tutorial :automatically detect web browser window width change?

Question: i know that you with $(window).width() can get the size of the web browser. i want to detect when the user change the si...

Tutorial :RichEdit VCL and URLs. Workarounds for OnPaint Issues

Question: My issue is with the thing Delphi progies scare to death - Rich Edit in Windows (XP and pre-XP versions). Situation: ...

Tutorial :export datatable to excel, value 3E2 become 300, supposed to be text 3E2

Question: I am converting datatable to excel using the following code: public static void ExportDataTabletoExcel(String fileName, Dat...

Tutorial :Need tool to format html (indent, add whitespace)

Question: I am working on a .net project that generates html. When the html string is generated, the is no whitespace or indenting...

Tutorial :converting wav to mp3 (and vice versa) using GStreamer

Question: I am using Python bindings for Gstreamer and am using the following pipeline to convert a wav file to mp3. I used one of the...

Tutorial :Select everything in a pre box when you click on it?

Question: The select() method only seems to work with textareas and input spaces, and I don't know javascript very well, so I'...

Tutorial :Does Google provide a http page to return a XML route?

Question: I have been using a lot of Google Maps's API for getting geocoding and reverse geocoding services. Do you know if th...

Tutorial :FormView.FindControl() returns null until DataBind()

Question: Why method FindControl() returns null on FormView until call DataBind() . After that it returns everything correctly?...

Tutorial :Array class in C++: How to use one method in another

Question: I have a class for performing various array operations. I like to use my insert method in my populate method. Can someone g...

Tutorial :Declaring a variable as a “Class” datatype, without calling the “Class” constructor?

Question: Forgive me if I'm just blatantly missing something, but I'm trying to make the transition from structs and c to clas...

Tutorial :Python - efficient method to remove all non-letters and replace them with underscores

Question: def format_title(title): ''.join(map(lambda x: x if (x.isupper() or x.islower()) else '_', title.strip(...

Tutorial :How to find the lowest common ancestor of two nodes in any binary tree?

Question: The Binary Tree here is may not necessarily be a Binary Search Tree. The structure could be taken as - struct node { ...