Your full service technology partner! 
-Collapse +Expand
Search C++ Group:

-Collapse +Expand C++ To/From
-Collapse +Expand C++ Study Test
-Collapse +Expand C++ Store

Prestwood eMagazine

September Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Jan 2016 Issue - C++ Edition


Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this C++ group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
  January 2016 - C++ Edition (201 of 4,788 subscribers receive this group's content.) Year 18 Issue 1  
Your full service technology partner!

Expert guidance from working professionals!
Tech Services Info topic:
New Printer, Local/Wireless
by Eric Prestwood

Setup printer including downloading of latest drivers if needed.

IT Water-Cooler for Power-Users topic:
Stamp Out Spam
by Vicki Nelson

How to fight back against spam and reclaim your inbox. As you may know, the volume of spam messages sent across the Internet has reached epidemic levels. Some industry experts estimate that three out of every five e-mail messages that are sent today are spam. The spam epidemic is costing companies, professionals, and individual users considerable amounts of time, money, and resources.

What is spam, and what can I do about it? Spam is generally defined as an unsolicited mailing, usually sent to many recipients. Most spam is commercial advertising, often for dubious products, get-rich-quick schemes, or quasi-legal services. Spam costs the sender very little to send. Most of the costs are paid by the recipient or the carriers rather than the sender. Some effective methods for preventing your e-mail address from being captured, sold or abused by spammers in the full version of this article. Click the title to read more.

Off Shoring topic:
Off-shoring: You CAN fight back!
by Wes Peterson

Are you fed up with calling a company and finding yourself speaking to somebody in a foreign country? 

I am, and I've just learned of an effective way to fight back, help return jobs to America, and keep them here.

The best part? We don't have to wait for government to do a thing.

 C++ Group Top 
Visit Group | My Group Settings
C++ Language Basics topic (classic post):
C++ Custom Routines
by Mike Prestwood

C++ is a hybrid language and as such offers global functions and class methods. A function must come before it's usage or you can prototype the function.

Standard C++ topic (classic post):
C++: The Standard Template Library Generic Algorithms
by Evan Egalite
This article by Evan Egalite was first published in the August 2002 Prestwood eMagazine.

 Monthly C++ Lesson
C++/CLI Language Basics Topic:
Code Snippet of the Month

C++/CLI supports the const and static const keywords of standard C++ as well as the new literal keyword. A literal is equivalent to static const in standard C++ and Microsoft's documentation recommends to replace static const with the new literal keyword because a leteral is available in metadata; a static const variable is not available in metadata to other compilers.

You can use static const within the class declaration or locally within a method. However, literal is only valid in the class declaration section and const is only valid within a method.

//some method {
const String^ MyName = "John";

static const Int32 MyAge = 27;
// public class SomeClass : public Object {

  literal double Pi = 3.14159;
  literal String^ MyName = "Mike";
  static const Int32 MyAge = 35;
Classic C Language Topic:
Definition of the Month: C Family Unary Operators
An operation with only one operand (a single input) such as ++X and --Y.
C++Builder Specific Topic:
Resource Link of the Month: C++Builder Roadmap

Official Delphi and C++Builder Roadmap from Codegear.

C++/CLI Topic:
FAQ of the Month: C++/CLI & Native Code

Can you use native code in a C++/CLI application to increase speed?


Yes, that's one of the big advantages of using C++/CLI over C#. Although you can also call unmanaged code from within C#, support for native objects is built into C++/CLI.

I was telling to a friend how impressed I was with the performance of Paint .NET (a free .NET desktop graphics program), and he remarked the the only reason it could peform so well was because it made extensive use of an unmanaged graphics code library.

Classic C Language Topic:
Tip of the Month

In C and C++, it is better to only use unary operators for incrementing and decrementing variables because they produce fewer instructions and run faster.

Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

©1995-2020 Prestwood IT Solutions.   [Security & Privacy]