I coded a C++ program for my college project and the output is black background and white foreground.I want to make it look more eye-catching by drawing lines,borders,using different colors etc..plz help..
122303
use the curses library. #include <curses.h> or <ncurses>, whatever your platform supports. The documentation is vast and there are many online tutorials for curses. Check them out.
94834
I am assuming C++ is ok?\n------------------------------\n#include <iostream>\nusing namespace std;\n\nint main(){\nint startVal, endVal, incr;\ncout << "Enter an Integer Start Value: ";\ncin >> startVal;\ncout << "Enter an Integer End Value: ";\ncin >> endVal;\ncout << "Enter a positive Integer increment: ";\ncin >> incr;\n\nwhile (incr < 0) { \ncout << "Negative value entered, &#92;nPlease enter a positive value: ";\ncin >> incr;\n}\n\ncout << "Celsius | Fahrenheit" << endl;\ncout << "--------------------" << endl;\n\nfor(int i = startVal; i < endVal; i += incr){\ncout << "  " << i << "   |   " << ((5.0/9.0) * (i - 32.0)) << endl;\n}\n\nreturn 0;\n}\n\n---------------------\nI didnt compile this but I am quite sure its all correct.  This is a rather simple piece of code but a good introdution to programming.  I really hope I didnt just do you homework for you.   Hope this helps.
365740
Use a ccs file and handle the background \n\n\nbackground Attribute \n{ background: transparent| <color> || <url> || <repeat> || <scroll> || <position>}\n\n\n'background' describes the background of an element. \n\nThis attribute is not inherited. \n\nSettings\n\nBackground can be any one of the below \n\none color \n\n\ntwo colors which will be blended according to the 'bg-blend-direction' property an image pointed to by a URI, possibly combined with one color or two blended colors \n\n\ntransparent \nCorresponding examples: \n\nBODY { background: red } /* one color */\n\nh3 { background: blue / red } /* blend two colors */\n\nBODY { background: "chess.png" black / white } /* img + color combo */\n\nP { background: transparent }\n\nThis property does not inherit, but the parent element's background will shine through by default due to the initial transparent value. \n\nIf an image is found through the URI, it will be overlaid on top of any color specified. The color (or color combination) is used: \n\nto fill transparent regions of an image \n\n\nwhile loading the image from the URI \n\n\nif no URI is specified \n<repeat> \n\nValue: repeat | repeat-x | repeat-y | no-repeat Initial: repeat scroll \n\nBy default, the background image is repeated both in the x and y direction. \n\nBODY { background: http://style.com/marble.png repeat-x }\n\nBODY { bg-style: repeat-y }\n\n<scroll> \n\nValue: scroll | fixed Initial: scroll \n\nThis property describes how the background image should be laid out. By default, the image is scrolled along with the other content. A 'fixed' background is fixed with regard to the canvas. \n\nBODY { bg-style: repeat-x }\n\nBODY { bg-style: repeat-x scroll }\n\n<position> \n\nValue: <percentage> | <length> | left | center | right [ <percentage> | <length> | top | middle | bottom]? Initial: 0% 0% \n\nThe property describes the initial position of a background image specified with the 'background' property. If only one value is given, it sets both the horizontal and vertical offset of the background image. If two values are given, the horizontal position comes first. \n\nWith a value pair of '0% 0%', the upper left corner of the image is placed in the upper left corner of the element. A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of the element. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the element. \n\nIf the background image is fixed with regard to the canvas (a possible value of 'bg-style'), the images are placed relative to the canvas instead of the element. E.g.: \n\nBODY { \n\nbackground: url(logo.png) fixed 100% 100%;\n\n} \n\nIn the example above, the image is placed in the lower right corner of the canvas. \n\nThe keyword values are defined as follows: \n\nleft = 0%\n\ncenter = 50%\n\nright = 100%\n\ntop = 0%\n\nmiddle = 50%\n\nbottom = 100%
56074
Go to paint, insert your picture and then goto colors > attribut and click on black and white
24567
http://gimp-win.sourceforge.net/\n\nTry this program.
141197
search for CBIR on google u will get a no of resources. I had done one project related to this in c++. if u need any help mail me
294293
Try the Gimp:\nhttp://www.gimp.org/
379098
I am assuming you are running some recent version of Windows. If that is the case you can do the following\n\nselect the window where the graphical output of your program is\n\npress control-alt-printscreen to capture the window\n\nopen the paint program (start->programs->accessories->paint)\n\ntype control-v (or select edit->paste) to paste the captured window (as an image)\n\nselect file->print in paint to print the image to your printer (which of course should be properly installed)\n\ngood luck
51128
You can use any graphics program to create your Transparent GIF. Then I use Microsoft GIF Animator to select which color is transparent.\n\nYou can download Microsoft GIF Animator here:\n\nhttp://www.versiontracker.com/dyn/moreinfo/win/13212\nhttp://www.freewareweb.com/cgi-bin/archive.cgi?ID=288\nhttp://www.geocities.com/SiliconValley/Horizon/6013/graphics.html\nhttp://gwanderson.server101.com/Computer101/gifAnimate.htm
112557
You can format the output of cout like this:\ncout << setprecision(2) << yourVar << endl;\n\nAnd if you want it to show the decimal even when it is .00, use cout << fixed << ...\n\nAnd while we're at it, if you want to make your output even prettier, you might want to make use of setw(), setfill(), and left/right...\n\nOh, and to use any of those, you need to #include <iomanip>
91689
The quick answer is that you would know how to program in c++. I dont think most people would want to write that for you just to give an answer but you never know. \n\nTry using planetsourcecode and see if you can find something similar enough to modify...
592206
If you have access to AutoCAD there is an option to Hatch (command: H)  In here you can pick various material symbols.  Otherwise, draw lines in your box to look like the cross section of wood.  glass, usually draw two or three diagonal lines  to represent a reflection, and brick is a slightly dense 45 degree diagonal.  Hope this helps.
181654
I may not have written many programs in Java, but that sure as hell doesn't look like Java to me.\n\nEdit: It's actually C as you can see from the includes:\n#include<stdio.h>\n#include<conio.h>\n#include<math.h>\n#include<stdlib.h>\n\nC++ doesn't use <something.h> it just uses plain <something>.
43265
I use notepad++ its a free program that you can search for and download. once you have it you can put it in c++ mode and start writng. once your finished compile it
5690
programs can be added in the system startup list.. n they run automatically everytime u log in..\n\nto do that .. go to start->programs->startup (right click n explore) add the programs u like to the list..!\n\nwell i hope this answers ur query.. \nn how to do that thru c++.. even i'd like to know!
485227
Use www.windowblinds.net they have thousands of skins and other utlities to bring out your computers appearance. Be careful though if you computer isnt on the higher end then it could slow down your system but most systems are ok.
548197
i make my own (professionaly) --please don't ask what program i use-- but if you just e-mail me (esachs90@yahoo.com) and tell me exactly what type of background/layout you want I'll be glad to do it. (obviously this is free- just thought id do you a favor)