Questions tagged [inclusion]

89 questions
0
votes
1 answer

Mutual dependencies in Cocoa causing compilation errors

Possible Duplicate: How can I solve this Problem with bidirectional dependencies in Objective-C classes? Why am I getting a "Parse Issue - Expected a Type" with the following code and what can I do to get it resolved (without changing the API of…
Lolo
  • 3,935
  • 5
  • 40
  • 50
0
votes
1 answer

Rails unit testing model validation :inclusion fails

Model order.rb class Order < ActiveRecord::Base attr_accessible :address, :email, :name, :payment_type_id belongs_to :payment_type PAYMENT_TYPES = PaymentType.pluck(:id) validates :name, :address, :email, :payment_type_id,…
Gatman
  • 584
  • 7
  • 15
0
votes
4 answers

Strange behaviour with Javascript inclusion

Hi I'm experiencing some problems including a javascript file in my html project. When I include it like this at the end right before the body tag my site does not work correctly.
TheBaj
  • 1,091
  • 1
  • 10
  • 22
0
votes
1 answer

"Unresolved include" errors in c++

I'm a new C++ programmer using Eclipse. Eclipse seems to recognize C++: It let me create a new C++ project and understands the syntax. However, whenever I try to #include anything, I get an "Unresolved include" error. I have CDT installed. I also…
NcAdams
  • 2,521
  • 4
  • 21
  • 32
0
votes
2 answers

Including a class in another class

So I'm trying to use the Node class that I just wrote in my LinkedList class but I'm getting the error that: Symbol 'Node' could not be resolved in the code below. #ifndef LINKEDLIST_H_ #define LINKEDLIST_H_ #include "Node.h" template
Ethan
  • 1,206
  • 3
  • 21
  • 39
0
votes
1 answer

Checking if Google Analytics library has already been included

Implementing custom solutions to track pages, events and other with Google Analytics, I would like to check if the ga.js library has already been included to avoid a double include, since I am working in an environment with multiple stakeholders…
yodabar
  • 4,651
  • 2
  • 33
  • 38
0
votes
1 answer

Inclusion of java script path in JSP

I have a web application WAR in below structure Conversion.War | Conversion.War\ index.html Conversion.War\META-INF Conversion.War\WEB-INF\web.xml Conversion.War\WEB-INF\actual.jsp Conversion.War\WEB-INF\js\convertmap.js When I access the…
Appasamy T
  • 259
  • 4
  • 10
0
votes
1 answer

Why is this Rails inclusion validation failing?

Using Rails 3.1.1 by the way. To reproduce this create a new Rails project. Create a new model within this project under the name Example. Create a migration for this model that looks as follows... class CreateExamples < ActiveRecord::Migration …
greybark
  • 3
  • 2
-1
votes
1 answer

Select observations based on criteria

I have a data frame with observations (rows) and variables (columns). I now want to create a subset of observations who meet certain criteria. The relevant variables all start with "incl_", they are numbered from 1 to 5 and equal 1 if fulfilled…
-1
votes
3 answers

How to create a binary list based on inclusion of list elements in another list

Given two lists of words, dictionary and sentence, I'm trying to create a binary representation based on the inclusion of words of dictionary in the sentence such as [1,0,0,0,0,0,1,...,0] where 1 indicates that the ith word in the dictionary shows…
-2
votes
1 answer

Inclusion vector module conflict c++

I have a problem with the inclusion of the vector module. It seems to there is a conflit with others modules. Here is the structure : In the simulation.h : #pragma once #ifndef SIMULATION #define SIMULATION #include #include…
Alexandre B.
  • 5,387
  • 2
  • 17
  • 40
-2
votes
3 answers

RegExp help (working but need an exclusion)

I am need of some regex help. I have a list like so: /hours_3203 /hours_3204 /hours_3205 /hours_3206 /hours_3207 /hours_3208 /hours_3309 /hours_3310 /hours_3211 I am using this regex to find all entries that start with 32 or 33: /hours_3[23]/ and…
whispers
  • 962
  • 1
  • 22
  • 48
-2
votes
1 answer

PHP inclusione locally

I have the same menu for all the pages of my website. I want include it in all the page with a .php file I created with MAMP PRO a fake domani to try it locally on mu MAC. I created my index.html and the other pages:
user3660993
  • 1
  • 1
  • 2
-3
votes
1 answer

Path error in a header inclusion with Geany (C++)

I found many articles about the what I am about to ask but no precise answer. I wanted to compile a main file from a RSA library. However, this error appears and I don't know how to fix it:
1 2 3 4 5
6