tagged [include]

Dynamically load a JavaScript file

Dynamically load a JavaScript file How can you reliably and dynamically load a JavaScript file? This will can be used to implement a module or component that when 'initialized' the component will dyna...

11 Apr at 22:1

How to get the file-path of the currently executing javascript code

How to get the file-path of the currently executing javascript code I'm trying to do something like a C `#include "filename.c"`, or PHP `include(dirname(__FILE__)."filename.php")` but in javascript. I...

25 Oct at 10:6

C++, how to declare a struct in a header file

C++, how to declare a struct in a header file I've been trying to include a structure called "student" in a `student.h` file, but I'm not quite sure how to do it. My `student.h` file code consists of ...

Cannot open include file with Visual Studio

Cannot open include file with Visual Studio I have recently gone from [Code::Blocks](http://en.wikipedia.org/wiki/Code::Blocks) to Visual Studio, and in Code::Blocks one could just add a class and the...

Passing a variable from one php include file to another: global vs. not

Passing a variable from one php include file to another: global vs. not I'm trying to pass a variable from one include file to another. This is NOT working unless I declare the variable as global in t...

23 May at 11:47

LINQ To Entities Include + Where Method

LINQ To Entities Include + Where Method I have NxN table, imagine: User(id, ...) Addresses(id, ...) UserAddresses contains the FK to user and to address. For what I know, the Entity created by the En...

15 Oct at 16:40

PHP Include for HTML?

PHP Include for HTML? I have a navigational bar, an image, and a heading that I'll be including in every page of my website, so I wanted to use php include to refer to this code in several pages. Howe...

9 Aug at 16:7

How do include paths work in Visual Studio?

How do include paths work in Visual Studio? Visual Studio drives me crazy and I am suspecting I am doing something wrong. This is what I do: I installed Visual Studio (Pro '08) a long time ago, I inst...

20 Apr at 15:55

what does it mean "(include_path='.:/usr/share/pear:/usr/share/php')"?

what does it mean "(include_path='.:/usr/share/pear:/usr/share/php')"? I have file structure on EC2 like : but facing some file referencing problem. I have tried file referencing as: ``` `require_once...

8 Aug at 06:17

Already defined in .obj - no double inclusions

Already defined in .obj - no double inclusions I happened to get that already defined in .obj error. This is structure of my project: ### main.cpp ### main.h ### client.cpp ``` #ifndef SOCKET_CLIENT_C...

How do I run a file on localhost?

How do I run a file on localhost? How do I actually run a file on localhost? I know it is working, but how do I run a file on it, and how do I verify that the file is in fact running on localhost? Fro...

23 Nov at 22:7

Using header("Location") from a template include file / Process include and save in variable

Using header("Location") from a template include file / Process include and save in variable I am trying to figure out a way to do this: I want to have a core template file (structure.php): ```

28 Jun at 19:10

What is the correct syntax of ng-include?

What is the correct syntax of ng-include? I’m trying to include an HTML snippet inside of an `ng-repeat`, but I can’t get the include to work. It seems the current syntax of `ng-include` is different ...

EF: Include with where clause

EF: Include with where clause As the title suggest I am looking for a way to do a where clause in combination with an include. Here is my situations: I am responsible for the support of a large applic...