answersLogoWhite

0

What are graphic chars in C plus plus?

Updated: 8/10/2023
User Avatar

Wiki User

āˆ™ 7y ago

Best Answer

Graphic chars have nothing whatsoever to do with C++. Graphic chars are better known as ASCII box-drawing characters. They first appeared in the extended ASCII character set of the original IBM PC (now referred to as code page 437), long before C++ was conceived. The extended ASCII character set varies according to which code page is currently active. UNICODE contains the full range of 128 box-drawing characters (from U+2500 to U+257F, inclusive) including all variants of the single-line, double-line and single/double hybrid characters, as well us quarter-arcs (for rounded corners) and diagonals. The extended ASCII character sets contain a small subset of the UNICODE range. Code page 437 provides the largest subset with 40 characters and is the preferred code page for all ASCII box-drawing. Code page 850 reduces the subset to just 22 by eliminating the hybrid characters and should generally be avoided. If you must use box-drawing characters, prefer UNICODE or UTF encodings over the ASCII encodings. They are typically only required within plain-text files or when printing such files to a console/terminal.

Note that the entire C++ programming language is represented using only the standard 7-bit ASCII character set (characters 0x00 through 0x7F) as specified in ISO-8559-1. The extended ASCII character sets play no part in any C++ standard (the high-order bit in all 8-bit encodings is always zero). Although you may include literal box-drawing characters within C-style strings and all std::string types, it's best to use UNICODE or UTF encodings because the literal characters cannot be interpreted consistently across all systems.

User Avatar

Wiki User

āˆ™ 7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

āˆ™ 13y ago

There is no such thing as C++ character set.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are graphic chars in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the capitalized keywords in java?

