Graphics With Gcc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thaparian354
    New Member
    • Jan 2007
    • 19

    Graphics With Gcc

    hi ! can any body plzzzzzzzzz help me how to make screensaver in c++
    with gcc .
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by thaparian354
    hi ! can any body plzzzzzzzzz help me how to make screensaver in c++
    with gcc .
    Hello and welcome to TheScripts.com. TSDN is a place to get help with your C++ education. A screensaver is a big project. If you are just getting started, you have many small steps to take while you learn the language. Feel free to post your code related questions in the C++/C Forum.

    Comment

    • thaparian354
      New Member
      • Jan 2007
      • 19

      #3
      removed email address

      Originally posted by bartonc
      Hello and welcome to TheScripts.com. TSDN is a place to get help with your C++ education. A screensaver is a big project. If you are just getting started, you have many small steps to take while you learn the language. Feel free to post your code related questions in the C++/C Forum.
      CAN U PLZZZ GIVE ME HOW TO PROCEED IN BRIEF OR HELP IN SOME OTHER WAY. U CAN MAIL ME AT [email address removed]. i willl be thankful to u .

      I EVEN DON'T KNOW HOW TO DRAW A LINE WITH GCC AS WE DO WITH TURO C++ . CAN U PLZZZ GIVE ME HOW TO PROCEED IN BRIEF OR HELP IN SOME OTHER WAY

      Comment

      • thaparian354
        New Member
        • Jan 2007
        • 19

        #4
        Graphics With Gcc

        Can Anybody Plzz Help Me How To Draw A Circle With gcc As We Draw In Turbo C++

        Comment

        • thaparian354
          New Member
          • Jan 2007
          • 19

          #5
          Graphics With Gcc

          Can Anybody Tell Me How To Draw Even A Single Circle With Gcc As We Do With Turbo C++

          Comment

          • horace1
            Recognized Expert Top Contributor
            • Nov 2006
            • 1510

            #6
            Originally posted by thaparian354
            Can Anybody Plzz Help Me How To Draw A Circle With gcc As We Draw In Turbo C++
            are you use gcc with Unix or Windows? if the latter you can get a graphics.h header file and library for DEV-C++ (which uses gcc) which enables one to run Turbo C graphics programs, see
            http://www.uniqueness-template.com/devcpp/

            scroll down until you find "How do I use Borland Graphics Interface (graphics.h)?"

            Comment

            • bartonc
              Recognized Expert Expert
              • Sep 2006
              • 6478

              #7
              Originally posted by thaparian354
              CAN U PLZZZ GIVE ME HOW TO PROCEED IN BRIEF OR HELP IN SOME OTHER WAY. U CAN MAIL ME AT [email address removed]. i willl be thankful to u .

              I EVEN DON'T KNOW HOW TO DRAW A LINE WITH GCC AS WE DO WITH TURO C++ . CAN U PLZZZ GIVE ME HOW TO PROCEED IN BRIEF OR HELP IN SOME OTHER WAY
              I believe your trouble is that you are expecting too much. GCC is just a compiler which has a command line interface. You will write your code in your favorite text editor then figure out how to invoke GCC to compile you code. Start with something small, like outputting "hello world" to the console. Then you may quickly learn how to run your old code through it.

              Comment

              • bartonc
                Recognized Expert Expert
                • Sep 2006
                • 6478

                #8
                Follow this link to a gcc tutorial.

                Comment

                • thaparian354
                  New Member
                  • Jan 2007
                  • 19

                  #9
                  C++ Graphics

                  I Am Using Gcc On Linux For C++ . I Don't Know How To Handle Graphics In Linux Or Which Header Files To Include Like We Include
                  Graphics.h On Turbo C++ In Windows.

                  Comment

                  • macklin01
                    New Member
                    • Aug 2005
                    • 145

                    #10
                    Originally posted by thaparian354
                    I Am Using Gcc On Linux For C++ . I Don't Know How To Handle Graphics In Linux Or Which Header Files To Include Like We Include
                    Graphics.h On Turbo C++ In Windows.
                    Please try looking at this thread. To find more, you might consider googling for "c++ gui site:thescripts .com", etc.

                    I've you're looking to generate graphics (i.e., create graphics, rather than work with windows), then you might consider my EasyBMP C++ bitmap (BMP) library. You can use it to read, write, and modify individual pixels of a bitmap image.

                    Thanks, and good luck. -- Paul

                    *edit*
                    I see that you've posted roughly the same thing multiple times. I'm not sure why nobody responded to your threads, but I suspect it has something to do with the fact that C++ GUI/graphics questions nearly identical to yours have been asked and answered many, many times on these forums. The membership may have hoped that you would try a search before asking the same question. Again, I can't speak for others, but this may have something to do with the lack of interest in the question. ;)
                    */edit*

                    Comment

                    • thaparian354
                      New Member
                      • Jan 2007
                      • 19

                      #11
                      Originally posted by macklin01
                      Please try looking at this thread. To find more, you might consider googling for "c++ gui site:thescripts .com", etc.

                      I've you're looking to generate graphics (i.e., create graphics, rather than work with windows), then you might consider my EasyBMP C++ bitmap (BMP) library. You can use it to read, write, and modify individual pixels of a bitmap image.

                      Thanks, and good luck. -- Paul

                      *edit*
                      I see that you've posted roughly the same thing multiple times. I'm not sure why nobody responded to your threads, but I suspect it has something to do with the fact that C++ GUI/graphics questions nearly identical to yours have been asked and answered many, many times on these forums. The membership may have hoped that you would try a search before asking the same question. Again, I can't speak for others, but this may have something to do with the lack of interest in the question. ;)
                      */edit*
                      thanks very much for ur cooperation !
                      can u plzzz tell me how u make ur library actually work for linux .( in brief )
                      i will be thankful to u

                      Comment

                      • macklin01
                        New Member
                        • Aug 2005
                        • 145

                        #12
                        Originally posted by thaparian354
                        thanks very much for ur cooperation !
                        Not a problem. :)

                        can u plzzz tell me how u make ur library actually work for linux .( in brief )
                        i will be thankful to u
                        Well, there's not much to tell, as it was designed to be cross platform. Roughly speaking:

                        1) Copy the EasyBMP*.h and EasyBMP.cpp to the project directory.

                        2) Include EasyBMP.h in your project:
                        Code:
                        /* ... */
                        #include "EasyBMP.h"
                        /* ... */
                        3) Compile EasyBMP along with your project and link:
                        Code:
                        g+[b][/b]+ -o ExecutableName YourSource.cpp EasyBMP.cpp
                        That's it. If you want more advanced linking, please see the sample makefile included with EasyBMP. The main download also includes a sample project, complete with makefile. To use it, just do this:
                        Code:
                        unzip EasyBMP_1.06.zip
                        cd sample
                        make
                        ./EasyBMPtest
                        Also, please see the compiling instructions here. Thanks -- Paul

                        Comment

                        • MMcCarthy
                          Recognized Expert MVP
                          • Aug 2006
                          • 14387

                          #13
                          Multiple posting of questions in this forum is not permitted. Please see this post here. I have left you with one question in C++ and one question in the Linux forum.

                          Linux Question

                          ADMIN

                          Comment

                          • Shekhar Kumar
                            New Member
                            • Jul 2010
                            • 1

                            #14
                            Graphics in GCC

                            what about Cairo???

                            Comment

                            Working...