Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Open Question: How did you learn C++?
Re: Open Question: How did you learn C++? [message #19467 is a reply to message #19465] Fri, 05 December 2008 08:20 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Fully agree. I have a colleague that is working with C and I am helping him. I am helping him to enter in C++ in the areas that C++ is just a better C. For ejample:
- To let a function to change the value of some variables
-- In C you have to give a pointer
-- In C++ you can give simply references
As pointers is a problem for non experienced and experienced programmers in this case is much simpler to use references
- To group variables very related:
-- In C you use structs
-- In C++ you can also use classes
The class is just a better struct
In opposite to Java or C# you can do programs in C++ that really seem C

So, sorry Linus Torvalds ( http://thread.gmane.org/gmane.comp.version-control.git/57643 /focus=57918), I agree that in C you could do it right, but I think in C++ you could do it better.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Which Upp version do you use?
Next Topic: What would give a great push to Upp
Goto Forum:
  


Current Time: Thu Apr 25 09:36:20 CEST 2024

Total time taken to generate the page: 0.05607 seconds