Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The initial efforts of all participants in the newyears thread, and comparison and validation of the results produced by the three different approaches to the problem, have led us to agreement that we have indeed found a complete set of solutions. At least complete within the bounds of our combined ability to imagine and test generating expressions to this point!
Knowing what a complete solution set looks like, we have each shifted emphasis from the generating code, to a more critical...
Member Beryllos who originally opened the thread discovered that some solutions were missed (and possibly other invalid solutions included) as a result of math errors intrinsic to floating point math. They very correctly identified integer math, math using only integer fractions, as the necessary solution. In the face of some...
Posted 01-04-2019 at 07:43 PM byastrogeek Updated 02-22-2019 at 04:41 PM byastrogeek(Reorganizing categories)
NOTE: See updates at bottom of this post - last 1/5/19
Way back around new year's day during the winter of '19 (remember that kiddies?), LQ member Beryllos posted a New Year Puzzle and programming challenge in the Programming forum.
The goal of the puzzle is to generate as many whole numbers as possible between 0 and 100 using only the digits of the year, 2,0,1 and 9 in simple constant arithmetic expressions such as 9 * (10 - 2).
For most of the past year I have encouraged others to make use of their LQ blog space as a place to post and manage code for their personal projects and interests which they wish to share with others.
Posting to our LQ blog space allows us to share our code and ideas without the posting constraints that apply within the question oriented fora, and also allows us to update, alter and extend that information over time without corrupting the logical development, or train of thought so...
This file provides a description of the source files and of the major features and purpose of the template project.
Code:
Flex/Bison project skeleton template
This set of files consists of:
README - This file
Makefile Simple makefile for building project files
Defines multiple targets, see file for details
fbproject.l Flex scanner
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.