Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Adding a C Source File

$
0
0

The following topic applies to Eclipse* for C/C++.

To add a source file to the hello_world project:

  1. Select the hello_world project in the Project Explorer view.

  2. Select File> New> Source File. The New Source File dialog box opens.

    The dialog box automatically populates the source folder for the source file to be created. You can change this by entering a new location or selecting Browse.

  3. Enter hello_world.c in the Source File field.

  4. Select a Template from the drop-down list or Configure a new template.
  5. Click Finish to add the file to the hello_world project.

  6. In the Editor view, add your code for hello_world.c.

  7. When your code is complete, Save your file.

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>