FLTK logo

Re: [fltk.general] how can i declare & define Browser callback?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: how can i declare & define Browser callback? Preston Jun 19, 2021  
 

I'm sure they will! Thank you for the refs!
I never would have thought that Stroustrup's publications would discuss any libs except the C++ ones.

It's a general programming book that goes over the basics. Encapsulation, Polymorphism, RAII, Scope, Virtual Functions, OOP, Generic Programming, etc  (It just so happens to use C++, and FLTK for GUI)
It goes over how to write intermediate libraries to do basic things like, Buttons/Callbacks, Drawing shapes, Windows, Images/Jpegs.

I wouldn't use it to make programs, due to having to recompile to move a button 20 pixels to the left, or to resize it. I would use FLUID if starting a project today.
The biggest thing is it teaches you to try to program first (with good structure planned) and code second

I have written too much spaghetti code that is hard to build on top off instead of programming with structure at the beginning. 
It compiles and runs, but is not pretty or practical. 
He does good examples of what not to do, and why. (Like use Classes instead of Structs)

The book stands out in Two ways:
1) It has nice forward and backward chapter/concept references. (In chapter 12 it will reference a concept in 4.2 and list where it is to re-read if not fully understood. I went back to referenced chapters often)
2) The book has a large amount of supporting documentation
     https://www.stroustrup.com/programming_support.html 
     https://groups.google.com/g/ppp-public 
          They discuss the broken GUI.h code and fix it.
 
I want to start coding that people can actually build off of and use, and this is just my start. 
pk

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/fc135228-07d4-4e07-a525-2d4e421fb3fan%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.