fn: stream.open 
					
								[contents]
				
								
				f++ :   
				
				n++ :   
								
				
								
				
								
				
								
				
								
				
								
				
								
				
								
				
								
							
						Contents
Syntax
									The syntax for 
name.open(path) stream.open(name, path)
@name.open(path) @stream.open(name, path)
Description
									The 
- the name of a variable of type ifstream ,fstream andofstream ; and
- the path to open
									Note: For large scale projects you will find specifying the 
f++ example
									Examples of 
ofstream ofs
ofs.open("output.txt")
write(ofs, "hello, world!")
ofs.close
				
ofstream ofs stream.open(ofs, "output.txt") write(ofs, "hello, world!") ofs.close
n++ example
									Examples of 
@ofstream ofs
@ofs.open("output.txt")
@write(ofs, "hello, world!")
@ofs.close
				
@ofstream ofs @stream.open(ofs, "output.txt") @write(ofs, "hello, world!") @ofs.close



![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)



