41 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Michael_9

# **OLD** # [URL=http://s127.photobucket.com/user/yoda3ddd/media/codemap_zps4115ff7e.jpg.html][IMG]http://i127.photobucket.com/albums/p158/yoda3ddd/codemap_zps4115ff7e.jpg[/IMG][/URL] The Data Namespace Core Friend Module Func Public OkButton As Button Public CancelButton As Button Public ProgBar As ProgressBar Private Sub ProgressLoop() Do Func.ProgBar.PerformStep() Threading.Thread.Sleep(1) Loop End Sub #Region "Constants" Public Const DataRoot As String = "C:\AFormData\" Public Const IMG_PATH As String = "C:\AFormData\img" Public Const …

Member Avatar for Michael_9
0
473
Member Avatar for clarkkent021

Hi, I am trying to learn OOP with c++ with the help of Turbo C++ version 3.0 and "C++ Primer Plus" by stephen prata. according to the book, the NEW convention for including the iostream header file in c++ is in the following way: #include<iostream> but it causes an error …

Member Avatar for Aatulya
0
2K
Member Avatar for crazyvonzipper

Hi All. For some odd reason it feels like this should be an extremely easy principle but yet I cannot seem to do this properly. I know that there might be other ways to accomplish this but for the sake of my current project, i require this. What i need …

Member Avatar for pritaeas
0
272
Member Avatar for Papa_Don

I'm making some "cleanup" changes to my 1st VB.net project that I'm publishing. The project has an "Assembly Name". But I've just realized that the Root Namespace has the default name of "WindowsApplication1". I've got to believe this needs to be changed. How important is the name I put here? …

Member Avatar for Nutster
0
1K
Member Avatar for Tinnin

Hi All, I'm having trouble understanding how the spl_autload (and namespaces) should be implemented. I have the following: namespace A\Core; class Controller { } extended by: class SiteController extends \A\Core\Controller { public function __construct() { echo 'Created SiteController!'; } } * I'm not sure if this is the correct/best way …

Member Avatar for Tinnin
0
278
Member Avatar for diafol

Hi all. Been playing with some autoloading but couldn't get it to work. I'm trying to implement the PSR-4 (project scope) approach, but documentation is sketchy and I'm a bit lost as to the issue. I've read the PHP-Fig docs: http://www.php-fig.org/psr/psr-4/ and an trying to implement a script from the …

Member Avatar for diafol
2
605
Member Avatar for Mr.UNOwen

Hello, So I'm having trouble figuring out what the correct syntax is for a function with a return type that is a template type and is within a namespace. Anyone see anything wrong with the code below? -------.HPP file: #pragma once #ifndef EC_UTIL_H #define EC_UTIL_H #include "../CommonHeaders.hpp" #include "../core/common/APVertex.hpp" #include …

Member Avatar for sepp2k
0
345
Member Avatar for Garidius

Hello to all, Please some help with this. I'm newbie to XML, XLS, Xpath, etc. How can I set correctly the reference in the command "for-each select" to avoid issues with this Top node that has namespace? I'm trying to get a XLS stylesheet to get some values. The issue …

Member Avatar for Garidius
0
362
Member Avatar for ravi_14

cout is defined in std namespace and we also include iostream to use cout...i am confused ,please clarify this.where 1)cout is defined 2)where it is declared. and if we are including iostream ,then what is the need of STD::COUT regards,

Member Avatar for vmanes
0
525
Member Avatar for Wayne_2

I have a final project for C++ class that requires us to demonstrat each thing that we've learned, a list of 24 things that range from using binary numbers, to loops to passing arrays and polymorphism and recursion. What I would really like to try is to make a simple …

Member Avatar for mike_2000_17
0
209
Member Avatar for Labdabeta

Hello, I noticed that in c++ everything that can be done using a static function in a class could be done by using a public function in the same namespace. Assuming that you bind your classes in a namespace these functions do not take up names in the global namespace. …

Member Avatar for mike_2000_17
0
199
Member Avatar for null_pointer

