Search:

Type: Posts; User: Orange Lozenge

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    3,247

    Just to say I have solved my problem. I had...

    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...
  2. Geting back into coding v.ForgottenHowToDoIt

    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,...
  3. Replies
    1
    Views
    3,247

    Object not showing member values

    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...
  4. Visual Studio - Can't see variables in Autos/Local window

    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:
  5. C# web page editor program. Advice needed to get started.

    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...
  6. Unable to join two strings due to Segmentation Fault

    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>
  7. Thanks for helping out, that worked a treat. ...

    Thanks for helping out, that worked a treat.

    and nice username BTW :)
  8. std::string question. Containing HTML code?

    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...
  9. Replies
    2
    Views
    1,269

    Thanks Salem, so am I correct in saying that...

    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...
  10. Replies
    2
    Views
    1,269

    Newbie expression tree question

    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...
  11. Hey thanks ever so much adey, sorted it! :)

    Hey thanks ever so much adey, sorted it!

    :)
  12. Iterators to different containers problem

    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()...
  13. Assigning an std::set as a tree's node problem

    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;
  14. Replies
    6
    Views
    14,623

    Yey it works now! I was stuck for ages trying to...

    Yey it works now! I was stuck for ages trying to create this type structure.

    Hey thanks so much.
  15. Replies
    6
    Views
    14,623

    My mistake, sorry for that. I added the space,...

    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?
    ...
  16. Replies
    6
    Views
    14,623

    Thanks Evo for pointing that out. Here is my...

    Thanks Evo for pointing that out.

    Here is my full program:



    #include <iostream>
    #include <map>
    #include <set>
    using namespace std;
  17. Replies
    6
    Views
    14,623

    Map of sets?

    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;
  18. Writing use cases for AI systems question.

    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...
Results 1 to 18 of 18