![]() |
|
#1
|
|||
|
|||
how to convert a file to GIFT formathey guyz what's up? i searched a lot on this topic but i juts can't seem to get it.
can any one tell me how to convert a .txt file to a GIFT format or convert a file GIFT format. what do you write in the program so the file is converted. please Thanks. |
|
#2
|
|||
|
|||
Re: how to convert a file to GIFT formatAre you talking about GID(Graphic Interchange Format) ?
GIF is 8 bits color. I hope this help. |
|
#3
|
|||
|
|||
Re: how to convert a file to GIFT formatno sorry. maybe my instruction from the file that i attached might help you to understand better because this is the first time i have even heard of this format.
|
|
#4
|
|||
|
|||
Re: how to convert a file to GIFT formatHi,
so your assignment is to convert a txt file to different format. (gift-file format is desribed in the doc you provided.) I don't know how much you have programmed before and how familiar you are with streams. So here is the program's structure described: Code:
BR, J-M |
|
#5
|
|||
|
|||
Re: how to convert a file to GIFT formatthanks bu ti got that part. this is so far i am able to do. i am able to take my file and write it on a different file name.
here's my code CPP / C++ / C Code:
|
|
#6
|
|||
|
|||
Re: how to convert a file to GIFT formatHi,
please use string instead of char array. string has c_str()-method which you can use with fstreams. GIFT format is exlained in the doc provided, first example shows that: Code:
Code:
Code:
Code:
When you parse line and convert it to GIFT format, in T/F questions you can find first letter of the line and from that search "." or "?", between them is the question and after that is the answer. |
|
#7
|
|||
|
|||
Re: how to convert a file to GIFT formatthanks i figured that out right after i posted my previous post.but thanks though
|
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| After execution - Error cannot locate /Skin File? | WSCH | C++ Forum | 1 | 05-Mar-2005 20:03 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
| CD Buring Failed | skanth2000 | Computer Hardware Forum | 1 | 15-Nov-2003 03:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The