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 8743249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:38:34+00:00 2026-06-13T11:38:34+00:00

I understand what it does: specifies a string literal as a const wchar_t *

  • 0

I understand what it does: specifies a string literal as a const wchar_t * (wide character string) instead of const char * (plain old characters), but how is it actually defined?

Is it a macro of some sort? Is it an operator for GCC compilers? What is it?

  • 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-13T11:38:35+00:00Added an answer on June 13, 2026 at 11:38 am

    The literal prefixes are a part of the core language, much like the suffixes:

    'a'    // type: char
    L'a'   // type: wchar_t
    
    "a"    // type: char[2]
    L"a"   // type: wchar_t[2]
    U"a"   // type: char32_t[2]
    
    1      // type: int
    1U     // type: unsigned int
    
    0.5    // type: double
    0.5f   // type: float
    0.5L   // type: long double
    

    Note that wchar_t has nothing to do with Unicode. Here is an extended rant of mine on the topic.

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

Sidebar

Related Questions

I understand that 2 options are available: Non-persistent Persistent But what does this actually
I still cannot understand what does it mean to return an object in a
I'm just trying to understand how does non-blocking recvfrom works? I'm writing an application
I have the following code and I can't understand what does it mean: var1
Does anybody understand how the walker class in Wordpress works? What is it? How
I'm struggling to understand what precisely does it mean when a value has type
Not sure I fully understand what phpmyadmin does. I created a database in phpmyadmin,
I understand that the browser does all the work in processing client side scripts
I understand that shared memory on GPU does not persist across different kernels. However,
I understand that the AntiForgeryToken feature in ASP.NET MVC does prevent cross-site attacks. However,

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.