Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Implementation of sscanf (http://www.go4expert.com/forums/implementation-of-sscanf-t3982/)

tonmoy80 22Apr2007 07:30

Implementation of sscanf
 
Hi experts,

The C library supports sscanf() function. But I need to implement this function of my own.
So, I need the source code / implementation of sscanf() function.

Anybody can help me to implement the sscanf() or any source code that fully implemented sscanf.

It would be better to get source code rather than to implement by own.

Thnx
Tonmoy

DaWei 22Apr2007 07:42

Re: Implementation of sscanf
 
Of course it is always better to get your work done for you than to bust your ***. If you can do that, you will be rich at the expense of your more skilled peers.

Read carefully the contract with the world that sscanf has. Duplicate that. You will probably get a good grade. The alternative is to hire it done, but ZERO is a very low bid.

shabbir 22Apr2007 08:00

Re: Implementation of sscanf
 
As I see sscanf, it has one good options of variable number of arguments.

I have already written one article OutputDebugString with variable number of arguments which tells you how to go about doing with the variable number of arguments. You can take help of this function to see how to get the arguments in the functions as well as substitute them at the needed place.

tonmoy80 22Apr2007 10:14

Re: Implementation of sscanf
 
Dear DaWei,

Thanks for your reply.
I could not understand what you mean by the statement:
Quote:

Read carefully the contract with the world that sscanf has. Duplicate that. You will probably get a good grade. The alternative is to hire it done, but ZERO is a very low bid.
Could you pls make it clear to me?
From Where Can I get the source code of sscanf()? I need it very very urgent.......
Pls help.

Best regards
Tonmoy


All times are GMT +5.5. The time now is 17:40.