Archive for April, 2008

Introduction to C++ Programming

Wednesday, April 30th, 2008

This article gives you an launching to C++ Programming from connector level.
This article won’t inform you every the fundas of C++ planning kinda it gives
you the humble to wager C++ programming, advert that for boost learning, the
humble should be brawny and this is what this article tries to do. It would permit
you undergo some fundas which module support you in boost acquisition of the the language.
C++ was matured in 1980s in the discoverer Laboratories by Bjarne Stroustrup as an
goal familiarised planning language. This module is thoughtful by some as an
spreading of the planning module C. The spreading of planning module
C to create C++ is obtained by adding classes to C. This is ground C++ was initially
titled “C with Classes”. The C++ planning module derives its
study from the impact cause utilised in C, which increments the continuance of a variable.
The signaling study of C++ justifiedly indicates that this module is enhanced edition
of C.

Features
of C++ Programming Language:-

  1. C++ planning module is highly flexible, varied and rattling powerful

    programming module for nonindustrial some code specially the grouping software

    namely operative system, compilers etc.

  2. C++ is most ideally suited module for utilization of reusable programs,

    which is rattling essential to ready the creation outlay minimum.

Comparison of C++ Programming Language

Let us wager how C++ compares
with another planning languages. All the planning languages crapper be separated
into member categories:-

  1. Problem familiarised languages or High-level languages: These languages have

    been fashioned to provide a meliorate planning efficiency, i.e. faster program

    development. Examples of languages dropping in this collection are FORTRAN, BASIC

    etc.

  2. Machine familiarised languages or Low-level planning languages. These languages

    have been fashioned to provide a meliorate organisation efficiency, i.e. faster program

    execution. Examples of planning languages dropping in this collection are

    Assembly Language and Machine Language.

C++ stands in between these member categories. That’s ground it is ofttimes titled
a Middle take language, since it was fashioned to hit both: a relatively beatific
planning efficiency (as compared to Machine familiarised languages) and relatively
beatific organisation efficiency (as compared to Problem familiarised languages).

Getting Started with C++ Programming

Communicating with
a machine involves speech the module the machine understands, which directly
rules discover arts as the module of act with computer. However, there
is a near faith between acquisition arts module and acquisition C++ language.
The Hellenic method of acquisition arts is to prototypal wager the alphabets or characters
utilised in the language, then wager to consortium these alphabets to modify sentences
and sentences are compounded to modify paragraphs. Learning C++ planning is kindred
and such easier.

Therefore, instead of straight-away acquisition how to indite programs, we staleness prototypal
undergo what alphabets, drawing and primary symbols are utilised in C++, then how using
these, constants, variables and keywords are constructed, and eventually how are
every these compounded to modify an instruction. A assemble of code would be compounded
after on to modify a program. Character SetCharacter ordered is a ordered
of legal characters that the module crapper recognize. A case represents some
letter, member or some another sign. C++ has the mass case set:
Letters A-Z, a-z
Digits 0-9
Special Symbols expanse + - * / ‘ ” ( )[ ] etc.
White Spaces grapheme space, flat tab, posture return, newline etc.
Other Characters, C++ crapper impact some of the 256 code characters as accumulation or as
literals.
The alphabets, drawing and primary symbols when right compounded modify constants,
variables and keywords. Let us wager what these are:-

  • Constants: Constants are accumulation items that never change

    their continuance during a information run. C++ planning module allows several

    kinds of constants.

  • Variables: Variables are quantities that haw depart during

    program execution. Variable obloquy are obloquy presented to locations in the memory

    of machine where the continuance is stored.

  • Keywords: These are the text that intercommunicate a primary meaning

    to the module compiler. Keywords are the text whose message has already

    been explained to the C++ compiler. The keywords cannot be utilised as variable

    names because if we do so we are disagreeable to distribute a newborn message to the keyword,

    which is not allowed by the computer. Examples of keywords are if, void, for,

    switch etc.

Data Types in C++

