cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to read mixed format txt file in C++
How to read mixed format txt file in C++
Dec 12, 2011 at 4:21pm UTC
game
(28)
Hey! Hope you had very nice time during last vacations!
I have a problem in C++ to read a text file of a format:
vertex 1 2 3
vertex 2 3 4
vertex 23 4 5
.
.
.
segment 3 4 5
radius 4
I want to read this file and make some calculation and write a file! So i have three strings (vertex, segment, radius) in my txt file. How I could do that!
Any help will be appreciated!
Last edited on
Jan 4, 2012 at 11:38pm UTC
Dec 12, 2011 at 5:30pm UTC
webJose
(2948)
I don't know the process of triangulation, so I can only give you this:
http://en.wikipedia.org/wiki/Triangulation
. Go from there.
Topic archived. No new replies allowed.