Just to say I have solved my problem.
I had declared the member variables inside the class declaration.
I have now declared them outside of the declaration and now I can see the member variable...
Type: Posts; User: Orange Lozenge
Just to say I have solved my problem.
I had declared the member variables inside the class declaration.
I have now declared them outside of the declaration and now I can see the member variable...
Just wanted to make a thread because I've haven't done any coding for around 6+ years now, and having just recently logged back in again I decided to have a look at some of my old questions/threads,...
Hi,
Its been a while since I did any programming, so my error maybe obvious to you guys, but the problem I'm having is that when I construct a new object, the debugger isn't showing the objects...
Hi,
I'm new to C# and Visual studio (2010).
I have created a new C# Windows Form project.
Inside of main() and have added two lines:
Hi,
I would like to write an application which allows the user to edit webpage templates. Change the words, colors, add remotely hosted pictures etc.
I hoping for some guidance on how to do...
Hi,
I have two .txt files.
I am trying to combine each line from the first file with each line from the second file, using a nested loop:
#include <iostream>
Thanks for helping out, that worked a treat.
and nice username BTW :)
Hi, I am trying to contain an HTML doctype declaration within an std string, but when I view the contents of the string during debugging the doctype is wrong, some characters are messed up.
Here...
Thanks Salem,
so am I correct in saying that I build the tree first, then parse the tree, and the order in which I parse the tree stipulates whether I am using post/in/prefix, and so I build my...
Hi there,
I have a basic question on the 'point' of expression trees.
I have created one, using the code example from HERE.
After creating 3 nodes, lets say two containing integers and one...
Hey thanks ever so much adey, sorted it!
:)
Hi,
I have been struggling with finding a solution to my program.
I have an expression tree which contains nodes which have std::set as there data member.
I am trying to use the set_union()...
Hi,
I am having trouble creating a std::set as the datamember in an expression tree's node.
Here is what I have:
//an std::map is where the sets are held
map<string,set<int> > mapname;
Yey it works now! I was stuck for ages trying to create this type structure.
Hey thanks so much.
My mistake, sorry for that.
I added the space, visual studio gives the following when I try to compile:
I understand a std::set is implemented as a tree, could this be affecting things?
...
Thanks Evo for pointing that out.
Here is my full program:
#include <iostream>
#include <map>
#include <set>
using namespace std;
Hi,
I am trying to create an std::map, one of its elements is an std::set:
string key = "a1";
set<int> setone;
map<string,set<int>> mapname;
Hi,
I'm creating my first AI system for a project and am beginning by drawing some use cases.
I was wondering, is it acceptable to have the AI system as the actor in the use case?
The AI...