public static String capitalizeString(String string) { char[] chars = string.toLowerCase().toCharArray(); boolean found = false; for (int i = 0; i < chars.length; i++) { if (!found && Character.isLetter(chars[i])) { chars[i] = Character.toUpperCase(chars[i]); found = true; } else if (Character.isWhitespace(chars[i]) chars[i]=='.' chars[i]=='\'') { // You can add other chars here found = false; } } return String.valueOf(chars); }


What are the books to study C Plus Plus?

Smart-C: Complete Programming Book available on Flipkart (Rating - 5 Star) The book deals with one such Great programming language ā€œCā€. The book is designed to help the reader program in C. Great care has been taken in making the content interesting and understandable. Each module is added with multiple graphic images to make content easily understandable


What is a function to read chars from a certain position to another position in file in C?

Call functions fread, then function fseek, then function fwrite.


What is the header file for using graphics in c plus plus?

There is no graphic.h in the standard C++ language. It typically ships with 3rd party C++ implementations that incorporate the Borland Graphic Interface or one of its variants, such as Embarcadero Builder. It can also be used with Dev C++ if you install the WinBGIM library. Its primary purpose is to provide Windows graphics support since C++ has no built-in graphics support of any kind.


Can you declare a method within a method in c or c plus plus?

C: there are no methods in C. C++: no.

Related questions

How do you use character in c plus plus?

If you are referring to the character object 'char,' then here are a couple of uses:To create an object, use this:char object = 'a';To create an array of chars, use this:char array[10];To dynamically allocate an array of chars, use this:char array = new char[10];(Don't forget to delete the object with 'delete [] array')


What are Strings in C programming?

Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0] Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0]


When was Waldo C. Graphic created?

Waldo C. Graphic was created in 1989.


What are the capitalized keywords in java?

public static String capitalizeString(String string) { char[] chars = string.toLowerCase().toCharArray(); boolean found = false; for (int i = 0; i < chars.length; i++) { if (!found && Character.isLetter(chars[i])) { chars[i] = Character.toUpperCase(chars[i]); found = true; } else if (Character.isWhitespace(chars[i]) chars[i]=='.' chars[i]=='\'') { // You can add other chars here found = false; } } return String.valueOf(chars); }


What are the books to study C Plus Plus?

Smart-C: Complete Programming Book available on Flipkart (Rating - 5 Star) The book deals with one such Great programming language ā€œCā€. The book is designed to help the reader program in C. Great care has been taken in making the content interesting and understandable. Each module is added with multiple graphic images to make content easily understandable


How do you draw a concentric circle using C or C Plus Plus with the built-in graphic function?

You don't: the C and C++ languages do not have any built-in graphics tool. Further, it is impossible to draw a concentric circle. Multiple circles are concentric when they share the same center.In C or C++, graphic functions such as the drawing of lines, rectangles or circles are provided through third party libraries, or through wrappers which provide access to the operating system's graphics functions.


What is Chars's population?

Chars's population is 1,787.


How do you put double codes in c plus plus output?

If you mean wide chars, as in UNICODE, use the wide-character console output streams, such as std::wcout and std::wcerr. If you mean multi-byte characters, such as UTF8, convert the characters to UNICODE first.


What is the plural of chars?

Chars is already plural. The singular is char.


What is the area of Chars?

The area of Chars is 16.71 square kilometers.


How tall is Chars Bonin?

Chars Bonin is 5' 10".


What is the code to unlock all the characters in NTSD 2.4 full?

here I leave my data from my ntsd 2.4 full:id: 0 type: 0 file: other \ template.datid: 2 type: 0 file: chars \ id: naruto.datid: 33 type: 0 file: chars \ naruto_clone.datid: 0 type: 0 file: chars \ kyubi.datid: 11 type: 0 file: chars \ sasuke.datid: 0 type: 0 file: chars \ sasuke_cs2.datid: 4 type: 0 file: chars \ sai.datid: 1 type: 0 file: chars \ sakura.datid: 7 type: 0 file: chars \ rock_lee.datid: 18 type: 0 file: chars \ neji.datid: 19 type: 0 file: chars \ tenten.datid: 22 type: 0 file: chars \ shikamaru.datid: 12 type: 0 file: chars \ kiba.datid: 5 type: 0 file: chars \ shino.datid: 13 type: 0 file: chars \ yamato.datid: 3 type: 0 file: chars \ kakashi.datid: 21 type: 0 file: chars \ jiraiya.datid: 0 type: 0 file: chars / speedy.datid: 0 type: 0 file: chars / bacon.datid: 0 type: 0 file: chars / brrrrr.datid: 16 type: 0 file: chars \ gaara.datid: 14 type: 0 file: chars \ kankuro.datid: 15 type: 0 file: chars \ temari.datid: 8 type: 0 file: chars \ chiyo.datid: 20 type: 0 file: chars \ orochimaru.datid: 23 type: 0 file: chars \ kabuto.datid: 0 type: 0 file: chars \ spike.datid: 0 type: 0 file: chars \ jiroubou.datid: 0 type: 0 file: chars \ tayuya.datid: 0 type: 0 file: chars \ sakon.datid: 0 type: 0 file: chars \ kidomaru.datid: 31 type: 0 file: chars \ sound_nin2.datid: 30 type: 0 file: chars \ sound_nin.datid: 32 type: 0 file: chars \ hunter.datid: 39 type: 0 file: chars \ sand_creature.datid: 0 type: 0 file: chars \ pein.datid: 0 type: 0 file: chars \ badboy.datid: 9 type: 0 file: chars \ itachi.datid: 17 type: 0 file: chars \ kisame.datid: 10 type: 0 file: chars \ deidara.datid: 58 type: 0 file: chars \ deidara_bird.datid: 6 type: 0 file: chars \ Hsasori.datid: 0 type: 0 file: chars \ sasori.datid: 55 type: 0 file: chars \ puppet_sasori.datid: 25 type: 0 file: chars \ kakuzu.datid: 0 type: 0 file: chars \ nckakuzu.datid: 24 type: 0 file: chars \ hidan.datid: 0 type: 0 file: chars \ reaper.datid: 0 type: 0 file: chars / smiter.datid: 0 type: 0 file: chars / jkhg.datid: 0 type: 0 file: chars \ smiter.dat