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

Search:

Type: Posts; User: g4j31a5

Search: Search took 0.02 seconds.

  1. Thread: Date & Time

    by g4j31a5
    Replies
    4
    Views
    1,462

    Re: Date & Time

    Thanks alot.
  2. Thread: Date & Time

    by g4j31a5
    Replies
    4
    Views
    1,462

    Date & Time

    Hi, I needed to extract current machine date in my application. Can "_strdate" be used in Linux? Also, is there any open-source Time & Date library like MFC's CTime?

    Thanks in advance.
  3. Replies
    9
    Views
    681

    Re: array of pointer (how to use new)

    Yeah, sorry. I know that, but it's my fault not to make a complete code. I forgot to add the "new" / "malloc" line.



    CMIIW, but isn't foo[0] = pointer of foo; foo[1] = pointer of foo + 1; etc?...
  4. Replies
    9
    Views
    681

    Re: array of pointer (how to use new)

    Sorry if I'm not giving a proper answer. But, why don't you use an "std::string"? It's better than array of chars?

    Beside, why do you use pointer to pointer? As I see it,


    char *var[12];

    ...
  5. Replies
    4
    Views
    627

    Re: Accessing printer & touchscreen in Linux

    Thanks a lot. Now I have an insight of what to do. Thanks again.
  6. Replies
    4
    Views
    627

    Re: Accessing printer & touchscreen in Linux

    Okay, I've read it. But it seems like it can only print from a file (CMIIW). What if I wanted to, for example, print a string from a variable (not from a file).
    I know in C++, to print something is...
  7. Replies
    7
    Views
    579

    Re: Dynamic Memory Allocation

    Err, I'm not sure but you can change the code:


    int i = send(client[num], buffer, strlen(buffer), 0);


    into
  8. Replies
    4
    Views
    627

    Accessing printer & touchscreen in Linux

    Hi, can anybody tell me where I could get a tutorial about programming with printer & touchscreen in Linux? If it's in windows, I can use the methods in windows.h, but what about Linux?
  9. Re: Porting from VC6 to Linux Fedora core 5 problem

    Thanks a lot.
  10. Re: Porting from VC6 to Linux Fedora core 5 problem

    Thanks, I've tried it and it worked. The error is gone. Thank GOD!!! But another problem though (a warning actually), in this code:


    void loadBmp(std:string fullname)
    {
    if (!(myPic =...
  11. Re: Porting from VC6 to Linux Fedora core 5 problem

    oops sorry. I just copy pasted the line. Actually it didn't quite go like that. The objects were all different. I'll edist my post.
  12. Re: Porting from VC6 to Linux Fedora core 5 problem

    I have suspected the cause but I didn't quite sure. In making the CBmpImage objects in CImageHandler, I used this code:


    .....
    CBmpImage
    {
    public:
    CBmpImage(char* imgname,char* filename)
    {...
  13. Re: Porting from VC6 to Linux Fedora core 5 problem

    Well, I can't give you the full code cause it has already evolving into a "small" giant. Here's a part of it though:

    in main


    int main(argc,argv)
    {
    CImageHandler* mImgHandler; //Object...
  14. Porting from VC6 to Linux Fedora core 5 problem

    Hi, I'm a new member in the forum. I have quite a problem here. Actually, I've posted it in www.cprogramming.com, but since I needed it to be resolved fast, I post it here also.

    Recently, I ported...
Results 1 to 14 of 14


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)