<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
----- Message d'origine ----- <br>
De : Louis <br>
Date : 03/11/2009 21:35:
<blockquote cite="mid:004001ca5cc5$36e41370$a4ac3a50$@de" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US">Hi everyone.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I try to parse a ascii
delimited file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I try to use fscanf I get
this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-->a=fscanf(‘data.csv',
'%s;%s');<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> !--error 999 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">msprintf: Wrong number of
input arguments:
data doesn't fit with format.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">at line 51 of function
sscanf called
by : <br>
.../...<br>
</span></p>
</div>
</blockquote>
May you attach the first lines of your data.csv, please ?<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>