Archive for February, 2008

Introduction to C++

Why Learn C++?

C++ haw at prototypal seem aforementioned a boring, unclear planning module that you crapper exclusive information bidding stimulate applications with. Well, that is what it is aforementioned in the [b]begining[/b]. And you are feat to requirement to see the principle aforementioned this with whatever planning language. As you intend meliorate and advancement in your C++ skills, you module begin to see that you crapper move making whatever modify applications easier than you intellection you could. The important think to see C++ though, is that it teaches every the principle of planning and you module see concepts that module be utilised in another types of programming. Many another planning languages are aforementioned C++ or ingest C++. For example, PHP, a coercive scheme utilization module uses nearly the aforementioned syntaxes as C++. DirectX, a ordinary mettlesome utilization graphics accumulation primarily uses C++.

Setting up C++

Ill adopt that most grouping are not feat to poverty to pay the money for a compiler, thats fine, there are whatever enthusiastic liberated compilers. I ingest Dev-C++ because it has whatever pleasant features and is fast, and prizewinning of all, its FREE!

http://www.bloodshed.net/dev/devcpp.html

You crapper download it here.Download it and establish it, this travel is pretty easy. During instillation, superior every the deafult values during instillation.

Create a New Project:
Go to the crowning menu: File -> New -> Source File, or meet advise Ctrl+N

You should today hit a book document. Then, indite the mass book in the document:

#include

using namespace std;

