On 09.04.2013 16:56, aymen kaabi wrote: > but i use the library i used get_forecast function but no idea how can i > extract the predicted values >
Using the C-level library is certainly more difficult and less user-friendly -- after all, that's why the gretl-GUI and the scripting language hansl exist! Maybe you could explain why you need to do what you want to do at the C level. Even from a C program one alternative way to leverage gretl might be to write a batch file with gretl commands and call the gretl program on that. This would arguably be less professional than to include and use libgretl, but it would probably be more straightforward to implement. -sven