Thread: Probably A Stupid Question.

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    83

    Probably A Stupid Question.

    Im trying to display a BMP picture file, and the one in the FAQ don't seem to work, unless, er i guess its C++, and not C, if anyone can help, thanks.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>>Im trying to display a BMP picture file
    In a Windows Console, in Windows GUI? What compiler?

    Displaying graphics is non standard, so best think about what tools you are using, check their documentation, and then post in the relevant forum.

    [edit]
    >>>Probably A Stupid Question.
    No, not a stupid question, maybe poorly thought out, but that's all. But the thread title was stupid.... Make it more relevant next time
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    83

    okay

    im using lcc for my compiler, i looked into the help files, and couldn't find anything specific about displaying a bmp. or graphic.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  4. #4
    KingoftheWorld
    Guest
    Using C or C++ to open a bitmap file is not really perfect because
    it involve with many thing, type of compiler, your graphic video
    card and your CPU size (16bit or 32 bit processor) and many
    more... It's very boring.
    I usualy use VisualBasic , VC++ or Java to open the bitmap files.
    .gif, .jpg....

    KingIII

  5. #5
    Registered User
    Join Date
    May 2002
    Posts
    83

    thanks

    i was thinking about learning java anyways.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  6. #6
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Use a system that provides you with an interface for displaying output on your hardware. You can impliment simple text bitmaps to standard output with C without building your own system ontop of the grahic cards hardware architecture.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stupid Question Probably
    By Kyrin in forum C Programming
    Replies: 2
    Last Post: 05-07-2006, 12:51 AM
  2. Replies: 7
    Last Post: 11-04-2005, 12:17 AM
  3. Stupid Question
    By digdug4life in forum C++ Programming
    Replies: 22
    Last Post: 05-17-2005, 11:43 AM
  4. stupid, stupid question
    By xelitex in forum C++ Programming
    Replies: 5
    Last Post: 12-22-2004, 08:22 PM
  5. Stupid question: What does Debugger do?
    By napkin111 in forum C++ Programming
    Replies: 6
    Last Post: 05-02-2002, 10:00 PM