1. Dev C Highlight Line Color Sheet
  2. Dev C Highlight Line Color Pictures

Dec 13, 2017  I will assume you are referring to DevCpp IDE. If that is true then you are dabbling with IDE that was abandoned a way back to 2005. While this does not address your surface question, It is practically valuable. Get your hands off that IDE and ge. Apr 13, 2020  Also, Dev-C is no longer under development and Code::Blocks is being actively worked on. Is aesthetics important? The answer is subjective. I think aesthetics are important across the board, including the color scheme for my code editor. I choose colors that are pleasing and don't strain my eyes. I'll change my color scheme regularly as well. Sep 26, 2009  TextMate theme Monokai ported to Dev-C. Instructions: Extract Monokai.syntax to C:UsersAppDataRoamingDev-Cpp (Windows Vista/7) or C:Documents and SettingsApplication DataDev-Cpp (Windows XP) then go to Dev-C Tools Editor Options Syntax Color Speed Settings and select Monokai. Optionally, change Right Margin and Highlight current line. The main code is in white and the background of the current line is cyan. White on cyan is very hard to read. 'Current Line' background color. Important note. Currently, these themes can only be used with the C/C lexer! Bright Yellow. Espresso Libre. You might want to set General settings/Editor settings/Other options/Highlight line under caret to disabled with this theme.

this is the code i have done.
but i really don't know how could i make my text in highlight form.
#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<stdio.h>
void main()
{
clrscr();
textcolor(0);
textbackground(7);
int x,y,z,a,n,o,m,c,d;
{
for(x=1;x<=1;x++)
{
//first line upper
for(y=15;y<=64;y++)
{
gotoxy(y,x=5);
textbackground(4);
cout<<'_';
delay(50);
}
}
//second line right side
{
for(z=6;z<=20;z++)
{
gotoxy(x=65,z);
cout<<' '<<endl;
delay(50);
}
}
{
//fourth line bottom
for(m=64;m>=15;m--)
{
gotoxy(m,x=20);
cout<<'_';
delay(50);
}
}
//third line left side downward
{
for(z=20;z>=6;z--)
{
gotoxy(x=14,z);
cout<<' ';
delay(50);
}
}
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'* * * * * * * * * *';
gotoxy(49,16);
cout<<'0%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- * * * * * * * * *';
gotoxy(49,16);
cout<<'10%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - * * * * * * * *';
gotoxy(49,16);
cout<<'20%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - * * * * * * *';
gotoxy(49,16);
cout<<'30%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - * * * * * *';
gotoxy(49,16);
cout<<'40%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - * * * * *';
gotoxy(49,16);
cout<<'50%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - - * * * *';
gotoxy(49,16);
cout<<'60%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - - - * * *';
gotoxy(49,16);
cout<<'70%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - - - - * *';
gotoxy(49,16);
cout<<'80%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - - - - - *';
gotoxy(49,16);
cout<<'90%';
delay(1000);
}
{
gotoxy(30,12);
cout<<'Loading..n';
gotoxy(30,14);
cout<<'- - - - - - - - - - ';
gotoxy(49,16);
cout<<'100%';
delay(1000);
}
//after loading. ^^,
clrscr();
textcolor(WHITE+BLINK);
textbackground(6);
char choice;
cout<<'nttt Republic of The Philippinesn';
cout<<'ttt AMA Computer Learning Centern';
cout<<'tttt Cabanatuan Citynnn';
textbackground(5);
cout<<'tttt[A] - Programmernn';
cout<<'tttt[M] - Multiplication Tablenn';
cout<<'tttt[X] - Exitnnnnn';
cout<<'ttttEnter Your Choice: ';
cin>>choice;
switch(choice)
{
case 'A': case 'a':
{
clrscr();
cout<<'nttttProgrammer /3nnn';
cout<<'ttName: Novie F. Mangalinaonn';
cout<<'ttAge: 18 yrs. oldnn';
cout<<'ttBirthday: March 18, 1992nn';
cout<<'ttAddress: 61 San Pedro Sta. Rosa, Nueva Ecijann';
cout<<'ttSchool: AMA Computer Learning Centernn';
cout<<'nttMotto: Better to be Hated for who I am,';
cout<<'nttt than Loved for who I am not'';
cout<<'nnnnntttPress [X] to Exit.';
break;
}
case 'M': case 'm':
{
clrscr();
int n,o;
cout<<'nttttMULTIPLCATION TABLEnn';
delay(300);
for(n=1;n<=10;n++)
{
for(o=1;o<=10;o++)
cout<<n*o<<'t';
delay(500);
cout<<endl;
}
break;
}
case 'X': case 'x':
{
clrscr();
cout<<'nnnt Press the following to exit from the Command Prompt:';
cout<<'nnnnntttt1.) Press ANY KEY';
cout<<'nntttt2.) Press ALT + X';
cout<<'nntttt3.) Type the word EXIT';
break;
}
default:
cout<<'nnttttNone of the Choices!';
}
getch();
}

Things don't have to be black and white all the time. Use a Windows API call to add some color to your text output.

26,506 Views

Scientist

Nice..
How do you change the background color?
Pretty please?
And is there a way to make the program appear fullscreen when started up?

Akilah712

I have tried to use this in my program.

Line

However when I used #include<windows.h> I get errors when I compile.

I am using the MSVisual 6.0 ???

on windows only:
system('color <put your colors here>');

colors the whole window and all text to any of the standard 16 colors

//0 = Black 8 = Gray
//1 = Blue 9 = Light Blue
//2 = Green a = Light Green
//3 = Aqua b = Light Aqua
//4 = Red c = Light Red
//5 = Purple d = Light Purple
//6 = Yellow e = Light Yellow
//7 = White f = Bright White

you put two characters, first one is background color, second is text color:
system('color c0'); //colors background to light red, with black text

There was no option. So once i clicked on agree. Cooking master apk free download Then when i opened so this game need the network.i disagree.

dombit

ya, bakround color use . - system('color f0'); and #include <stdlib.h> it will make the bacround wight with black text for more color codes type 'color help' in cmd prompt. the first nuber ids the backround and the seconed is the text. also to start the consol in full screen send the keys alt and enter like this

keybd_event(VK_MENU, 0x38, 0, 0);
keybd_event(VK_RETURN, 0x1c, 0, 0);
keybd_event(VK_RETURN, 0X1c, KEYEVENTF_KEYUP, 0);
keybd_event(VK_MENU, 0x38, KEYEVENTF_KEYUP, 0);

jamesysco

Dev C++ Highlight Line Color

Nice one :) the 'system' function..who'd have thought it :) Thanks!

Dev C Highlight Line Color Sheet

To get all the system() commands (WINDOWS ONLY!), open up the command prompt (start>accessories>Command Prompt), and type 'help' (without the quotes). For help on a specific command, type 'help <command name>' (again, no quotes).

Dev C Highlight Line Color Pictures

shirish7151-4

Coments are closed
Scroll to top