Search:

Type: Posts; User: Ricochet

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,551

    So then is it safe to say that .NET apps won't...

    So then is it safe to say that .NET apps won't ever be as efficient as apps using the Win32 API or some GUI library(such as SmartWin, not MFC), since they are just calling functions in the Win32...
  2. Replies
    5
    Views
    2,551

    C# or Windows API?

    Well, I want to take a Windows GUI programming class this semester and was looking for some opinions on the topic. I think I want to take either C# or GUI programming w/ C++. I've done a few online...
  3. Replies
    5
    Views
    2,008

    Oh okay. Well that's interesting to know at...

    Oh okay. Well that's interesting to know at least. Though I think I'll try not to do it. I just got rid of the struct alltogether. It made things easier inside and outside the class. :)
  4. Replies
    5
    Views
    2,008

    Okay. I figured it must be. Thanks. :) I was...

    Okay. I figured it must be. Thanks. :) I was doing an assignment, which was to convert a program to a class-based program. I decided to ditch the struct alltogether as it is sort of redundant now.
  5. Replies
    5
    Views
    2,008

    Simple yes/no question regarding classes

    Can you have a class object with the same name as the class?

    Example:



    class Person {

    public:
  6. Replies
    5
    Views
    1,157

    wouldn't this be easier to do with a...

    wouldn't this be easier to do with a two-dimensional array? like a table...

    EDIT: Nevermind. I don't really think so...

    I actually had a similar problem to this for an assignment earlier this...
  7. Replies
    3
    Views
    2,114

    Indeed. I had a brain fart. Sorry for the stupid...

    Indeed. I had a brain fart. Sorry for the stupid question. :o
  8. Replies
    3
    Views
    2,114

    Yet another simple class question...

    Well I have this program for a binary tree, and up to this point I've never used two classes in the same program. So basically I just need to know how to call a member function of one class from a...
  9. Replies
    8
    Views
    1,129

    Hmmmm... Okay, I found the bit about friend...

    Hmmmm... Okay, I found the bit about friend functions. I had that problem before actually as well on a different project, but fixed it with the latest service pack. Maybe this is just a similar bug...
  10. Replies
    8
    Views
    1,129

    That link doesn't work. I supose it's worth...

    That link doesn't work.

    I supose it's worth mentioning that i'm using Visual Studio 6 right now... It might be fixed in newer versions I guess?
  11. Replies
    8
    Views
    1,129

    hmmm if I do either of those VC++ tells me...

    hmmm if I do either of those VC++ tells me "'Nodetype' : undeclared identifier" and gives me loads of other errors regarding my structure not being there. That doesn't make any sense to me. :confused:
  12. Replies
    8
    Views
    1,129

    using ostream in a template

    I have this class and have, among other things, a client print function. I have an assignment to make a client print function, however we weren't really told how to use ostream in a class, and what...
  13. Replies
    4
    Views
    932

    Question regarding classes

    I have this class in a project for school:



    class info
    {
    friend istream & operator >>(istream &, info&);
    friend ostream & operator <<(ostream &, const info &);
    public:
    bool operator<(...
  14. Replies
    18
    Views
    3,257

    Nah. I'm just going to a community college right...

    Nah. I'm just going to a community college right now. This is my second year there. I'm going to transfer to a university next year. When I said KU, I just meant the University of Kansas. I don't...
  15. Replies
    18
    Views
    3,257

    As I mentioned in my original post, I never took...

    As I mentioned in my original post, I never took Calc 3. I don't have too. The last math class I took(and have to take) was Adv. Engineering Math, which was basically an accelerated course that...
  16. Yeah, I've noticed. :( I don't know if he chose...

    Yeah, I've noticed. :( I don't know if he chose it, or if they have the same text book for all the CS250 classes. But he complains about it a lot as well. Though the driver program was the only one...
  17. It is the code from that book. That's the book we...

    It is the code from that book. That's the book we use in class, and as I mentioned our assignment was to modify that code for an array using pointers. Sorry, maybe I should have been more clear about...
  18. Replies
    18
    Views
    3,257

    Well, I'm in my second year of Comp. Engineering,...

    Well, I'm in my second year of Comp. Engineering, which is related to CS, so I think I have an idea of what you should expect. I'm at a community college right now, taking all my electives/prereq's,...
  19. Question about a stack using array of pointers

    Well, I had an assignment for class to convert an array of objects stack to an array of pointers stack. I think that I've oversimplified the assignment, because the program compiles okay, but...
  20. Replies
    7
    Views
    1,124

    Well, the size of the array isn't changing, as...

    Well, the size of the array isn't changing, as I'm just shifting the data around.

    This is what I had before w/o the temp array:



    int compact(holder & info)
    {
    int ptr = NULL;
    for(int i...
  21. Replies
    7
    Views
    1,124

    Sorry, maybe this will help: struct person...

    Sorry, maybe this will help:



    struct person {
    char name[20];
    int id;
    };

    struct holder {
  22. Replies
    7
    Views
    1,124

    Need help with simple c++ function

    Basically what this function does is compact an array so that, if there are empty spaces in the structure, the following items in the struct are moved up, and the empty spaces are added on at the...
Results 1 to 22 of 23