473,405 Members | 2,185 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,405 software developers and data experts.

graphics

i work on turbo c++.
maybe i should upgrade to the ultimate compiler in c++ (visual,
maybe..)
can anyone please direct me to the best compiler?
i mean to work on graphics a lot, too..
if i get myself the best compiler, i may want an e-book on all the
graphic-oriented functions
contained in the compiler's library files.. and any other functions
too..
i have a problem too,.. when i initialize graphics in turbo c++,

void main( )
{
int driver, mode;
driver = DETECT;
initgraph(&driver, &mode, "\\tc\\bgi");
}

the screen is always white.....
i want the backgound to be black...
i even tried

{
setbkcolor(BLACK);
}

but it didnt change anything..
can any one diagnose this problem and help me with both of my queries??
thanx.

Sep 22 '06 #1
1 3168
According to me there is no best compiler. All of them have a common
set of features and some particularities that make one or another
better for certain tasks.
Anyway, you have the choice : Visual C++, C++ Builder, Watcom C++, DEV
C++.
For your choice, just try them since they are availbale free for
download (Visual C++ express edition, etc... )
MC felon wrote:
i work on turbo c++.
maybe i should upgrade to the ultimate compiler in c++ (visual,
maybe..)
can anyone please direct me to the best compiler?
According to me there is no best compiler. All of them have a common
set of features and some particularities that make one or another
better for certain tasks.
Anyway, you have the choice : Visual C++, C++ Builder, Watcom C++, DEV
C++.
For your choice, just try them since they are availbale free for
download (Visual C++ express edition, etc... )
i mean to work on graphics a lot, too..
if i get myself the best compiler, i may want an e-book on all the
graphic-oriented functions
contained in the compiler's library files.. and any other functions
too..

If you want to work on graphics, you shoud find a good library (good is
to take as "that allows you to do quick and easilly what you want") :
OpenGL, DirectX, SDL, etc...
i have a problem too,.. when i initialize graphics in turbo c++,

void main( )
{
int driver, mode;
driver = DETECT;
initgraph(&driver, &mode, "\\tc\\bgi");
}

the screen is always white.....
i want the backgound to be black...
i even tried

{
setbkcolor(BLACK);
}

but it didnt change anything..
can any one diagnose this problem and help me with both of my queries??
thanx.
Stop using Turbo C++ ;-) : I explain myself : It's a pretty old tool
taht generates 16 bits code. I think this code is no more compliant
with 32 bits modern systems (Windows 95, 98, 2000, ME, XP) where the
graphics drivers do not have anything to do with the ones Turbo C++
expects to control.

Hope my messge will help you.

Sep 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.