Hi everyone, I see that Visual Studio 2008 Pro has the ability to auto-format code. Does anyone know if there''s a way to auto-format pre-ansi C code to ANSI C? I couldn''t find anything, but there''s so many options in VS I wasn''t sure. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Hi, 2008/12/2 Berger, Daniel <Daniel.Berger at qwest.com>:> Hi everyone, > > I see that Visual Studio 2008 Pro has the ability to auto-format code. > Does anyone know if there''s a way to auto-format pre-ansi C code to ANSI > C? I couldn''t find anything, but there''s so many options in VS I wasn''t > sure. >I doubt VS can convert pre-ansi C to ANSI c. But protoize can do it. protoize is an optional part of GCC Refer to http://gcc.gnu.org/onlinedocs/gcc/Running-Protoize.html Regards, Park Heesob
On Mon, Dec 1, 2008 at 9:59 PM, Heesob Park <phasis at gmail.com> wrote:> Hi, > > 2008/12/2 Berger, Daniel <Daniel.Berger at qwest.com>: >> Hi everyone, >> >> I see that Visual Studio 2008 Pro has the ability to auto-format code. >> Does anyone know if there''s a way to auto-format pre-ansi C code to ANSI >> C? I couldn''t find anything, but there''s so many options in VS I wasn''t >> sure. >> > I doubt VS can convert pre-ansi C to ANSI c. > > But protoize can do it. > > protoize is an optional part of GCC > > Refer to http://gcc.gnu.org/onlinedocs/gcc/Running-Protoize.htmlInteresting, thanks. Regards, Dan