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

  • Home
  • SEARCH
  • 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 7434657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:55:46+00:00 2026-05-29T09:55:46+00:00

With VS 2010 Professional, I created a new C++ Project. In C# projects, I

  • 0

With VS 2010 Professional, I created a new C++ Project. In C# projects, I often used the feature “Go to definition” (or just pressed the F2 key) in the context menu after mark a specific line of code. I also want this same behavior/feature in C++ projects, but, unfortunately, in C++ projects, it doesn’t work. Both “Go to definition”, “Go to declaration”, and also “Go to Header File” don’t work. Nothing happens, no error message, nothing. What’s wrong?

Let’s say, I’ve for example the following line of code:

wstring str = L"blah";

There are neither warnings, nor messages from the compiler. Also printing str on the console works fine. So, all should be ok. If I now mark L (should be a macro or something like that?) and try to navigate to the declaration, definition or header file, nothing happens. Is that by default or is something wrong with VS?

  • 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-05-29T09:55:47+00:00Added an answer on May 29, 2026 at 9:55 am

    L is a prefix to ‘widen’ string literals.
    You get a const wchar_t* instead of just a const char* from an expression like that.
    It is not a macro, it is part of the language, like the suffix f for a float constant 1.333333f which denotes the precision.

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

Sidebar

Related Questions

Is it possible to connect Visual Studio 2010 Professional edition to TFS (project hosted
I am just wondering on what version of Visual Studio 2010 to install (Professional
In Visual Studio Professional 2010 whenever I type the following: new { It automatically
I recently noticed that Visual Studio 2010 (Professional) inserts a FileHeader automatically in new
Today, I installed Visual Studio 2010 Professional on a new laptop with a fresh
I have created a program in Visual Basic using Microsoft Visual Studio 2010 Professional.
i am using microsoft visual studio 2010 professional for my project and involves using
I've added a SQL Server 2008 database project to my Visual Studio 2010 Professional
Steps to Repro: Make a C# project in VS 2010 Professional on Windows 7
I'm talking about VS 2010 Professional/Ultimate RTM (not express versions). Google doesn't show much

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.