Most voted "namespace" questions
A namespace is a grouping that provides context for the items it contains (names, concepts, etc.), allowing the coexistence of items with an equal name in separate namespaces. Use this tag for questions about namespace problems, but not just because your code uses namespaces.
Learn more…110 questions
Sort by count of
-
-1
votes2
answers742
viewsI can’t get a variable from another namespace
A project is Webapplication and the other one is like Console: "Projectste" Nomedasolution Structure below: Business(Pasta) Businessdal(project) Arquivodal.Cs Console(project) Business.Cs //Project…
-
-1
votes2
answers100
viewsWhy is calling a method not compiling?
using System; using System.IO; namespace testando { public class pessoa { public void Falar(){ Console.WriteLine("Ola meu nome é ninguem"); } } …
-
-1
votes1
answer80
viewsPhp namespace inherits "use" from another class
It would be possible to "inherit" imports, use of a class? Example Car.php <?php namespace app\model; use app\Utils; use app\Banco; class Carro{} main.php <?php namespace app\model; use…
-
-1
votes1
answer89
viewsclass call error
Good morning to all!! Guys, I’m going back to dealing with pure php and I came across a mistake half beast, but I’m not knowing how to solve...the error is : C:\xampp\htdocs\PDO\index.php:5 Stack…
-
-1
votes1
answer97
viewsJquery post with problems accessing a php class
I’m having trouble accessing a class via $.post from jquery. There is some internal error that is not shown in the console. If I instantiate the class via php, it works perfectly, just by jquery…
-
-1
votes1
answer93
viewsError with namespace
I have the following folder structure: Inside the Form folder there is a file called Form.php (among others). Form.php belongs to the 'Book Widgets Form' namespace. There is another folder with the…
-
-1
votes2
answers111
views@using from my view does not find the model in Asp.Net MVC
[ Hello friends my name is Wesley I already do program some time (huahuahua) I always use the platform to ask questions but it is the first time I use the platform to ask, I hope you can help me I…
-
-1
votes1
answer25
viewsCreate and call a c++ template function
I have this template below, and when I try to call with the excerpt below, it can’t find the reference template<typename T> double power(T base, T power) { double result = base; int j = 0; do…
-
-2
votes1
answer26
viewsI can’t use "use Pdo"
my project is not working because it gives the following errors: Warning: include(Models PDO.php): Failed to open stream: No such file or directory in C: xampp htdocs Resumeai index.php on line 3…
-
-4
votes1
answer351
viewsFatal error: Class 'Mail' not found in xampp php Pear Mail mail.php
I have an app with namespace set. I use Mail/Mail.php and mime.php to send email. I have a scope problem. I include the email class within my scope. The error output is: Fatal error: Class 'Mail'…