hi, i want to learn c# programming language.i already know c++(console only) programming.i have downloaded visual c# express 2010 .Which free resources would you recommend me to learn c# and dot net 4.0 ?
I have got an in memory data structure that is read by multiple threads and written by only one thread. Currently I am using a critical section to make this access threadsafe. Unfortunately this has the effect of blocking readers even though only another reader is accessing it.
There are two options to remedy this:
use…
I'm supporting some c code on Solaris, and I've seen something weird at least I think it is:
char new_login[64];
...
strcpy(new_login, (char *)login);
...
free(new_login);
My understanding is that since the variable is a local array the memory comes from the stack and does not need to be freed, and moreover since no…
Hello
I've got an application which serves an rss feed of headlines and I need to provide this rss feed to other consumers. I don't want to provide the rss directly from my server though, due to limited server resources, so I need to proxy (cache) it through some service which will handle the load.
Assuming the rss…
I am creating a pricing program. I need to calculate the amounts according to the current tax list in the US (in various places).
I want to have a button 'Update taxes' in the administrative settings of the application, so when the user clicks it, it should download from somewhere the active tax amounts.
So I…
Me and a friend are going to start development on a project soon and are looking for "source control" like free app to use, the application will be developed using visual studio.
Thanks in advance.
I create some UIElements from code behind and was anticipating the garbage collection to clear up stuff. However, the objects are not free-ed at the time I expected it. I was expecting them to be freeed at RemoveAt(0), but they are only freed at the end of the program.
How can I make the objects be freed when…
Just started trying the "Fat Free Framework"
I'm building a site using a MySQL DB with 265 fields, and 5000+ rows in the
DB;
I can load() a specific record easily, no problems.
When using find(), afind(), and even "select()", template will show
blank lines or lines with "filler" text, with the correct number…
In this paper: Lock-Free Data Structures (pdf) the following "Compare and Swap" fundamental is shown:
template <class T>
bool CAS(T* addr, T exp, T val)
{
if (*addr == exp)
{
*addr = val;
return true;
}
return false;
}
And then says
The entire procedure is atomic
But how is that…
A few weeks ago, I did a Google Images search for keyboard finger charts to see which fingers I'm supposed to be using to type which keys. According to the charts, '6' is supposed to be typed with the right hand:
(as shown on en.wikipedia.org/wiki/Typing)
However, today I spotted a split keyboard in a…
Hi. I'm quite new to the whole field of GIS, and I'm about to make a small program that essentially overlays GPS tracks on a map together with some other annotations. I primarily need to allow scanned (thus raster) maps (although it would be nice to support proper map formats and something like…
In Photoshop CS6, the default behavior of depressing the spacebar as a shortcut for the Hand tool was working as expected, then stopped for no apparent reason. I have rebooted, closed browsers, shut down all other applications and deleted preferences and the problem persists. The spacebar works…
Sooner or later, coders will feel the need to have access to "open data" in one of their projects, from knowing a city's zip to a more obscure information such as the axial tilt of Pluto.
I know data.un.org which offers access to the UN's extensive array of databases that deal with human…
I'm reviewing my notes for my course on theory of computation and I'm having trouble understanding how to complete a certain proof. Here is the question:
A = {0^n 1^m 0^n | n>=1, m>=1} Prove that A is not regular.
It's pretty obvious that the pumping lemma has to be used for…
This may not be directly related to programming, but I always find it hard to get quality icons that can be used for software.
I currently have the need for some type of "green checkmark image", and I always seem to be looking for print, save, delete types of icons...
Anybody have…
what the best c++ libs that are simple to use and have no problems to compile in the windows
express vs 2008 compilers ?
is it best to use different libs for each purpose or to use one generic lib ?
I have been using Flesigrid for my CMS and I like it except there are some things I think it could do better like get the column headers from the ajax results rather then in the setup of the flexigrid or having the ability to change the buttons on reload things of that nature. I've…
Hello all
im looking for good freeware that is not GPL c++ webservices frame work
i have used AXIS2 but it is no good for our needs ,is there any good framework that
can be good and robust like the gSoap for example
As part of teaching myself python I've written a script which allows a user to play hangman. At the moment, the hangman word to be guessed is simply entered manually at the start of the script's code.
I want instead for the script to choose randomly from a large list of english…
One of the things that I enjoy about working for Quest Software is that we give back copiously to the community. From activities and offerings like SQLServerPedia , to our free posters mailed anywhere in North America (and don't forget the free hi-res PDFs for the rest of the…
That’s right, it’s true. You can use the free version of
SharePoint 2010 to meet your document and content management needs and even run
your public facing website or an internal knowledge bank.
SharePoint Foundation 2010 is free. It may not have all the
features…
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2013/11/03/free-ebook-programming-windows-8-apps-with-html-css-and.aspxAt http://blogs.msdn.com/b/microsoft_press/archive/2012/10/29/free-ebook-programming-windows-8-apps-with-html-css-and-javascript.aspx,…