when i compile the below code, it throws me error messages like the namespace does not exist in the current context.. i dont know where is the problem.. pls correct my errors. thanks in advance. using System; using System.Collections; using System.Net.Sockets; namespace venkat public class Nntp : System.Net.Sockets.TcpClient { string …

Member Avatar for KushMishra
0
222
Member Avatar for gcardonav

Hello guys: I am certain if I was not trying slef-teaching C++, that this question would have been answer before. What is the use of [inlinecode]using namespace std;[/inlinecode] ? I am not certain, I just know that when I use [inlinecode]#include<iostream>[/inlinecode] I have to appended. Simple question, but a matter …

Member Avatar for StanleyLau
0
4K
Member Avatar for Maideen

Hi I have an issue in asp.net using vb code I am using Visual Studio 2012 with MSSQL 2005. I have problem in adding Report viewer, Version=11.0.0.0. I have an error "'ReportViewer' is ambiguous in the namespace ". Please anybody help me to solve this issue maideen

Member Avatar for Maideen
0
193
Member Avatar for Banfa

Given this header // header.h #include <string> namespace company { namespace module { class ProjectConstants { public: static const int CONSTANT1; static const std::string CONSTANT2; }; } } and this source file // header.cpp #include "header.h" using company::module::ProjectConstants; const int ProjectConstants::CONSTANT1 = 10; const std::string ProjectConstants::CONSTANT2("Hello World"); Are ProjectConstants::CONSTANT1 and …

Member Avatar for mike_2000_17
0
230
Member Avatar for waleed.makarem

Gentlemen, I have found a very nice tooltip control on the following link http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6967&lngWId=10 I tried to convert it to vb.net , and the solution works , but with some error . I beleive it is related to the namespace issue. Please check attached file for the C# source code …

Member Avatar for waleed.makarem
0
339
Member Avatar for sblass92

I'm setting up a finite state machine structure as a proof of concept to be used in other projects. The states have function pointers that point to actions they are allowed to perform during certain events and transitions. I'm trying to restrict these pointers to be a part of a …

Member Avatar for sblass92
0
2K
Member Avatar for shahai.ali

how to get the data from the following `xml`: <HostipLookupResultSet version="1.0.1" xsi:noNamespaceSchemaLocation="http://www.hostip.info/api/hostip-1.0.1.xsd"> <gml:description>This is the Hostip Lookup Service</gml:description> <gml:name>hostip</gml:name> <gml:boundedBy> <gml:Null>inapplicable</gml:Null> </gml:boundedBy> <gml:featureMember> <Hostip> <ip>182.0.0.1</ip> <gml:name>Private</gml:name> <countryName>Private</countryName> <countryAbbrev>PR</countryAbbrev> <!-- Co-ordinates are available as lng,lat --> <ipLocation> <gml:pointProperty><gml:Point srsName="http://www.abc.net/xyz/srs/epsg.xml#4326"> <gml:coordinates>68.7833,30.4</gml:coordinates> </gml:Point></gml:pointProperty> </ipLocation> </Hostip> </gml:featureMember> </HostipLookupResultSet> following is what i was trying: …

Member Avatar for diafol
0
252
Member Avatar for alleybye

Hi, I have a problem on getting data from XML file. I am honestly have 0 knowledge on this. Here is the XML data content, i opened the XML file using notepad then pasted here. <?xml version="1.0" encoding="utf-8"?> <?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Test-Form:-myXSD-2012-09-02T13-13-23" solutionVersion="1.0.0.55" productVersion="14.0.0.0" PIVersion="1.0.0.0" href="http://share.test.com/it/Test%20Form/Forms/template.xsn"?> <?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.3"?> <my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls" …

0
133
Member Avatar for saadi06

HI, I am have a string and I want to remove <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> from this string.I have tried str_replace but of no use can any one help that how would I remove this problem from my string. Thanks in advance.

Member Avatar for ryantroop
0
168
Member Avatar for baltazar

I'm trying to write a transform to parse an html document and create another html document but I can't seem to use the html tags in the xslt. My html source that I want to apply the transform on looks like this: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body class="3-column"> <div …

Member Avatar for Mike Askew
0
1K
Member Avatar for DavidAntaramian

# Introduction to the Issue # I'm currently working on a piece of code that was put together by someone else on my team. All of his logic was in the `index.html` file, so I'm trying to factor it out into a modular library. Part of the reason is that …

Member Avatar for DavidAntaramian
0
233
Member Avatar for loserspearl

Im working on applying a schema to an xml document but my editor (exchanger xml) is giving me some errors I can't figure out Ln 35 Col 67 - s4s-elt-invalid-content.1: The content of '#AnonType_inventory' is invalid. Element 'element' is invalid, misplaced, or occurs too often. Ln 16 Col 58 - …

0
130
Member Avatar for badboy11

Need help with implementing a pure abstract class via inheritance, using namespace to wrap all my classes to avoid conflict with others. I have been able to build and run the code successfully if I remove namespace wrapper from my abstract class and all classes that inherit from my pure …

Member Avatar for badboy11
0
252
Member Avatar for asif49

[url]http://feeds.bbci.co.uk/news/rss.xml[/url] ^^ I'm extracting data from the above website. I can extract most actual elements using the following code: [CODE] $xml="http://feeds.bbci.co.uk/news/rss.xml"; $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); //get elements from "<channel>" $channel=$xmlDoc->getElementsByTagName('channel')->item(0); $channel_title = $channel->getElementsByTagName('title') ->item(0)->childNodes->item(0)->nodeValue; $channel_link = $channel->getElementsByTagName('link') ->item(0)->childNodes->item(0)->nodeValue; $channel_desc = $channel->getElementsByTagName('description') ->item(0)->childNodes->item(0)->nodeValue; [/CODE] ...but I can't read the attributes …

Member Avatar for asif49
0
1K
Member Avatar for jakethepython

I am new to python and am making a program with the wxpython module and no matter what I try I get a NameError: global name 'outp' is not defined?? Can someone help? Here is the code, it is fairly complex: [CODE]import wx class jake(wx.Frame): def func1(self,event): global foo foo+="1" …

Member Avatar for woooee
0
839
Member Avatar for p1nchbeck

Hello you guys, i'm new to this community and relatively new to c++. right now i have a big problem with namespaces and i'm not able to resolve this issue on my own, so here we go: I want to integrate 2 simmilar projects into my project. they are so …

Member Avatar for p1nchbeck
0
272
Member Avatar for sandesh1989

How to create namespaces and put it in a folder . I know how to create namespaces and call that in the same program file . But i want to know how to create a namespaces full of utility classes and put it in a separate file . Just like …

Member Avatar for abelLazm
0
99
Member Avatar for adaniel058

[ATTACH]17854[/ATTACH] [ATTACH]17855[/ATTACH] [ATTACH]17856[/ATTACH] Guys I am trying to help a friend of mine with this project they have due in a few days and because I program in Java mainly I am a bit rusty with this. I can not figure out why my getInput function shows up under the …

Member Avatar for adaniel058
0
134
Member Avatar for tet3828

I'm trying to compile some code in Visual C# Express. Would someone please have a gander and help me out by giving me a brife explanation of why I'm getting an error "oleDbDataAdapter is not in the current context"? From my understanding (which must be wrong) oleDbDataAdapter is part of …

Member Avatar for Momerath
0
322

The End.