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

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 5179
Myombi Natuse <mn******@aol.comwrote:
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********@maineline.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.comwrote:
>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
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...
0
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...
2
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...
16
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
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...
5
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...
5
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
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...
9
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...
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
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
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...

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.