reference

LaTeX template for technical reference manual?

Hello, I'm looking to use LaTeX for my technical documentation needs (such as reference manuals, user guides, etc). Could I use your template to quickly get started in order to avoid being overwhelming by the LaTeX world... tons of packages and control sequences. At minimum, I will need Table of Contents, figures, tables, Index, Glossar...

Uninitialized int vs Integer

Hi all, I was just studying up on my Java in preparation for an exam and I ran into a sort of problem with uninitialized int/Integer values. class A { int x; Integer y; static int z; static Integer z2; public A(){} } Lets say I initialize an object of Class A. A a = new A(); I've tried th...

c++ how to make two vectors one with data the other points and reads only

In C++ I have 2 STL vectors A and V. A has data and is able to change it, V only points to data but reads only and can't modify it. So if these two vectors are inside a class what will be the syntax of Variables definition assigning A reference into V get_A() and get_V() will it return a reference or a pointer? Also If I have other...

Perl - Push into arrays using variable references versus using variable copies

Question: Why can't I push elements into a 2d array that's inside of a while loop that parses through a SQL result set? I need some help here as to why this happens. The way data is stored into a 2d array can be done several ways, but for my purposes, I need to use the push method. Here's some code that works: my @tt = (0,1,2,3); my...

"are you missing a using directive or an assembly reference?" but the namespace and reference are correct

Hi, I've got the following error when builing my project. The type or namespace name 'OvuMenu' could not be found (are you missing a using directive or an assembly reference?) But I have put a using in my code and a reference to the dll. It is a WPF application that exists of 3 projects. I checked the references, even intellisense wo...

Any good documentation for the cblas interface?

Can someone recommend a good reference or tutorial for the cblas interface? Nothing comes up on google, all of the man pages I've found are for the fortran blas interface, and the pdf that came with MKL literally took ten seconds to search and wasn't helpful. In particular, I'm curious why there is an extra parameter for row vs. column...

JNI object references obtained through the Invocation API: local or global?

I'm using the JNI invocation API, which starts a JVM within a C program; in this situation, you get a JNIEnv pointer which remains valid until you explicitly destroy the JVM. Does the local/global distinction still apply here? What's the meaning of a local reference to a newly created object, since the JNIEnv remains in scope all the tim...

VB .Net 2008 - List all objects currently in scope?

Hi Guys, Please can any one advise me if there is an object in .net that can be used to get a list or references to all objects that are currently in scope for an object. For example if the code is currently executing in a method, what objects declared in this method are currently instanciated and alive and what objects that are decla...

How do I ref a figure in LaTeX before it occurs?

I always like my figures to be placed in between text as opposed to the top or bottom of the page. I also like to talk about the figure before it is shown. So I am trying to have something like this: By looking at Figure~\ref{fig:VCO} you can see that blah blah blah. \begin{figure}[h] \caption{VCO test circuit}\label{fig:VCO} \begin{ce...

Tutorial on Using OpenSSL with pthreads

OpenSSL documents state that it can safely be used in multi-threaded applications provided that at least two callback functions are set, locking_function and threadid_func.... I've written programs which use OpenSSL API. Moreover, I know how to use pthreads. However, the OpenSSL documents are written in the form of a manual, and I can't...

May a compiler optimize a reference to constant parameter to constant value ?

Consider following function: void func(const char & input){ //do something } Apparently it makes sense for the parameter to be constant value not reference to constant regarding size of the char type, Now may a compiler optimize that to constant value so that it'll be the same as following ? void func(const char input){ //do someth...

Where are ref value type parameters stored for asynchronous method calls in Microsoft's CLR?

I understand that this is an implementation detail. I'm actually curious what that implementation detail is in Microsoft's CLR. Now, bear with me as I did not study CS in college, so I might have missed out on some fundamental principles. But my understanding of the "stack" and the "heap" as implemented in the CLR as it stands today is...

Difference between C++ const refernces and consts?

What is the difference between: const double& pi = 3.14; and (no ampersand): const double pi = 3.14; They both seem to have the same L and R values so what is the difference? Thanks. ...

Pass a pointers value by reference

Is it possible to refer to the address value the pointer variable holds. My function is something(int &num); and I need to pass a pointer to it; int* i = new int(1); like &(*(i)); can this be done? im using qt and I don't know why but; *&ui->numberInput->text() gives a QString &ui->numberInput->text() gives a *QString, *ui->numberOutput...

Why Visual Studio removes the drive letter from the AssemblyReference RelativePath when editing a project?

Hello, using visual studio we always load and build references to a unit (R:). The problem is that when someone edits any project properties the drive letter is removed from the assembly path and then the build machine can not build the application. The project file looks like this when created: <References> <AssemblyReference ...

May a pointer ever point to a cpu register?

I'm wondering if a pointer may point to a cpu register since in the case it may not, using reference instead of pointer where possible would give compiler opportunity to do some optimizations because the referenced object may reside in some register but an object pointed to by a pointer may not. ...

Python Variable References Tutorial

I need to explain how Python variables are references to objects to a collegue. E.g., how changing the value of an object in one place changes other variables that reference it. I remember reading a wonderful tutorial on that a long time ago. It had diagrams with lines connecting the variables to the objects and showed how those conne...

Recursive function via reference

I need to recursivly echo comments and their respective children from a Jelly collection in Kohana. I was wondering how I pass a variable to a function via reference. I assume it would be something like this: function recursive(&$array) { recursive(&$array); } But I am not quite sure. So is this correct or when I call the function...

Automating .NET Framework class references

Hello there! I'll have to generate a lot of externs so I can interface with the .NET framework from another programming language for an open-source project I'm working on. I was wondering if there is any way to get all the MSDN class references as an XML or something? I'm thinking about parsing the actual HTML, but it seems it won't be v...

How do you use a @ symbol in the name of a PHP object

I've got an XML file that has the label @attributes for one of the names SimpleXMLElement Object ( [@attributes] => Array ( [PART_NUMBER] => ABC123 I want to make a reference to this object like $product->@attributes['part_number'] but of course the @ symbol causes an error. So how do I reference this item in ...