answersLogoWhite

0

I read in Maximum PC magazine that white space will be a way for people too get free broadband internet and achieve up to 100mb/s of downloads. But there is a debate that white space will interfere with mikes and speakers in heavy populated areas. But dont be expecting to see this soon. It will probably, my guess, take around 6 to 7 years till its on the market

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

Write a program to count the number of characters words and lines in given text c plus plus?

#include<iostream> #include<fstream> int main() { std::ifstream infile ("example.txt", std::ios::in); unsigned chars(0); unsigned words(0); unsigned lines(0); std::string delim("\t\n "); char ch(0); char last(0); if (!infile.good()) { std::cerr << "The filename is invalid." << std::endl; return -1; } while (infile.get(ch)) { switch (ch) { case ('\n'): ++lines; case (' '): case ('\t'): // only count words if the last char was not a word delimiter if (delim.find(last) == std::string::npos) ++words; default: ++chars; } last = ch; } infile.close(); std::cout << "Number of chars:\t" << chars << std::endl; std::cout << "Number of words:\t" << words << std::endl; std::cout << "Number of lines:\t" << lines<< std::endl; }


What symbol separates variable names?

All names must be composed from some combination of letters, digits and underscores. A name cannot begin with a leading digit but it must contain at least one letter. The only symbols that can physically separate one name from another are the binary operator symbols and semi-colons. Note that whitespace characters are only of relevance when a name identifies a type: int x; // int is a type, x is a name; whitespace is essential here int y, z; // comma-separated list of names; all whitespace within the list is ignored x = y + z; // binary operators '=' and '+' separate the names (all whitespace is ignored)


What is whitespace in java program?

Any spaces, tabs, or blank lines, that don't contain actual commands. Whitespace is used to separate keywords, variables, etc. Whether you put a single space, several spaces, an ENTER, or some other combination is irrelevant for the compiler, but it is still extremely important to use proper indentation, because otherwise, the program will be very confusing for a human to read.


Which tag is used to retain the spacing of text?

To display text in the same manner as it is entered into the HTML code, we use the pre-formatted tag, <pre></pre>. Text within the tag will not have its whitespace stripped, unlike other HTML data.


What is a token in c?

Anything that you can't put whitespace between. The indivisible elements of a program. Example: printf("Sup world %d",variable); Tokens: (7 total) printf ( "Sup World %d" , variable ) ;

Related Questions

The space between a graphic and the text is sometimes called the?

The space between a graphic and text is commonly referred to as "whitespace" or "padding". Whitespace helps to separate elements and improve readability in design layouts. Including adequate whitespace is important for creating a visually pleasing and organized design.


What text results in variable whitespace?

i saw this on plato. Your already to late.........


Write a program to count the number of characters words and lines in given text c plus plus?

#include<iostream> #include<fstream> int main() { std::ifstream infile ("example.txt", std::ios::in); unsigned chars(0); unsigned words(0); unsigned lines(0); std::string delim("\t\n "); char ch(0); char last(0); if (!infile.good()) { std::cerr << "The filename is invalid." << std::endl; return -1; } while (infile.get(ch)) { switch (ch) { case ('\n'): ++lines; case (' '): case ('\t'): // only count words if the last char was not a word delimiter if (delim.find(last) == std::string::npos) ++words; default: ++chars; } last = ch; } infile.close(); std::cout << "Number of chars:\t" << chars << std::endl; std::cout << "Number of words:\t" << words << std::endl; std::cout << "Number of lines:\t" << lines<< std::endl; }


Which term is used to define a space or tab in shell grammar?

Spaces and tabs are usually called "whitespace"


What symbol separates variable names?

All names must be composed from some combination of letters, digits and underscores. A name cannot begin with a leading digit but it must contain at least one letter. The only symbols that can physically separate one name from another are the binary operator symbols and semi-colons. Note that whitespace characters are only of relevance when a name identifies a type: int x; // int is a type, x is a name; whitespace is essential here int y, z; // comma-separated list of names; all whitespace within the list is ignored x = y + z; // binary operators '=' and '+' separate the names (all whitespace is ignored)


Is HTML code line breaks important. Source code spacing gets changed when uploading by FTP.?

Whitespace (spaces, tabs, newlines) have no meaning in HTML. So if your whitespace coding is being changed, no worries. It doesn't mean anything. That's why we have the non-breaking space entity ( ) in HTML.


Can newline be a white space?

Yes, a newline can be considered a type of whitespace character. In programming and text processing, whitespace typically includes spaces, tabs, and newlines, which serve to separate tokens and improve readability. While it does not produce visible space like a space or tab, it still plays a crucial role in formatting and structuring text.


What does Crtl plus Del do?

Nothing on my Linux Ubuntu system.In a word processing application, Ctrl + Del erases the characters up to the next "whitespace"


What is whitespace in java program?

Any spaces, tabs, or blank lines, that don't contain actual commands. Whitespace is used to separate keywords, variables, etc. Whether you put a single space, several spaces, an ENTER, or some other combination is irrelevant for the compiler, but it is still extremely important to use proper indentation, because otherwise, the program will be very confusing for a human to read.


Which tag is used to retain the spacing of text?

To display text in the same manner as it is entered into the HTML code, we use the pre-formatted tag, <pre></pre>. Text within the tag will not have its whitespace stripped, unlike other HTML data.


How can you get rid of wide space at bottom of Firefox?

This problem is caused by one of your add-ons/extensions. Start disabling them one at a time, restarting Firefox in between until the extra whitespace goes away. :))


How can I use a space in HTML that doesn't show up on the Webpage?

When you use extra whitespace, it is stripped by most browsers. Entering nine spaces into your HTML source, for example, will only appear as one space in your browser.