Jump to content

full size of the window, full screen mode

- - - - -

  • Please log in to reply
13 replies to this topic

#1
nerio

nerio

    Newbie

  • Members
  • PipPip
  • 14 posts
Hi.

I use Microsoft Windows 7, 64 bit. My compiler is Dev.

When I write a program, that only prints results in text mode, and compile it and run it, I cannot increase the size of the window, so that if will be "full screen". Not even Alt+enter works.

How can I achieve that?

Thank you.
I am a student of C language.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
If you're talking about the command prompt, that's not part of your program, that's part of Windows.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,719 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
You want to full-screen the command prompt?
sudo rm -rf /

#4
nerio

nerio

    Newbie

  • Members
  • PipPip
  • 14 posts
Yes, that it is. I want to fullscreen the command prompt. Is that possible in Win 7?
I am a student of C language.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
My quick experience, you can increase the height, but not the width. This is probably to avoid breaking old command prompt "apps" that relied on a fixed width to work properly.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,719 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Google is your friend. :)

maximize command prompt windows 7 - Google Search
sudo rm -rf /

#7
nerio

nerio

    Newbie

  • Members
  • PipPip
  • 14 posts
I was also searching for that. You can only get a Window that is maximilized. You can not really do full screen option this way.

Maybe DosBox could be a solution, I will see.
I am a student of C language.

#8
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,719 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
This is one of the many reasons why I use Ubuntu instead of Windows.
sudo rm -rf /

#9
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
If flexibility is not a major requirement, you could utilize a third party library of which can run full screen and provide console like printing (i.e. allegro and its text functions.)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#10
Flying Dutchman

Flying Dutchman

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 889 posts
  • Location:::1
Usually Alt+Enter works in Windows, you could of course try simulating that key combination with WindowsAPI.
A conclusion is where you got tired of thinking.
#define class struct    // All is public.

#11
Waqar

Waqar

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
how can i make my c compiler broad land full screen in win 7 (Alt+Enter) also don work here:confused:
LOve To BE A PRoGramER:rules:

#12
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
If using Win32 API, it's probably possible to make a full-screen "command prompt" window and do all the work (printing text to the screen, etc.) manually.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users