Hi I got a quick question. Is there any way i can change the background color and the text color within my compiler of dev-c++. I'm not trying to change the color of the output when I run the program, I'm talking about the actual code itself and its compiler. I'm using Dev-C++ 4.9.9.2

Member Avatar
Member Avatar
+0 forum 5

I have a c# program that opens a .tif image and later offers the option to save it. However, there is always a drop in quality when saving the image. _**I passed some parameters while saving the image so that the quality is at 100 % and there is no compression, but the number of actual unique colors go from 254 (in the original image) to 16(in the saved image) with a clear loss in quality/information, even though the image properties show 8bpp. Displaying the image in a picturebox also shows reduced quality, so I am thinking that the problem …

Member Avatar
Member Avatar
+0 forum 5

Demonstrates the Right Hand Rule maze solving algorithm, with some sweet console colors and text display and erasing, in Windows. Note that if the Start is moved away from all the walls in the maze, the right hand rule fails, circling endlessly. Also, a similar failure happens if the Start is put onto an "island" part of the walls in the maze. This algorithm will not solve all mazes.

Member Avatar
+0 forum 0

Hello! When I power on my laptop (Fujitsu Siemens Amilo Pa) the screen turns grey and after a couple of seconds vertical lines of random color start to appear all over the screen. They change their color constantly. External monitor works just fine (through VGA connection). I disassembled the laptop and checked the data cable that connects LCD and motherboard. I checked every single wire in the cable (rungup with my multimeter) and the cable is absolutely fine (I made a simple pinout schematics). Cable has a sticker: PTT50 LCD CABLE ONE, P/N: 22-12-023-70, CNJS: 2008 (some chinese? characters). Photo …

Member Avatar
Member Avatar
+0 forum 2

Hey guys, So I really need help writing a c++ program that is supposed to read in values for Red Green and Blue colors between 0 and 255, and then use a different function to convert them to Cyan Magenta Yellow and blacK color using set formulas. 1. Write a function that reads an RGB value and rejects invalid values. 2. Write a function max(a, b, c) that returns the maximum of its three parameters. 3. Write a function RGBtoCMYK(r, g, b, c, m, y, k) that receives RGB values as input parameters, and returns CMYK values as reference parameters. …

Member Avatar
Member Avatar
+0 forum 4

I was wondering how I could display more than 256 colors with the VGA color palette. correct me if I'm wrong, but the reason that you can't display more than 256 colors at once is because each byte in video memory corresponds to one pixel on the screen. But because each byte can only hold a number up to 255 (not including 0) you can't reference a color past 256 (the maximum number combinations). Assuming that this is correct, is there a way to extend the video memory so that each pixel uses 2 bytes (video memory size * 2) …

Member Avatar
Member Avatar
+0 forum 9

I would like to know how to display more than 256 colors in DOS I already know about the color palette which can hold 256 colors and can be changed, but as soon as you change them the colors on the screen change. So how would I display more than 256 colors on the screen? It seems to me that this would be possible, since in my OS (windows) it looks as if it can display more than 256 colors. Any resources that can show me how to do this would be helpful, thanks.

Member Avatar
Member Avatar
+0 forum 2

hi.. im an amateur in java and im having problems in switch statements.. i would appreciate if you would help me solve this problem.. [B]Problem:[COLOR="Red"] Write a java program that will let the user input 2 colors and display the result color..[/COLOR] [/B] [COLOR="Green"][B] This is what i come up with.. and the error is "incompatible type"[/B][/COLOR] [CODE]import java.io.*; public class Projedential { public static void main(String[] args)throws IOException { BufferedReader xan=new BufferedReader(new InputStreamReader(System.in)); String white,black,red,blue,green,cyan,magnta,yellow,pink,brown,orange,violet=""; System.out.println("*****************************************"); System.out.println("Enter Color 1 :"); String c1=xan.readLine(); System.out.println("Enter Color 2 :"); String c2=xan.readLine(); //if switch WHITE if (c1.equals("white")) { switch (c2) { case "black": …

Member Avatar
Member Avatar
+0 forum 1

The End.