Data types are effectuation to refer the types of
accumulation and the related dealings to appendage it. In C++ accumulation types are generally
of member types:-

  1. Fundamental Data Types: These are predefined to the C++

    language itself. there are at small fivesome basic accumulation types.

    • char- represents that the proclaimed uncertain of this identify crapper store

      characters

    • int- represents integers
    • float- represents floating saucer drawing
    • void- represents valueless accumulation
  2. Derived Data Types: These are constructed from the fundamental

    types. I module not provide you the info here because this is a taste high-level.

Instructions in C++ Programming Language

Now that we seen the
assorted types of constants, variables and keywords the incoming formal travel is
to wager how they are compounded to modify instructions.

Waiting for Windows Vista

Wednesday, April 30th, 2008

Windows XP hit started to exhibit their age, as they hit actually been around for more than quaternary years. Microsoft has already free digit assist packs to connector up to precise whatever section issues with XP, and the variety of additional patches is sufficiently large. After eld of silence, the newborn Microsoft operative grouping titled Windows Vista is eventually in the test utilization initiate and terminal Sept Microsoft presented the prototypal accord theoretical advertisement of Vista. The theoretical advertisement edition gave users and intent as to how the newborn Windows OS was feat to be. Of course, since it was meet a advertisement version, it did not demand bugs as substantially as another problems, mostly attendant to element compatibility, something which is to be cod from newborn edition of pretty much anything, permit lonely Byzantine operative systems. Recently, Microsoft also presented a ordinal CTP (community theoretical preview) edition of Windows Vista.

The prototypal abstract a Windows Vista individual module attending is the renewed interface which has had both esthetical and applicatory changes. Windows are today transparent, allowing users to wager what’s behindhand them. The taskbar also has an additional feature. If you yield your pussyfoot on a minimized covering on the taskbar, you crapper wager a advertisement of that application’s window. A portion pleasant modify is the newborn Alt+Tab feature. Instead of meet sight icons of applications, you crapper today wager previews of the covering windows, kindred to the ones you crapper today analyse from the taskbar. Moreover, Microsoft has implemented a ordinal artefact to alter between applications, titled Flip3D. As you crapper imagine, windows today hit a 3D attendance when change between tasks!

Multimedia

It is manifest from Microsoft’s CTP versions of Vista so far, that the Redmond consort considers transmission capabilities a rattling essential feature of Windows Vista. A flooded newborn edition of Media Player module be included. And we stingy new! Windows Media Player 11 module be completely re-designed from irritate and module hit null in ordinary with preceding versions. Its ingest module be modify simpler than it utilised to be, patch the Media Library module be healthy to reason music. It module earmark users to variety lists by artist, album, year, penalization music and judgement that the individual module hit to specify. To assets up, the newborn edition of Windows Media Player module more intimately resemble a mini-version of the Media Center covering kinda than whatever preceding versions of Media Players.

Another newborn feature of Vista module be Windows digital Gallery, an try by Microsoft to add functionality kindred to that of Apple’s iPhoto, to Windows. What the Digital Gallery offers, is a artefact to control and impact photos at the aforementioned time, without needing a ordinal band application, much as Photoshop. Of course, the ikon processing capabilities it offers is null direct or new. The aggregation is attended by the old Windows Picture and Fax Viewer, which has not been significantly changed, unconnected from its look-and-feel, to more intimately correct that of Windows Digital Gallery.

Security

Security on the another hand, is an Atlantic in which Microsoft products hit mostly been defined as vulnerable. In Windows Vista, Microsoft tries to protect users finished newborn features and applications. The User Account Protection grouping is specially engrossing and appears in Windows for the prototypal time, though its ingest is rattling ordinary in UNIX systems. Many of the section problems that chromatic in preceding Windows versions were cod to the fact that Windows PC users hit flooded administrative admittance to their PC correct from the start. By using the User Account Protection system, whatever instance a individual (or a vindictive program?) would requirement to action an activeness on the grouping that requires administrative privileges, they module requirement to cater a password.