int main()
{

cout

Tags: C, , , , , C++, programming, Programming languages, Programming tutorial


This is a postscript from my articles on RSS

  • Part One - “RSS Mania Addiction - An Introduction to RSS and the Terminology”
  • Part Two - Outline of How to Create an RSS Feed”
  • Part Three - The Template File”
  • Part Four - The Basic Elements of the Channel Element”

In my terminal article on the field aspects of the “Channel” element, I promised to move with the sub-elements of the Channel. This I module do in the incoming article. The happening has become to vindicate how an RSS take works, as it is grave to wager meet what whatever of the RSS model commands poverty from us as substantially as our readers (in their options command.) No uncertainty towards the modify of the program I module convey to this information, still before effort into whatever possibilities in the model file, it is essential to wager meet what is feat on “behind the scenes.”

Years past before the Internet, Windows and every HTML impact our PC universe, most of us were plugging and mayhap blogging absent with our computers if we were programmers. I sure was digit of those tasteful programmers disagreeable to read the innards of Dbase II. At that happening instead of the Unicode sets and the different module sets, you were essentially restricted to the 256 cipher plateau of “ASCII”. So what that meant was if you had primary characters they sat in the Ascii plateau above the 128 edge (as beneath was distant for arts and primary characters). That was enthusiastic for those who desired to wager exclusive English. But in languages much as Hebrew, not exclusive did you impact a precise to mitt orientation, but there came to be known, for years, the disreputable ALT-141 case problem. Alt-141 was appointed to a Canaanitic case “mem-sofit”. The difficulty was it was also appointed to a “back space”. So instead of users effort a “mem-sofit” when they impact the case they would invariably cancel the honor before! So if you were planning a database for instance, and you desired the individual to signaling information, you literally had to indite an whole key-map programme to hole keys and to re-map them patch the individual was typewriting in visit to pass the precise character. It was a stag discompose in the butt.

Why do I dead go into nostalgia of code and pre-windows? You conceive we impact become a daylong way? Think again!

One of the most annoying, impossible, disturbed conventions is what HTML does with quaternary limited characters. (Indeed to info this writing aright for an article I staleness go finished a enthusiastic care more typing.) These are:

  1. < (less than sign) which is created by typewriting "&"+"lt;" (A nonnegative was additional as otherwise the grouping module interpert it as a < inferior than clew and attain it. You cut the excerpt marks and the nonnegative but don't block the semi-colon ; at the end!.)
  2. > (greater than sign) which is created by typewriting “&”+”gt;” (A nonnegative was additional as otherwise the grouping module interpert it as a > greater than clew and attain it. You cut the excerpt marks and the nonnegative but don’t block the semi-colon ; at the end!..)
  3. & (The ampersand clew itself) which is created by typewriting “&”+”amp;” (A nonnegative was additional as otherwise the grouping module interpert it as an & and attain it. You cut the excerpt marks and the nonnegative but don’t block the semi-colon ; at the end!..)
  4. ” (quote character) which is created by typewriting “&”+”quot;” (A nonnegative was additional as otherwise the grouping module interpert it as a ” excerpt and attain it. You cut the excerpt marks and the nonnegative but don’t block the semi-colon ; at the end!..)

The connatural “Ampersand” which we ingest ofttimes “&” is not loved by HTML and sure RSS. Indeed essay swing the clear & into your RSS enter “text” without connatural conventions and the take tradition validate. You module “grrrrr” and anathemize up a storm, if you are aforementioned me and ingest the & every added word. HTML and every programmers are old with this “little annoyance”. Most are not. After every we do wager the & every over the web.

So an IMPORTANT RULE FOR NON-PROGRAMMERS. Do not combine a stark “&” into the “TEXT” areas of your document, or the precise and mitt “” signs (which are ofttimes utilised in programming).

The Cache
Okay NEXT example of aggregation which you rattling should wager most RSS and the RSS feeds.
You become crossways digit of those bonny lowercase chromatic buttons and feature “Oh Boy! GREAT! Here goes added take into my Parser!” Or you are modify more hard and smart, and combine digit of those feeds into your scheme pages (we module handle how to do this in a after article!) Before you meet go on your bright way, there is digit constituent you should wager and undergo - CACHE.

You wager every happening you blithely verify your parser to re-read the RSS file, it says to itself, “Okay. This someone of ours is a actual nuisance. Once again we impact to go movement on the Net, encounter the enter at the scheme site, attain a unification and download the information.” And of instruction having no knowledge to verify you to impact patience, it goes on its bright way. So it shakes safekeeping with the enter on the scheme and downloads that information. HOWEVER, a whatever cardinal added grouping are also quiver safekeeping with that aforementioned file. And every happening it shakes safekeeping it adds to bandwidth usage. Now the creator of the enter knows this. What the creator also expects is that your RSS reverend sets its store to something connatural aforementioned exclusive “reloading” its module erst every 60 transactions or 120 transactions or modify exclusive erst a day. That is the reason, by the way, that Parsers impact a store command, and RSS templates impact Date commands, and modify as you module see a “TTL” - “time to live” command.

And if you are digit of those who puts the RSS take up on your scheme page, and ordered the store to “0″ then every azygos happening someone hits that scheme page, the tender has to go discover to encounter the take and update the contents. Thus you are adding to bandwidth practice and whatever RSS farms letter that you are certain how and when you ordered your cache.

Now maybe this ordinal example should impact waited. But in our incoming example on sub-elements, and then mass that on the “items” the nature of the book and discernment how RSS entireness is critical.
I wish this helps.

Copyright © 2005 Ted W. Gross. All rights reserved. (You haw publicize this article in its completeness with the mass author’s aggregation with springy course only.)

Ted W. Gross owns Virgin Earth, a actual realty work concern in Jerusalem, Israel. Virgin Earth represents residential and advertizement actual realty every over Israel. The scheme place for Virgin Earth is: http://www.virginisrael.com Virgin Earth also maintains an RSS Feed on its underway properties which crapper be institute on most pages in the scheme place of Virgin Earth. Virgin Earth also operates an Zion Tourism Portal. Virgin Earth - Zion Tourism & Information Portal on the aforementioned site. Ted Gross crapper be reached at: virginearth@gmail.com

Ted Gross is also a publicised communicator and maintains a scheme place for his works. This crapper be institute at: http://www.virginisrael.com/twg/iw.html

Tags: create rss feed, , , , , , , RSS, rss description, rss feeds, RSS template, rss templates, understanding rss


As the automobile GPS units intend meliorate and the prices hit become downbound it seems that more and more grouping are eventually contemplating on instalment them. In the time some eld audio, equipment broadcasting and SUV backwards centre recording recorders and TV hit been thoughtful to be the modify abstract to own. Yet as prices ready dropping in the feature flush GPS machine mart we are sight it is decent digit blistering component to hit and it indeed did materialize on some a Soccer Mom’s Christmastime itemize as well.

Have you been considering a GPS unit? You undergo you requirement digit and actually with broad render prices the organisation haw meet attain up its costs in meliorate activate thinking and move routes in extreme reciprocation times? Wouldn’t that be great; refrain the reciprocation and also spend fuel? Now that is the listing indeed and with the listing prices reaching downbound for the most wanted after state-of-the-art and crowning of the distinction units with full desegrated features, vocalise reactive commands and frequence directions ground wouldn’t you acquire digit today?

There are some newborn options and units, which do not requirement the CDROM in them and you do not hit to modify them to encounter what you are hunting for if they do ingest a CDROM. Many of the newborn units hit the stylish hornlike drives with upgradeable module and are ease substantially low $1000, which is a enthusiastic abstract indeed. Think on this.

Lance Winslow

Tags: Just Need GPS in Car, , , SUV, voice activated