| February 17, 2010 8:00 PM PST | |
When composing a post in the Intel Software Network forums, you may want to attach a file (such as source code or a project archive) to a post, or insert an image into the post. Here's how to do it.
You can also insert code using the code formatting tool - this is best for shorter codes. Longer ones should be added as attachments. The code formatting tool appears in the editor controls and looks like a yellow pencil:

Click on this and a window will appear. Select the language for your code, paste or type the code, then click Insert. When your post is submitted, the code will appear properly formatted for the selected language.
- Click on the Add Files button that appears above the edit window.
- All files need to be in a folder - this folder is an organization for your convenience and the folder structure is not visible to others. If you want to use a previously created folder, click on the folder name. Otherwise, enter a new folder name and click Create Folder. Then click on the newly created folder name.
- Click the Browse button and select the file you want to upload, then click Upload. If you had previously uploaded a file, click its name.
- You will be shown a screen that contains a URL for the file - you can use this URL in a link in your text. You can also attach the file to the post by clicking Add As Attachment, or, if it's a graphic, you can insert it inline in the post by clicking Add To Editor. The other fields in this window should be left unchanged.
You can also insert code using the code formatting tool - this is best for shorter codes. Longer ones should be added as attachments. The code formatting tool appears in the editor controls and looks like a yellow pencil:
Click on this and a window will appear. Select the language for your code, paste or type the code, then click Insert. When your post is submitted, the code will appear properly formatted for the selected language.
For more complete information about compiler optimizations, see our Optimization Notice.
