473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Graphics With Gcc

hi ! can any body plzzzzzzzzz help me how to make screensaver in c++
with gcc .
Jan 10 '07 #1
13 14340
bartonc
6,596 Expert 4TB
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.
Jan 10 '07 #2
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
Jan 11 '07 #3
Can Anybody Plzz Help Me How To Draw A Circle With gcc As We Draw In Turbo C++
Jan 11 '07 #4
Can Anybody Tell Me How To Draw Even A Single Circle With Gcc As We Do With Turbo C++
Jan 11 '07 #5
horace1
1,510 Expert 1GB
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)?"
Jan 11 '07 #6
bartonc
6,596 Expert 4TB
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.
Jan 11 '07 #7
bartonc
6,596 Expert 4TB
Follow this link to a gcc tutorial.
Jan 11 '07 #8
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.
Jan 14 '07 #9
macklin01
145 100+
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*
Jan 14 '07 #10
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
Jan 22 '07 #11
macklin01
145 100+
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:
Expand|Select|Wrap|Line Numbers
  1. /* ... */
  2. #include "EasyBMP.h"
  3. /* ... */ 
  4.  
3) Compile EasyBMP along with your project and link:
Expand|Select|Wrap|Line Numbers
  1. g++ -o ExecutableName YourSource.cpp EasyBMP.cpp
  2.  
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:
Expand|Select|Wrap|Line Numbers
  1. unzip EasyBMP_1.06.zip
  2. cd sample
  3. make
  4. ./EasyBMPtest
  5.  
Also, please see the compiling instructions here. Thanks -- Paul
Jan 22 '07 #12
MMcCarthy
14,534 Expert Mod 8TB
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
Feb 2 '07 #13
what about Cairo???
Jul 20 '10 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: JBiagio | last post by:
Hello All, I am attempting to learn a bit about the GDI+ transforms and charting data and I feel like I'm getting a handle on how the transforms work. My chart object has a large "canvas" bitmap...
12
by: Sanjay | last post by:
hi, We are currently porting our project from VB6 to VB .NET. Earlier we used to make scale transformations on objects like pictureBox , forms etc.Now Such transformations are made on the...
2
by: John Bailo | last post by:
I am walking through some of the very first sample code from the book "Beginning .NET Game Programming" from Apress. I identify his sample code with //SC This code puzzles me: Graphics graph...
14
by: Pmb | last post by:
At the moment I'm using Borland's C++ (http://www.borland.com/products/downloads/download_cbuilder.html#) I want to be able to take an array of points and plot them on the screen. Is there a way...
5
by: Charles A. Lackman | last post by:
Hello, I have created a complete PrintDocument and need to create an image from it. How is this done? e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.HighQuality...
6
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument...
12
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet...
6
by: active | last post by:
I have an image and a graphics object created (FromImage) from that image. I need to create a new image and create a new graphics object from the new image. I want the new graphics object have...
9
by: DaveL | last post by:
hello I have a Bit map 1367 wide 32 high this bitmap contains like 40 separate Images 32x32 I tell it the id*32 to get the approiate Image from the source Bitmap When i CreateGraphics()...
8
by: Abhiraj Chauhan | last post by:
I need someone to make an example of how to create a graphics window in VB.net 2008. I understand the basics of how to draw a rectangle and lines etc. What I need is an example of how to make a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.