Hello, It has been awhile since I have posted here since I have been horribly without computer for awhile now. Anyways, I was wondering if anybody knew where to find, or could make up, a lorem ipsum in C++. What I mean is that Lorem Ipsum makes a good filler text for websites and brochures, but what if you wanted filler C++ code instead? Does anybody know where I could find such a thing?
Labdabeta
182
Posting Pro in Training
Featured Poster
Recommended Answers
Jump to PostWhat is your intent for this? Usually, with C++ we use stubbed methods that return some meaningful, but not critical, value when called, so that the program can flow as indended. As for tools that do this, I am not aware of any, though they may exist.
Jump to PostFor that purpose, if it were me, I would probably just write a program that grabs the source files (or just headers) from either the standard library implementation (GCC) or some other open-source library like Boost, and grab random bits and pieces of it. Nothing is going to look better …
All 5 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Labdabeta
182
Posting Pro in Training
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.