Hogan

New York, NY

Age: 48

25+ years...
ASM, C, C++, C#, VB, ASP.NET, TSQL +many more


The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.


Programmer, Architect, Team Lead, Director, CTO
MS Comp. Sci @ NYU '95
hoganlong at us.ibm.com // hoganlong at gmail.com

Nov
20
awarded Yearling
Nov
20
awarded Yearling
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
@WhozCraig - an API like this allows for such features in the future without a change to the API.
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
@wildplasser - true. But it is consistent with other C APIs
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
@ryyker - I see. I it is not that a[2] changed, it is that a[2] was "undefined" or random before the call to malloc.
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
@wildplasser - wrong the a is returned from the function.
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
@yellowantphil - no. He is allocated for the pointers not the content.
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
ignore wildplasser --- he makes no sense. I want to know why you think memory has changed -- are you objecting to the allocated memory not being continuous?
Nov
19
comment Misconception of how memory is created using malloc()/calloc()
why does that show the pointers have changed?
Nov
19
answered Where do I put WHERE command on complex sql command
Nov
12
comment Join two tables to get counts different dates
First of all why is your table called a reserved word? You are going to be able to do a lot better if you have yet another table with integers (which you can add that number of days to a starting date) or just the dates. Then left join your rolled up (group by) results to that starting table.
Nov
12
comment Concatenating a List of of sites and count of occurrences into a column
@n8 the orderby in the sub-query should change what order the comma separated results are in. the order by at the end should change the order of the rows.
Nov
12
comment Pass linq anonymous object to function
also you can get rid of the lCursos variable and the AddRange and just assign directly since you are making a new List<CursoWall>
Nov
12
comment Pass linq anonymous object to function
@Terkhos - see my comment on the main question
Nov
12
comment Pass linq anonymous object to function
Instead of select new {... do select new CursoWall() {...
Nov
12
revised C# - Missing assembly/reference, Object-Oriented Programming
edited tags
Nov
12
comment C# - Missing assembly/reference, Object-Oriented Programming
sigh... take out the line that is different. (using School;)
Nov
11
comment Why doesn't g++ (4.9.2) compile (a very simple program)?
You could read the installation guide for the software you are using. gcc.gnu.org/install
Nov
11
revised Why doesn't g++ (4.9.2) compile (a very simple program)?
edited tags
Nov
11
comment Concatenating a List of of sites and count of occurrences into a column
@n8 There should be no reason to order by in the sub-query (pre). Any time you use it you will be doing a select and can add an order by clause in that select. I'm not sure where you are not seeing the correct ordering.
1 2 3 4 5