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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:29:17+00:00 2026-05-13T19:29:17+00:00

For a project at university I need to extend an existing C application, which

  • 0

For a project at university I need to extend an existing C application, which shall in the end run on a wide variety of commercial and non-commercial unix systems (FreeBSD, Solaris, AIX, etc.).

Which things do I have to consider when I want to write a C program which is most portable?

  • 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-13T19:29:17+00:00Added an answer on May 13, 2026 at 7:29 pm

    The best advice I can give, is to move to a different platform every day, testing as you go.
    This will make the platform differences stick out like a sore thumb, and teach you the portability issues at the same time.

    Saving the cross platform testing for the end, will lead to failure.

    That aside

    • Integer sizes can vary.
    • floating point numbers might be represented differently.
    • integers can have different endianism.
    • Compilation options can vary.
    • include file names can vary.
    • bit field implementations will vary.

    It is generally a good idea to set your compiler warning level up as high as possible,
    to see the sorts of things the compiler can complain about.

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

Sidebar

Related Questions

I need to program a form application for a university project. The application has
For this university project I'm doing (for which I've made a couple of posts
I have a university project which is already 99% completed. It consists of two
I'm writing a C University project and stumbled upon a compiler behavior which I
I'm developing a small POS for a university project. I have a form which
I need to write a program (a project for university) that solves (approx) an
As part of an upcoming project at my university, I need to write a
I'm currently working on a project for my university. One thing I need to
I need to crawl a few websites for a university project and I have
i've got a university project where i need to develop a peer to peer

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.