- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting started with Fortran in Visual Studio. I am doing this tutorial with several exercises. I opened a file (File > New > File), wrote a program but dont have the option to build it. Do I have to create a Project each time I want to write a program?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you use the Visual Studio interface, yes: it uses "solutions" and "projects" to organise the files. While that is convenient, if you have a more extensive program, for small programs of just a single source file or even a few source files I find that a significant overhead. But that is a matter of taste. For this situation I often use the command-line interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest using New Project rather than New File. Select Fortran Console Application > Sample Application. This gives you a template source file you can edit. To build, select Build > Build Solution.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page