I.T. Discussion Community!
-Collapse +Expand
C++
Search C++ Group:

Advanced
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C++ Store
PRESTWOODSTORE

Prestwood eMagazine

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

   ► KBC++ Knowledge Base  Print This    All Groups  

C++ FAQ Page

These FAQs are contributed by you (our online community members). They are organized by our knowledge base topics. Specifically, by the C++ sub-topics.

Contribute a FAQ
Expand All

3 C++ FAQs

Group: C++


Topic: Standard C++

-Collapse +Expand Q1. How do you comment code in C++?
 
Answer:

Use two forward slashes to represent a single line comment:

// This is a C++ style single line comment.

You can also use multiple line comments:

/*
This is a mutliple line comment. This
syntax is borrowed from C.
*/
Posted By Mike Prestwood, Post #100153, KB Topic: Standard C++



Topic: C++/CLI

-Collapse +Expand Q2. Can you use native code in a C++/CLI application to increase speed?
 
Answer:

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.

Posted By Wes Peterson, Post #101851, KB Topic: C++/CLI



Topic: Visual C++ Specific

-Collapse +Expand Q3. What is the main usage of Visual C++? Can I create .Net apps with it?
 
Answer:

Yes, you can build .Net runtime applications with Microsoft's Visual C++ as well as building native code Win32 applications and rich 2D and 3D games with The Game Creators SDK. You can use it to create other types of applications too including MFC and Smart Devices applications.

Posted By Mike Prestwood, Post #101242, KB Topic: Visual C++ Specific
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech