CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    3

    Question Write to desktop (linux)

    How can i write a program that writes to the desktop? Below all windows, but ontop of the wallpaper? I know this is possible because i have seen things like root-tail (http://oldhome.schmorp.de/marc/root-tail.html) But that program is in C. Can someone help me reproduce this kind of thing in c++?

    Thanks

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Write to desktop (linux)

    The majority of C programs can be made to build in C++ with minimal or zero changes. Which doesn't make such a program a C++ program----that's more about style and design----but it does beg the question of why you feel a need to do such a conversion if the code works well as-is.

  3. #3
    Join Date
    Aug 2009
    Posts
    3

    Re: Write to desktop (linux)

    Because i am a C++ Noob and i want a project/challenge

  4. #4
    Join Date
    Aug 2009
    Posts
    3

    Re: Write to desktop (linux)

    From what i've read from Google searches, I can't do it in:
    A) linux
    B) C++
    C) My current skill level

    I'll just have to learn some more about C++ and maybe some more languages

  5. #5
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Write to desktop (linux)

    If it can be done in C it can be done in C++. The only thing moving to C++ gives you is the ability to streamline the code in certain ways. It's natural---even expected---that at a few places, you'll have to interface with C APIs to get things done in C++.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured