how do i put a graphics - console application

This is a discussion on how do i put a graphics - console application within the C++ Programming forums, part of the General Programming Boards category; how do i put a graphics on console application (Bllodshed Dev-C++)?...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18

    Question how do i put a graphics - console application

    how do i put a graphics on console application (Bllodshed Dev-C++)?

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Hax0rz skillz.

    Google:
    Allegro, SDL, Directx, OpenGL, Win32Api(eh).
    Woop?

  3. #3
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,667
    You can't. Write a windows app instead.

  4. #4
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by citizen
    You can't. Write a windows app instead.
    yes you can. with linux use ncurses to have colour boxes.

    to display images, you are right, they aren't really compatable, but it can be done.
    [ looking at logo image displayed by my linux distro in my command prompt only interface ]
    I have an image being displayed in a command prompt enviroment all the time.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  5. #5
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    Use ASCII art instead?
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

  6. #6
    Registered User
    Join Date
    Aug 2005
    Posts
    113
    You can't do it on Dev C++.Turbo C++ provides a very nice graphics.h header for this

  7. #7
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,438
    You can put graphics on console applications. Read the previous posts on this thread before posting.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #8
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Check our adrianxw's Win32 console tutorials.

  9. #9
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Quote Originally Posted by citizen
    You can't. Write a windows app instead.
    AFAIK you can use WinAPI in console apps so DX/OGL/etc... is also possible!
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #10
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    You can, but it makes you wonder why you have the console there anyways.

  11. #11
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    For debugging messages, of course ...
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Saving a Console Application!!
    By ekweb in forum C++ Programming
    Replies: 10
    Last Post: 01-29-2006, 04:40 PM
  2. 'No symbols Loaded'. Simple console application
    By flipflop82 in forum C++ Programming
    Replies: 3
    Last Post: 10-20-2004, 09:10 AM
  3. A Console Graphics "Library"
    By harryP in forum C++ Programming
    Replies: 1
    Last Post: 08-14-2003, 10:36 PM
  4. Few problems with console application
    By GaPe in forum C Programming
    Replies: 12
    Last Post: 04-03-2002, 12:19 PM
  5. Win32 Console Application...Full Screen?
    By MrWizard in forum C++ Programming
    Replies: 4
    Last Post: 04-01-2002, 01:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21