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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:41:01+00:00 2026-06-08T02:41:01+00:00

What _ means? Why Microsoft adds this mark at the beginning?

  • 0

What “_” means? Why Microsoft adds this mark at the beginning?

  • 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-08T02:41:03+00:00Added an answer on June 8, 2026 at 2:41 am

    Identifiers in the global namespace starting with _ are reserved for the implementation. _snprintf is just a function that the implementation (Visual Studio) has provided. As to the rationale for that, Visual Studio implements C89, and snprintf is part of a later C99 standard.

    Besides that, the semantics of both functions are different in the return type, which in snprintf is always the number of characters that the formatted string takes (whether there was enough space in the buffer or not, while _snprintf will return a negative number if there is not enough space in the buffer.

    That is, to allocate a buffer just large enough for the output you can do:

    int size = snprintf( 0, 0, "%s %d\n", str, i );
    char * buffer = malloc( size+1 );
    snprintf( buffer, size+1, "%s %d\n", str, i );
    

    You cannot do that with _snprintf as the only information that the function yields back is that the current size is not enough.

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

Sidebar

Related Questions

According to this: http://msdn.microsoft.com/en-us/library/ms811053.aspx reading from a remote queue means invoking a RPC call.
alt text http://i.msdn.microsoft.com/sdk15ce5.pubmethod(en-us,VS.90).gif method. alt text http://i.msdn.microsoft.com/sdk15ce5.CFW(en-us,VS.90).gif what does this mean? alt text http://i.msdn.microsoft.com/t69yczb0.static(en-us,VS.90).gif
Protected Means, we can access this member only in a deriving class, and internal
What does conform to means in IPhone Development? This word is extensively used but
Does anyone know what this means? I am getting this error in my CI
I don't know what this means, but with this bit of XAML in my
Check this xaml: <Window x:Class=MainWindow xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:sys=clr-namespace:System;assembly=mscorlib Width=300> <ListBox HorizontalContentAlignment=Stretch Grid.IsSharedSizeScope=True> <ListBox.ItemsSource> <x:Array
I am using the code template from Microsoft at this site with this snippet
I'm working with ExtJs on IE9.. and i almost always get this error.. Microsoft
I have been working through Microsoft's ASP.NET MVC tutorials, ending up at this page

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.