Changeset 354 for doc/html/itfile.html

Show
Ignore:
Timestamp:
06/02/09 10:24:26 (15 years ago)
Author:
smidl
Message:

doc - oprava

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/itfile.html

    r353 r354  
    6262<div class="contents"> 
    6363<h1><a class="anchor" name="itfile">Writing and reading data from files </a></h1>Here we will use the <code>it_file</code> class to store some data. The program <code>write_it_file.cpp</code> looks as follows:<p> 
    64 <div class="fragment"><pre class="fragment"><span class="preprocessor">#include &lt;<a class="code" href="itcomm_8h.html" title="Include file for the IT++ communications module.">itpp/itcomm.h</a>&gt;</span> 
     64<div class="fragment"><pre class="fragment"><span class="preprocessor">#include &lt;itpp/itcomm.h&gt;</span> 
    6565 
    6666<span class="keyword">using namespace </span>itpp; 
     
    7272 
    7373  <span class="comment">// Open a file with the name "it_file_test.it"</span> 
    74   ff.<a class="code" href="classitpp_1_1it__file.html#549f27e6830fa68fc964041b79733168" title="Open a file for reading and writing.">open</a>(<span class="stringliteral">"it_file_test.it"</span>); 
     74  ff.open(<span class="stringliteral">"it_file_test.it"</span>); 
    7575 
    7676  <span class="comment">// Create some data to put into the file</span> 
    77   vec a = <a class="code" href="group__specmat.html#ge5632baa525e231b015f3d45f3503cac" title="Linspace (works in the same way as the matlab version).">linspace</a>(1, 20, 20); 
     77  vec a = linspace(1, 20, 20); 
    7878 
    7979  <span class="comment">// Put the variable a into the file. The Name("a") tells the file class</span> 
     
    105105a = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20] 
    106106</pre></div> </div> 
    107 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by&nbsp; 
     107<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:11:00 2009 for mixpp by&nbsp; 
    108108<a href="http://www.doxygen.org/index.html"> 
    109109<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>