Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8820681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:40:06+00:00 2026-06-14T05:40:06+00:00

I am a c# programmer but today i am thinking of migrating to c++,

  • 0

I am a c# programmer but today i am thinking of migrating to c++, The first thing i wonder about is that there is 2 types of projects CLR Console Application and Win32 Console Application

Also what confuses me is that in Win32 i can write line to console using either printf or cout

while in CLR i can also use the familiar Console::WriteLine

i am totally confused what is the point of having all that functions just to write a line and what is the difference between the CLR and Win32 Applications

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:40:07+00:00Added an answer on June 14, 2026 at 5:40 am
    • printf is the C way. It isn’t typesafe, but it’s fast. It runs on the standard C library. (C++ can do this, but it’s not normal.)
    • cout is the C++ way. It’s typesafe, and is the normal way in C++. It runs on the standard C++ library.
    • WriteLine is the .Net way, and thus the C++/CLI way. It runs on the .Net library.
    • WriteConsole is the Windows way. It’s a raw operating system call, so is fast, but it’s hard to use and not portable. Don’t use this.

    As for comparing the languages, C is a less complicated language (making your code more complicated), but C++ has templates, so they’re roughly equivalent in speed, depending on the task. They’re normal Win32 applications, which means they’re pre-complied to raw machine code, and directly run by the processor. C++/CLI runs atop the .Net framework, which means it’s compiled as it’s being run by the .Net framework, and it tends to run slower than C or C++.

    Take all this with a grain of salt. WriteConsole can do things the others can’t easily do. The .Net framework is amazingly fast at certain things. But in general, use the version associated with your lanugage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am an avid programmer but today is my first Java lesson. public void
Im a pretty experienced programmer in PHP and mainly web languages but today i
First of all I want to say I am not a programmer but I
This is a rather broad question, but I'm a beginner-intermediate programmer that has just
OK, first thing I want to say is: yes, I know there are a
Today, I was just told about the seed() function from a programmer much more
I am a C# programmer but I have to work with some VB.Net code
I am a C# programmer but dabbling in VB.Net because everybody else in my
I'm not much of a programmer but I want to integrate http://storify.com/ into my
I am fairly experienced C programmer but IOS is new for me. I do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.