Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Print bitmap file

Reply
Thread Tools

Print bitmap file

 
 
Myombi Natuse
Guest
Posts: n/a
 
      10-27-2006
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
 
Reply With Quote
 
 
 
 
Richard Bos
Guest
Posts: n/a
 
      10-27-2006
Myombi Natuse <(E-Mail Removed)> 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.


Fine.

*Plonk*

Richard
 
Reply With Quote
 
 
 
 
Martin Ambuhl
Guest
Posts: n/a
 
      10-27-2006
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 ****, behind or in front doesn't matter.

 
Reply With Quote
 
Bart
Guest
Posts: n/a
 
      10-27-2006
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.

 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      10-27-2006
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)
 
Reply With Quote
 
CBFalconer
Guest
Posts: n/a
 
      10-27-2006
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>

 
Reply With Quote
 
Richard Tobin
Guest
Posts: n/a
 
      10-27-2006
In article <(E-Mail Removed)>,
CBFalconer <(E-Mail Removed)> wrote:

>> 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
 
Reply With Quote
 
Andrew Poelstra
Guest
Posts: n/a
 
      10-27-2006
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/>

 
Reply With Quote
 
Kenneth Brody
Guest
Posts: n/a
 
      10-27-2006
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: <(E-Mail Removed)>


 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      10-27-2006
On Thu, 26 Oct 2006 23:52:04 -0700, in comp.lang.c , Myombi Natuse
<(E-Mail Removed)> wrote:

>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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
print a vs print '%s' % a vs print '%f' a David Cournapeau Python 0 12-30-2008 03:19 AM
Help! How can I draw a bitmap only with BITMAP information! xqggz C++ 1 06-19-2007 03:07 PM
Problem - I want to print Current Output of Pdf file and should print once.I get print dialog box but it is not working keto Java 0 05-30-2007 11:27 AM
Unlarging the print to print using PDF file to print Bun Mui Computer Support 3 09-13-2004 03:15 AM
Masked bitmap from bitmap Gandalf Python 0 01-29-2004 09:41 PM



Advertisments