cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : Beginners : convert one .cpp file into three files?
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

post  convert one .cpp file into three files?

Sloaney (1)
hey guys i was wondering if i gave someone a C++ program i have written that was in .cpp format if they could help me to convert it into three files...

what i have is a "flexstring.cpp" which i need converted to a "flexstring.h", "flexstring.cpp" and "linkedlist.cpp"
(linkedlist containing the "main()" function)

i have already made a start on it but there are some things that i cannot get working...

if you would like to help please post and ill give you further details...

its for a uni assignment... i have made the program and its works fine but my lecturer said he wouldnt mark it unless its in those three files! i have spent about 5 hrs trying to convert it but have not been able to get it to work.. now i have 5hrs untill it needs to be handed in!

you can chat to me on MSN:
surfing_is_the_religion@hotmail.com

and i will send you the files i have....
its a uni assignment so i cant just post it everywhere ;)

any help is greatly appreciated

Cheers.
|
Umz (133)
It all depends on whats it the different files, not sure if you tried this or not but I would say attempt opening file in notepad, copying to another notepad file and saving it with a different file extension.
It will save them as different file types but it may not work.
|
helios (829)
Pfft...
I'll do it. I'll be easier to explain through MSN than through a forum.
|

This topic is archived - New replies not allowed.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us