reference

How can I determine the type of a blessed reference in Perl?

In Perl, an object is just a reference to any of the basic Perl data types that has been blessed into a particular class. When you use the ref() function on an unblessed reference, you are told what data type the reference points to. However, when you call ref() on a blessed reference, you are returned the name of the package that refe...

A good, free resource to learn the fundamentals of C (not C++) development?

Any recommendation for a good, free resource to learn the fundamentals of C (not C++) development covering basic topics such as Algorithms, Control Structures, Functions, Arrays, Pointers, Structures, et cétera? ...

PHP property's scope overridden by passing as reference?

In PHP, if you return a reference to a protected/private property to a class outside the scope of the property does the reference override the scope? e.g. class foo { protected bar = array(); getBar() { return &bar; } } class foo2 { blip = new foo().getBar(); // i know this isn't php } Is this correct and is the arr...

Good JavaScript Books?

I find myself using Javascript day to day without a solid understanding of the language. There are some great writeups out there about using specific features of the language, but I'd like a distilled, printed book reference about the language itself. Please list good books that discuss the JavaScript language; not frameworks, usage an...

Pointers and Reference

I understand the overall meaning of pointers and references(or at least I think i do), I also understand that when I use new I am dynamically allocating memory. My question is the following, if i were to use cout << &p it would display the "virtual memory location" of p. Is there a way in which I could manipulate the "virtual memory loca...

What is the best online book service for software development references?

I'm a member of ACM, and I have limited access to both Books 24x7 and Safari Books Online, however if I was interested in moving up to a full account for greater access to other books what online book service would you recommend? ...

curses API

Where can I find a complete reference of the ncurses C API? ...

Pointer vs. Reference

What would be better practice when giving a function the original variable to work with: unsigned long x = 4; void func1(unsigned long& val) { val = 5; } func(x); or: void func2(unsigned long* val) { *val = 5; } func2(&x); IOW: Is there any reason to pick one over another? ...

LabVIEW holds Excel Reference

Hi, I try to open and excel reference in LabVIEW and then close it after sometime. But the LabVIEW keeps holding the reference and does not release it unless I close the VI. Why is this happening? Is there anyway to force it to release the Reference? I am checking the error out for any errors. But it is not throwing up any errors. ...

What are some of the pros and cons of using jQuery?

As someone who is only barely proficient in javascript, is jQuery right for me? Is there a better library to use? I've seen lots of posts related to jQuery and it seems to be the most effective way to incorporate javascript into ASP.NET applications. I've been out to jQuery's site and have found the tutorials and other helpful informa...

Problems adding a COM component reference to a VB.NET project

I have a third party COM dll that I'm trying to add to a vb.net (2008 express) project. I put the dll in C:\WINDOWS\system32\ and registered it with "regsvr32 vxncom.dll". When I go to projects > add reference and go to the COM tab it shows up in the list of available components/libraries. But, when I select the library and hit ok, visua...

Python language API

Hello. I'm starting with Python coming from java. I was wondering if there exists something similar to JavaDoc API where I can find the class, its methods and and example of how to use it. I've found very helpul to use help( thing ) from the Python ( command line ) I have found this also: http://docs.python.org/ http://docs.python...

when to pass fuction arguments by reference and when by address?

Could anyone explain with some examples when it is better to call functions by reference and when it is better to call by address? ...

Windows Command Line Reference

Can you recommend a reference for the windows command line? I would like an exhaustive reference. Perhaps something along the lines of Unix in a Nutshell? I see that there is a Windows XP in a Nutshell - is that the same sort of thing? ...

Best Referece to learn OOP independent of languages?

I am looking for a good reference, which describes how to design and implement OO objects irrespective of OO language used. The things that programmer should consider in the initial stages of designing and implementing objects. things like, when to use inheritance/polymorphism and when to use composition. Please note, i am not looking f...

What online resources are there to learn about VxWorks?

What are some of the online resources you have found useful to learn about VxWorks? ...

Why is "The referenced component 'X' could not be found." considered a warning?

I wonder, why the hell... did the VS team consider that NOT finding a project reference as a non crucial thing? The referenced component 'X' could not be found. should be considered an error... and nothing else. Is there a way (without turning 'Treat all warnings as errors' on) to get this warning as an error in VS2008? ...

Programming texts and reference material for my Kindle DX, creating the ultimate reference device?

(Revisiting this topic with the release of the Kindle DX) Having owned both generation Kindle readers and now getting a Kindle DX; I'm very excited for true PDF handling on an e-ink device! An image of _Why's book on my Kindle (from my iPhone). This gives me a device capable of storing hundreds of thousands of pages that are full text...

How do databases work internally?

I've been working with databases for the last few years and I'd like to think that I've gotten fairly competent with using them. However I was reading recently about Joel's Law of Leaky Abstractions and I realised that even though I can write a query to get pretty much anything I want out of a database, I have no idea how the database a...

Is there a definitive book on Python?

There have been several questions here on SO about resources for learning Python (which have been most helpful,) but I was wondering if there was some consensus in the Python community about what the definitive reference book was once you knew the language? I'm hoping for something along the same lines as K&R's "The C Programming Langua...