Compiler Option?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Compiler Option?

  1. #1
    Join Date
    Jul 1999
    Posts
    13

    Compiler Option?

    In a real world environment where code changes hands between different developers and departments are programmers forced to write with the same compiler? I would think that could be the only way to exchange code.

    Has this been a problem for some of you in your first job?



  2. #2
    Join Date
    Aug 1999
    Location
    Dresden / Germany
    Posts
    51

    Re: Compiler Option?

    If you really want to exchange code between different systems use ANSI/POSIX C/C++.
    Every compiler should have a switch to force ANSI spell checking.
    If you use system dependent functions, wrap them like:

    // os_win32.cpp
    #include <windows.h>
    void os_sleep_sec( int sec) { Sleep( sec*1000); }



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center