Login  Register

Re: Guys is c++ hard to learn

Posted by R. van Twisk on Feb 04, 2012; 6:40pm
URL: https://forum.librecad.org/Guys-is-c-hard-to-learn-tp5456434p5456663.html

Clive,

see my comments below..
On Feb 4, 2012, at 12:08 PM, cave [via LibreCAD] wrote:

Hi Guys

I know you developers are using c++ for this project. I`ve never done any coding ever! Is it hard to learn guys?

Basic c++ is very easy to learn, take this for example:

i=i++;  (increase i by one)

there you go! Your first simple c++ line of code. Of course, there is much more to it,
mainly the objected oriented programming style where some knowledge about
the difference between objects and classes, what methods and virtual functions are
and more.

If you have a mindset that things in steps (do this, then that, call this… do that= then it's fairly easy to get going.

Most important with anything you want to learn. You need to have a goal, don't do it
because somebody else is doing it. Do it because you want to reach something.

In the beginning your goals need to be simple. Start with writing a simple Hello World program
and make sure you understand compiling and running your hello world. 
If you want to jump straight into Qt (the framework LibreCAD uses for the UI and more),
then this is also a excellent way to start. if you download QTCreator and the Qt SDK
then it will contain a ton of examples from simple Hello world programs
to complicated OpenGL examples.



I don`t expect to learn over night, but if I was willing to learn a bit  - do you think that maybe in a year or 2 years I may have enough "basic"knowledge?

In a coupld of weeks you will have basic knowledge, in a couple of Months you will beable to write
your own code. Given that you will play and study with it 30mins to a hour a day.


Also where do I start?


See Above, Hello World qith QTCreator!

Also do you have to be really good at maths etc.?


Depending on what you are planning, not really. Most of LibreCAD doesn't releally need
expert math knowledge, however some areas do. Dli is our Math expert and he has done
a amazing job with ellipses.

All comments (be honest guys) are most welcome.

I am always honest… but see above :)


regards

Clive


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Guys-is-c-hard-to-learn-tp5456434p5456434.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML