reference

I need some new blogs to help learn my new language (it's C).

I'm a BIG blog reader. I can't stop reading blogs. Blogs helped me find this site (in particular Jeff's blog). However I've come to realize that all the blogs I read deal with one language. Coding Horror Fabulous Adventures In Coding Jon Skeet's Blog Scott Hanselman's Blog Did you guess the language? Well now I'm learning C and usi...

Any ideas why QHash and QMap return const T instead of const T& ?

Unlike std::map and std::hash_map, corresponding versions in Qt do not bother to return a reference. Isn't it quite inefficient, if I build a hash for quite bulky class? EDIT especially since there is a separate method value(), which could then return it by value. ...

Msbuild doesn't copy references (dlls) if using project dependencies in solution

Hi, i had a look on many similar questions on this side but none of them answered the question to my problem. The whole day i tried to solve this by finding a solution (via google etc.): I have 4 projects in my VS solution (everyone targeting .net 3.5) - for my problem only these two are important: MyBaseProject <- this class library...

Is there a PHP5 setting to make it copy objects by value?

I got stuck moving an old website written in php4 to my company's new server that only supports php5. In php4, objects were copied by value, but in php5 it's by reference. Unfortunately for me, the person originally who wrote this site was making objects from others left and right, and now it's causing all sorts of problems. Is there ...

reconstructing a tree from its preorder and postorder lists.

Consider the situation where you have two lists of nodes of which all you know is that one is a representation of a preorder traversal of some tree and the other a representation of a postorder traversal of the same tree. I believe it is possible to reconstruct the tree exactly from these two lists, and I think I have an algorithm to d...

O'Reilly Safari Books Alternatives?

I have a subscription to the whole library, which I find incredibly useful. Are there any similar products out there with as comprehensive a library? I think I'm paying about $40/month and I'm happy with the service, but if there are any cheaper alternatives out there, I'd like to take a look. Thanks. ...

How to organize libraries and links of programming information

I have an email account whose sole purpose it is to store interesting and useful links to programming articles, code, and blog posts. It has become a little knowledgebase of sorts. I can even do a search on it, which is pretty cool. However, after using this account for a couple of years, I now have 775 links, and it has become this b...

How to write a lib in C#, the lib can be run without any invoked?

Hi, i want to write a C# lib, or a reference service, so that if a application reference my lib, and when the application runs, the function in my function can be run without any invoked? for example, i got a lib, keep reading the memory usage of the platform, when the memory was up to 80%, i pop up a message to the user, it is time to ...

C++ : Will compiler optimize &Variable; away?

In C++ a statement like this is valid: &Variable; IMO it doesn't make any sense, so my question is, if you do this, will it affect the compiled result in any way, or will the compiler optimize it away? Thanks! ...

Authority/AuthorScript Books/References

Hi, I was cleaning out some of my directories to free up space and found an old copy of Authority. It was an old 4GL (4th generation language) that let you “program” by dragging-and-dropping things, and had a scripting language as well—a lot like Flash. I think we used it briefly in school for a bit (10 minutes?), but I don’t remember...

Can a reference to a netmodule be added in Visual Studio?

I am trying to use code written by someone else in my own project. Their code was shipped as a .netmodule file. It seems that I have to build my project from the command line using the /addmodule option. Is there any way to do this in the Visual Studio IDE? ...

referencing dotnetnuke.dll from another folder on asp.net

I have dotnetnuke portal on server in /root/dnn and I am creating asp.net app in c# VS2008 that I need to upload on /root/app. when I deploy my app, it needs to reference dotnetnuke.dll assembly from /root/dnn/bin instead of /root/app/bin. how can I manage that, without putting app files in /root/dnn? I tried to set auto-refresh path ...

Best introductory level "R" programming language book?

Possible Duplicate: Books for learning the R language As subject states, I need recommendation for "Introcudion to" R language book. ...

VS 2008 C# : Class library is not accessible in another class library in same solution

I have a solution in VS 2008 which has one web project and 3 Class libraries as 3 different Projects. One project is for DataAccess and one is for BusinessLogic. I have a class in DataAccessLayer. From there when I am trying to access the Class of BusinessLogic class library (project) it is not coming in the IntelliSense when I type....

Why are these Java enums changing values?

I'm having some trouble with making list of objects based on a condition on an enum. It seems that after I have completed the list, every item in the list is equivalent to the last item. It's the classic case of different references pointing to the same object, but I don't know how to avoid it: I've pared things down as much as I can ...

Well written Open Source Cocoa Apps to learn from

Hey, I'm learning Cocoa and while I get comfortable with Objective-C and the concepts around it, I sometimes struggle applying the theory (like MVC) in praxis. Apple's documentation often gives me aha moments, but it would be cool to have a well written Cocoa App as a reference. So, do you know a very well written Cocoa App with public...

Reference for Net-SNMP API?

I'm currently developing a monitoring application for some in-house hardware using net-snmp. I have code that somewhat works, when calling snmp_pdu_free() my code segfaults. I am creating the pdu struct with snmp_create_pdu(). I would like an API reference to see if I am in fact writing my code correctly, but I haven't been able to find ...

Why is it illegal/immoral to reseat a reference?

Possible Duplicate: Why are references not reseatable in C++ I am trying to more or less swap two reference variables (as practice, I could have swapped the actual variables). I tried doing this by making a temporary variable and making one of the references equal the other, but this got shot down by the compiler. Here is an exa...

Where can I find a Delphi online help better than the integrated one?

Is ther any other documentation about delphi than the integrated help. Something like the http://java.sun.com/j2se/1.5.0/docs/api/ or the http://msdn.microsoft.com/en-us/library/ ...just for delphi. Because imho the delphi help is badass bad. ...

Visual Studio: Relative Assembly References Paths

When adding a reference to an assembly located within the solution directory, is there any way to add it relatively, so that when checked in and out of a repository it is referenced in projects correctly? ...