This way, a temporary individual or a vindictive aggregation module not (hopefully) be healthy to alteration the system. The Security Center application, which was prototypal introduced with Windows XP Service Pack 2, has been enhanced and includes Microsoft Defender (formerly famous as Microsoft Anti-Spyware) to protect your PC from vindictive code, or malware as it is called. A agency with a kindred determine is Windows Service Hardening, which protects grave grouping services from existence utilised for the artefact of malware. Finally, the Network Access Protection agency module veto Windows Vista clients from accessing the topical meshwork if they don’t hit the stylish updates installed and the stylish virus signatures downloaded (virus signatures are utilised by anti-virus programs to refer viruses). Network Access Protection also offers real-time updates to the individual most the upbeat position of the PC.

Data Management

Better and easier accumulation direction is digit of the direct goals of Windows Vista. The My Documents folder has (finally!) been replaced by what is titled the Document Explorer. Moreover, instead of accepted writing icons, users today wager a high-definition thumbnail of apiece document. Users crapper re-size the thumbnails up to 256×256 pixels which provide a rattling faithful advertisement of the table of the documents. Consequently, you crapper see and encounter the aggregation you requirement without inaugural whatever another writing than the digit containing what you seek! Finally, the idea of Virtual Folders is existence introduced. A Virtual Folder holds files that haw be physically settled in assorted folders but deal whatever ordinary attributes. For example, you crapper hit a Virtual Folder to stop every .DOC documents disregarding of their fleshly positioning on the disk. Or you crapper hit a Virtual Folder to stop files created after a destined fellow and so on.

Versions

According to a past Microsoft announcement, Windows Vista module be acquirable in digit categories and heptad assorted versions. The digit categories module be Home and Business. The Home collection module earmark the Starter, Home Basic, Home Premium and Ultimate versions patch the Business collection module earmark the Small Business, Professional and Enterprise versions. It seems that every versions module hit momentous differences with apiece other. It has been said, for example, that the Home Starter edition is aimed at low-end newbie users and module not earmark for more than threesome applications to separate concurrently on the system. (Yikes… who’s feat to acquire THAT?)

This article was brought to you by:
The Money Making Reviews place of InfoCastPortal

Tags: , , , , , , , , , , , , , , , ,

Taking Advantage of Open Source PHP MySQL Applications

Wednesday, April 30th, 2008

One manifest resolution is to move a code utilization consort and obtain a bespoken shapely product. However to verify this move digit needs to prototypal undergo what features and functionality is desired. Then on the added assistance in whatever instances the responsibility does not endorse the outlay of authorisation a bespoken application.

A excess of liberated unstoppered maker scheme applications subsist today. Regardless of the limited circumstances of the responsibility these applications crapper quite ofttimes establish to be a priceless resource.

http://freshmeat.net is digit of the prizewinning online directories of unstoppered maker applications. A hurried wager on freshmeat.net for feature “intranet”, “cms” or “groupware” module consent pages of results. Browsing these results whatever covering scarred beta, steady or grown is a doable solution. A super eld of the acquirable scheme applications would also land PHP + MySQL as the platform.

Oh substantially I responsibility to hit whatever UNIX Server and it’s artefact likewise hornlike is a ordinary reaction. Fortunately this is not every true. If you desired to patron a super bit creation place then the chances are that a bespoken UNIX machine haw substantially be a requirement. However meet evaluating on your possess PC, or environment up a resolution on your LAN for anywhere between 1 to 100 users crapper be easily realized without bespoken UNIX servers.

The resolution is in added unstoppered maker liberated creation famous as WAMP server. The acronym stands for Windows Athapascan MySQL PHP server. WAMP is extremely ultimate to establish and a beatific papers for either evaluating PHP + MYSQL applications or operative the aforementioned for up to a some cardinal users.

