473,651 Members | 2,793 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print bitmap file

I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due. I don't want any of you
jokers telling me that it can't be done because I know it can. Post the
code here no later than Friday by noon, please. I'm counting on you guys
to come through. I really need this. Benefits for those that help. I
have more money and friends than most if not all of you could ever dream of.

Thx in advance -- myombi
Oct 27 '06 #1
9 5197
Myombi Natuse <mn******@aol.c omwrote:
I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due.
Fine.

*Plonk*

Richard
Oct 27 '06 #2
Myombi Natuse (or some other troll) posted flamebait and I bit:
I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due.
No one is due any respect simply because he or she is a senior in
college. We all know too many imbeciles and incompetents with more
"education" than you.
I don't want any of you
jokers telling me that it can't be done because I know it can.
Of course it can be done. So what? If you just want to print a bitmap
file, or any other kind of file, open the damn thing, manipulate the
data read any way you want to, write it to an appropriate open stream,
and close the streams. Done!
Post the
code here no later than Friday by noon, please.
Either send money or go away. No one here is your slave.
I'm counting on you guys
to come through. I really need this.
If you hadn't slept through the better part of four years of college,
you could do it yourself.
Benefits for those that help. I
have more money and friends than most if not all of you could ever dream
of.
Then why didn't you offer some of your treasure to those who will do the
work you should be doing yourself?

Thx in advance -- myombi
Eat shit, behind or in front doesn't matter.

Oct 27 '06 #3
Myombi Natuse wrote:
I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due.
Then show some respect to comp.lang.c by not posting off-topic
questions.
I don't want any of you
jokers telling me that it can't be done because I know it can.
The problem is not that it can't be done at all, but that it can't be
done using standard portable C. You can probably do it using
non-portable, non-standard libraries (e.g. GDI or OpenGL), but
questions about those are off-topic in comp.lang.c.
Post the
code here no later than Friday by noon, please. I'm counting on you guys
to come through. I really need this.
Right. You expect us to show you respect, while at the same time you
ask us to help you cheat on your homework.
Benefits for those that help. I
have more money and friends than most if not all of you could ever dream of.
I think you don't have the remotest idea of who reads comp.lang.c. A
little search through the archives and the Wikipedia may be quite
informative.

Regards,
Bart.

Oct 27 '06 #4
Bart said:
Myombi Natuse wrote:
>I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due.

Then show some respect to comp.lang.c by not posting off-topic
questions.
YHBT.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 27 '06 #5
Myombi Natuse wrote:
>
I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due. I don't want any of
you jokers telling me that it can't be done because I know it can.
Post the code here no later than Friday by noon, please. I'm
counting on you guys to come through. I really need this. Benefits
for those that help. I have more money and friends than most if not
all of you could ever dream of.
Yassuh. Here you are:

#include <stdio.h>

int main(void) {
puts(" a bitmap file in C under Windows.");
return 0;
}

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home .att.net>

Oct 27 '06 #6
In article <45************ ***@yahoo.com>,
CBFalconer <cb********@mai neline.netwrote :
>I need to print a bitmap file in C under Windows.
>int main(void) {
puts(" a bitmap file in C under Windows.");
return 0;
}
Or

int main(void)
{
puts(" Windows");
puts(" a bitmap file in C");
return 0;
}

(Assuming a top-to-bottom locale of course.)

-- Richard
Oct 27 '06 #7
On Thu, 2006-10-26 at 23:52 -0700, Myombi Natuse wrote:
I need to print a bitmap file in C under Windows.
Have fun with that.
I'm a senior in college so please show me the respect I'm due.
You're cheating, hence no respect.
I don't want any of you jokers telling me that it can't be done
because I know it can.
The professor never lies, does he? Nor does the textbook you didn't
read and the notes you didn't take. Glad you figured this one out on
your own.
Post the code here no later than Friday by noon, please.
No. Do your own work.
I'm counting on you guys to come through. I really need this.
Lest you fail college and your parents stop feeding you?
Benefits for those that help. I have more money and friends
than most if not all of you could ever dream of.
I'd love to help, but being promised monetary rewards from a guy who's
going to be flipping burgers all his life doesn't sound like a sound
financial plan. Sorry.

