Hello all.. I was thinking of making a useful tool for the community Im from.
I have studied C++ in my spare time.
I'm thinking of making a tool the reads a file and and rewrites it based on a users prefrence.
The file is a wrl file thats read by 3ds max,I understand the information in the file myself,and just need a way for my C++ program to look for a certain line in the file,but I'm not sure the absolute best method of this.
It's not hard at all.
Does this whole thing have to be in one line?
If yes, std::getline(file, string) until string until, when you cut the string at 9'th char, the first half is "Material". Then return the second half.
Though you should probably be using perl for text processing. It's not difficult to learn.
Though you should probably be using perl for text processing. It's not difficult to learn.
Aha I see a forum-er suggest language besides C++ in here. I agree also. Heavy text pattern processing are best done using scripting language like Perl, Python instead of C++.