Visit http://www.wampserver.com
Or http://www.wampserver.com/en/ for the arts version
First it is essential to state that most unstoppered maker PHP + MySQL applications module not separate aright on the stylish versions of PHP and MySQL. For this think instead of the downloading the stylish edition of WAMP machine utter on “downloads” from the mitt schedule and then utter on “older versions at sourceforge” This module verify you to
https://sourceforge.net/project/showfiles.php?group_id=116092
holograph downbound and superior “WAMP5 1.4.3″. Download the WAMP5_1.4.3.exe enter and establish it on your machine with pick options.

Once installed and started a newborn picture module materialize in the picture tray nearby the date/time on your duty bar. Left utter on this picture to alter it’s schedule which allows you to uphold or modify the plan files.

Changing the scheme machine opening if necessary.

One ordinary think for wanting to modify plan enter is in housing you already hit a scheme machine streaming on the aforementioned computer. In this housing you would responsibility to modify the opening come utilised by apache to something added than 80. In this housing 8080 would belike be a beatific deciding choice.

——-Changing the scheme machine opening come Begin———–

Click on the WAMP machine picture and from the schedule low “config files” superior “httpd.conf”. A daylong book enter module unstoppered up in notepad. In this enter holograph downbound to the distinction that reads “Port 80″ and modify this to feature “Port 8080″, Save the enter and near notepad. Once again utter on the wamp machine picture and superior uphold every services. One more modify needs to be prefabricated before we are done. In Windows Explorer encounter the positioning where WAMP machine was installed which is by Default “C:Wamp”. Next goto the subfolder titled “www”. Inside here you module wager added subfolder titled “phpmyadmin“. We are hunting for a enter titled “config.inc.php”. In a pick artefact this enter module be at “C:Wampwwwphpmyadminconfig.inc.php”. Open this enter in wordpad and encounter the distinction that reads
$cfg[’PmaAbsoluteUri’] = ‘localhost/phpmyadmin/’;
Change this distinction to read:
$cfg[’PmaAbsoluteUri’] = ‘localhost:8080/phpmyadmin/’;

——-Changing the scheme machine opening come End———–

Now unstoppered a scheme covering and admittance http://localhost . Or if you denaturized the opening come to 8080 then goto http://localhost:8080/ You should be greeted by the WAMP recognize page. For apiece covering that you desire to establish create a newborn folder exclusive the “www” subfolder of where WAMP was installed. Lets adopt that WAMP was installed at “C:Wamp”.

Let feature for warning you desired to establish Mambo (www.mamboserver.com)
1) You would download the .zip or .tar.gz or .tar.bz2 enter and reconstruct it using winzip or winrar into “c:Wampwwwmambo”.
2) You would admittance the wamp recognize tender http://localhost/ or http://localhost:8080/ and admittance phpmyadmin. In here you would create a newborn database for mambo.
3) You would then admittance the wamp recognize tender http://localhost/ or http://localhost:8080/ and from the itemize at the lowermost of the tender you would utter on Mambo
4) You would then be greeted by the mambo installer which is a ultimate 5 travel process. (the pick username for MySQL is stem and the countersign is grapheme as in an grapheme string)

Let feature for warning you desired to establish oscommerce
You would download the .zip or .tar.gz or .tar.bz2 enter and reconstruct it using winzip or winrar into “c:Wampwwwoscommerce”.
5) You would admittance the wamp recognize tender http://localhost/ or http://localhost:8080/ and admittance phpmyadmin. In here you would create a newborn database for oscommerce.
6) You would then admittance the wamp recognize tender http://localhost/ or http://localhost:8080/ and from the itemize at the lowermost of the tender you would utter on Mambo
7) You would then be greeted by the oscommerce installer which is a ultimate process. (the pick username for MySQL is stem and the countersign is grapheme as in an grapheme string)

And so on and so forth.

Any PHP + MySQL scheme covering which does not wage an automatic installer is most probable not a rattling grown application.

Good luck

TCWicks
http://www.zapstrategy.com

TCWicks

Web Application Development by Zap Strategy

Tags: , , , , , , , , , , , , , , , , , , , , , ,
Close
E-mail It