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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:12:21+00:00 2026-05-26T00:12:21+00:00

I know most compilers allow both: #include <stdio.h> and #include <cstdio> But someone argued

  • 0

I know most compilers allow both:

#include <stdio.h>

and

#include <cstdio>

But someone argued that <stdio.h> is not actually C++ standard. Is that true?

  • 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-26T00:12:21+00:00Added an answer on May 26, 2026 at 12:12 am

    stdio.h is standard, but deprecated. Always prefer cstdio in C++.

    [n3290: C.3.1/1]: For compatibility with the Standard C library, the
    C++ standard library provides the 18 C headers (D.5), but their use is
    deprecated in C++.

    [n3290: D.5/3]: [ Example: The header <cstdlib> assuredly
    provides its declarations and definitions within the namespace std. It
    may also provide these names within the global namespace. The header
    <stdlib.h> assuredly provides the same declarations and definitions
    within the global namespace, much as in the C Standard. It may also
    provide these names within the namespace std.
    —end example ]

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

Sidebar

Related Questions

I know that most people have DirectX9-capable cards but is it really necessary to
I know that most links should be left up to the end-user to decide
I know that most people recommend using HttpRuntime.Cache because it has more flexibility... etc.
I know this is most-likely a simple question but when you restore a database
I'm interested in compilers, interpreters and languages. What is the most interesting, but forgotten
I know that compilers have much freedom in implementing std::type_info functions' behavior. I'm thinking
Python is the language I know the most, and strangely I still don't know
As most should know close() also closes any streams uses. This allows the follow
I think most people know how to do this via the GUI (right click
I know jQuery does most when it comes to cross-browser issues. I just wanted

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.