--
Andrew Poelstra <http://www.wpsoftware. net/projects/>

Oct 27 '06 #8
Bart wrote:
>
Myombi Natuse wrote:
I need to print a bitmap file in C under Windows. I'm a senior in
college so please show me the respect I'm due.

Then show some respect to comp.lang.c by not posting off-topic
questions.
Actually, given the responses I've seen so far, he _has_ been given
the respect he's due. (Just not the respect that he _think's_ he's
due.)
I don't want any of you
jokers telling me that it can't be done because I know it can.

The problem is not that it can't be done at all, but that it can't be
done using standard portable C.
Sure it can, as long as you don't mind using "ASCII art". (For which
I assume that "EBCDIC art" works just as well.) Assuming you have
some print device attached to stdout, you can print it just fine. :-)

[...]

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer .h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:Th***** ********@gmail. com>
Oct 27 '06 #9
On Thu, 26 Oct 2006 23:52:04 -0700, in comp.lang.c , Myombi Natuse
<mn******@aol.c omwrote:
>I need to print a bitmap file in C under Windows.
This is offtopic in CLC, you need to ask in a Windows programming
group.
>I'm a senior in college so please show me the respect I'm due.
ROFL. I'm a PhD and senior project manager. Do I win a prize?
I don't want any of you jokers telling me that it can't be done because I know it can.
Feel free to troll any time you like.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Oct 27 '06 #10

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

Similar topics

0
1931
by: Gandalf | last post by:
Hi Gurus! Here is a problem with wxPython. I would like to load bitmaps and create a mask for them at once. Here is my idea: the mask colour for the bitmap should be the colour of the pixel in the top left corner. (The same way Delphi does with TImageList.) E.g. the bitmap should be transparent everywhere with the same colour. I read the documentation, and I could not find an easy way to do this. Here is what I have tried:
0
1601
by: melanieab | last post by:
Hi, I have a tabpage with a print button. This button tries to do a print screen, and it works fine the first time, but if I try to press print again, I get error: An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.drawing.dll Additional information: A generic error occurred in GDI+. I'm going about print-screening by first capturing a bitmap of the screen,
2
3389
by: andrew | last post by:
I have an application that requires graphical output. I have added a MSChart to the application and want to be able to print this out. I have a form which allows me to print, and zoom in etc for images loaded into its picture box space and so I thought it would be a matter of copying the graph object to the clipboard and then casting its Metafile format to a bitmap which I could then use to fill the picturebox. Not so, although during...
16
9332
by: Neal | last post by:
Hi, I saw the VB6 Code to do this at this link: http://www.dotnet247.com/247reference/msgs/11/56581.aspx The VB6 Code reads as follows: Private Type Rect Left As Long
1
2367
by: melanieab | last post by:
Hi, I have a form with tab pages on it, and I'd like to print each page whenever a button is pressed (all the tabpages share the same print button - I just give it a different parent when another tab is pressed). But I can only print once. When the print button is pressed the second time, I get error An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.drawing.dll Additional information:...
5
6459
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides at a time. But it is printing front side on one card and back side on second card. I want to print both sides in a same card.
5
2603
by: Ivan Jericevich | last post by:
Does anyone know where I can get a step-by-step walkthrough on how to Print a document from VB Express 2005
1
8660
by: radhikabista | last post by:
my windows application form is divided into 3 split containers or split panels now what is my problem is i need to print the contents of the middle one container even if it is not seen full. but i get only the part of the panel that is visible. for example in excel sheet we can get the whole sheet content even it is in minimized condition. but at point copyFromScreen(), i get the picture of the parts of panel theta is visible and other...
9
3124
by: Autostrad | last post by:
Hi everybody, I need your help. The code below is good if I want to print a sketch. The book did not show how to print a simple text file. Right now if I run this program (as is)it will show the printer dialog box. If I click OK (to print), the printer will print an empty paper. How can I use this code to print a file? I would apprciate it if you could help.
0
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8697
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8579
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.