Search:

Type: Posts; User: jimothygu

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,915

    Ok, so can I go straight to this: if...

    Ok, so can I go straight to this:



    if (GetClassName(hwnd,wndowclass,CLASS_SIZE)==0)
    return TRUE;

    string strTemp(wndowclass);
    if ((strTemp==string("Ate32Class")));
  2. Replies
    4
    Views
    1,915

    Original

    Just to give credit where credit is due, the original is here
  3. Replies
    4
    Views
    1,915

    Grabbing Text from a Window

    Hi, I am trying to modify some code that grabs the contents of a chat window. Unfortunately the code is for MSN Messenger, and I'd like to try it with AIM. Basically, when executed, it takes the...
  4. Replies
    2
    Views
    1,270

    logging from AIM windows

    I've been trying to come up with an application that will log my instant messaging conversations (yeah, I know there are tons of programs out there that will do it for me, but I'd like the...
  5. Replies
    3
    Views
    2,129

    works!

    works great, thank you very much. Just a question though, what does the '\0' do? Does that just insert a null value to the cells?

    Cheers,

    Jim
  6. Replies
    3
    Views
    2,129

    vectors and classes

    Hey, I'm having some problems populating a two-dimensional vector that I defined in a class. I would like to do something like this:

    class A {
    public:
    A(); //...
  7. Replies
    1
    Views
    856

    looking for errors

    Hi, I'm having some trouble making this program work, and I thought another set of eyes might help. I'm also hoping that I could get some suggestions to improve it from its current form. I've been...
  8. Replies
    5
    Views
    933

    still having trouble

    I've been trying various methods, but none of them is giving me the output I want, or it terminates the program because of an error.
    This is what I have so far:

    string ms;
    int s1, f1, hold,...
  9. Replies
    5
    Views
    933

    Yeah, that's what I'm doing now. I search for...

    Yeah, that's what I'm doing now. I search for From and the subject, and then put those in a vector. I am currently having trouble with a way of finding the next occurance of From and Subject, and...
  10. You don't need to. With the exception of a...

    You don't need to. With the exception of a missing ';', my code works fine. But there are many different ways of doing the same thing in c++, so I guess it's whatever suits you better.
  11. Replies
    2
    Views
    927

    Well, if it's supposed to compile, and it's not...

    Well, if it's supposed to compile, and it's not because of errors, then do what salem said. But if it doesn't include a compile function, then codewarrior used to be really good for Macs. Of...
  12. getline

    I'm rather new to c++ as well, but I think that 'cin >>' will stop once it hits it's first whitespace. So if you're going to be entering strings at some point that have spaces, you can use
    ...
  13. Replies
    5
    Views
    933

    question on methods

    Hiya,

    I was wondering if anyone else could give me some input on what would be the best way to search a string for some values, and then print it out.

    Suppose I have a string like: ">From: me...
  14. Replies
    2
    Views
    1,194

    nested classes

    First, here is my code:

    #include <iostream>
    #include <string>
    using namespace std;
    class message {

    public:
    message();
    ~message();
  15. Replies
    6
    Views
    1,259

    ok

    ok, I guess I got confused in the initialization of the variables. If I want my constructor to take in the To & From fields, would I put those strings in the incoming parameters, or is there a way...
  16. Replies
    6
    Views
    1,259

    printing

    I tried some various methods, but now I just have a cout statement that prints the variables. Like:



    cout << "To:" << to << endl;
    cout << "From:" << from << endl;
    cout << "Subject:" <<...
  17. Replies
    6
    Views
    1,259

    just in case....

    Here is some of the code for the class just in case it is of any help:



    class message {

    public:
    message (string, string);
    ~message();
    void set_time(); //timestamp
  18. Replies
    6
    Views
    1,259

    help with classes....

    Hi! I'm currently trying to make a small program that uses classes to simulate an email client. Meaning that it has the ability to record the 'to', 'from', 'subject', and 'message' fields. I've...
Results 1 to 18 of 18