473,387 Members | 1,493 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,387 software developers and data experts.

C++ program to open an image

hi, as i am a very basic user of C++, as i am learning it now.

i need a program coding of c++ dos,
which would access a image file and open it when i run the program.
Oct 7 '11 #1
1 1222
johny10151981
1,059 1GB
hi ravi,
I studied in Bangladesh,
Like all other people in subcontinent you are using turbo c++ 3.0 version.

I would suggest you, use updated c/c++ compiler. If you use Turbo c++3.0 there is few thing you will learn wrong for sure. as example
pointer.

in turbo c, you can use pointer without allocating, which is a example for bad practice of programming c/c++.

as a beginner, you should target an image type, which type of image you want to read. as example: BMP, jpg/jpeg, PNG, gif or whatever it is.

and you can search online for file format definition
Oct 7 '11 #2

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

Similar topics

0
by: amita | last post by:
hi, 1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page. 2.This '.tif' type image can be shown better with 'Kodak Image Control'. 3.To...
1
by: BC | last post by:
Hi all, How can I open an image with MS Paint in a c# windows application? Cheers, Benny *** Sent via Developersdex http://www.developersdex.com ***
1
by: Michael Stock | last post by:
Hi all, hopefully someone can tell me how to do this for a web server in C#: We have images in a folder you can't access over the net. So everytime we need to display an image from this folder,...
29
by: tele-commuter | last post by:
Hi folks, I want to understand how exactly is an image(compiled c code and loaded into memory) stored in memory. What exactly is a linker script? I work with a lot of c code on a daily...
4
by: tony.ha | last post by:
Hello, I have open a Python program in the IDLE, but when I select the "run module" under "run" menu, it does not allow me to pass an argument to my Python program! How do you pass an argument...
4
by: atetz785 | last post by:
I wrote a VB program in Excel and I was wondering if there was a way to have my program open when you open the excel file. Right now I have to either switch into the VB Editor or run a macro or use a...
1
by: dinesh007 | last post by:
well i want to use the pixel of an image , if some how it is possible to have the 2D array of pixels. in vb . OR open image as a Binary String which will give us the string in...
18
hsriat
by: hsriat | last post by:
Every time I right click on an image to open it in GIMP, its opens in a new GIMP instead of opening a new window in the already opened one. If I open 5 images, it will open 5 separate GIMPs. This...
1
by: Christian | last post by:
Hi, i added an image in my Solution in folder Resources and now i will open... Someone can help me? thanks
1
by: amit saini | last post by:
Hi I have using back end sql server 2000, fornt end Visual Basic and For reporting using Ms-Word 2000. I have face a problem . In sql server i have using Image type data type and stored a image in...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.