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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:06:14+00:00 2026-05-15T17:06:14+00:00

I have a C++ VS2010 project. I want it to be pure C, so

  • 0

I have a C++ VS2010 project. I want it to be pure C, so I will have a pure C library and a C++ file that will call that library.

  • Is it possible? Will I have be able to pass data from the C part to C++?
  • 1 1 Answer
  • 4 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-15T17:06:15+00:00Added an answer on May 15, 2026 at 5:06 pm

    Yes. See how to mix c and c++.

    Of course, you could (probably) just compile the c code with a c++ compiler and save yourself a headache.

    If you want to link object files compiled by a c compiler, you’ll need to use extern "C" { } to declare the functions, so that they aren’t name mangled by the C++ compiler.

    It really depends on how you want to build your project. If you’re more specific, you’ll get better answers.

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

Sidebar

Related Questions

I have a VS2010 project which is a windows application that acquires data from
I have added an external .exe file into my VS2010 setup project and I'd
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
I develop on VS2010 WPF on Window 7. I have a project that does
In a VS2010 C# project we have a class derived from a MarshalByRefObject and
If I want to create a project that is fairly basic (VS2010, C# &
I have VS2010 Ultimate and i want to create a Windows Azure Project However
I have recently installed VS 2008. Now I want to open my VS2010 project's
I have a class library that I created using the Class Library project template.
I am using a VS2010 database project, and want to be able to load:

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.