CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: toothyXdip

Search: Search took 0.02 seconds.

  1. Re: Using class object member variables based on other member items

    Yeah that's what meant, sorry about that. How would I implement this container?
  2. Using class object member variables based on other member items

    I need to search through a class to find the object who's "id" member variable matches a value. This class object's other member variables will be used for a calculation, but only if the "id" equal....
  3. Replies
    0
    Views
    1,894

    NCruses and Typewriter Text (XCode,C++)

    I wrote a function to output text letter by letter so it has a typewriter effect. Now I want to make it automatically print the rest of the text if a key is pressed. Since I'm using a Mac ncurses...
  4. Replies
    3
    Views
    862

    Re: Inventory that calls external files

    Like I would make an inventory class that would get the variable information (which would be specific for each inventory item but those variables would be common for the item class) from a external...
  5. Replies
    3
    Views
    862

    Inventory that calls external files

    I was wondering how to call external files into a program. I'm trying to make an inventory system where each item is a file that is called, but I don't know how to use external files this way and...
  6. Replies
    1
    Views
    502

    Quick Question

    I wasn't really sure of what to search for this but what im trying to do is to take the user input and if it has a certain beginning take the following number to add/set to a variable.

    Input:...
  7. Replies
    5
    Views
    5,856

    Re: Character Input Without Delimiter

    Yeah ncurses has what you need. It has a no echo thingy.
  8. Replies
    2
    Views
    479

    Classes help

    I'm just playing around with classes and am wondering why this will not work:


    #include <iostream>
    #include <string>

    using namespace std;

    class character {
    public:
  9. Replies
    8
    Views
    5,921

    Re: Help with ncurses (int to string)

    I searched around and found a way to do it without boost until I get it worked out (I will look where it was installed now).

    Using this header file ("convert.h"):


    #include <iostream>...
  10. Replies
    8
    Views
    5,921

    Re: Help with ncurses (int to string)

    I installed boost from this site: http://boost.darwinports.com/

    This sounds really stupid but using boost.h as the header file doesn't work. Nor does <boost/(anyname).hpp>. What is the header file...
  11. Replies
    8
    Views
    5,921

    Re: Help with ncurses (int to string)

    I already tried a some of them. Actually the first thing I did was searched "c++ int to string" but now I'm thinking it might be int to char so ill do some searching. I'll also look around on here...
  12. Replies
    8
    Views
    5,921

    Help with ncurses (int to string)

    I'm playing around with ncurses and when I try to print a int variable I get this error:
    invalid conversion from ‘int’ to ‘const char*’
    initializing argument 4 of ‘int mvwprintw(WINDOW*, int, int,...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured