Favorite part of C/C++

Aug 12, 2011 at 1:49am
I was just wondering what your favorite aspects of C or C++ are?
Aug 12, 2011 at 3:29am
For C the pointers feature never fail to amaze me by their power and destruction if not used properly

For C++, STL (aka Standard Template Library) is what I feel can bring C++ to mainstream success with other programming languages but their templatized code definition syntax still need some polishing to make it more comfortable for other programmers
Aug 12, 2011 at 7:22am
I second pointers. Direct access to my data (and functions) on the level of the individual byte is so useful, letting me run around my data freely and trusting me with it.
Aug 12, 2011 at 8:02am
For me, STL containers and the algorithms.
Aug 12, 2011 at 8:14am
Moschops wrote:
letting me run around my data freely and trusting me with it.


Hmmm... you may want to revise the above sentence once you got bitten real bad one fine day :P

manasij7479 wrote:
For me, STL containers and the algorithms.


How about C ?
Aug 12, 2011 at 8:22am
Hmmm... you may want to revise the above sentence once you got bitten real bad one fine day :P


That has happened many times and it will happen again; every time it would not have happened if I had been paying attention and designing the programme properly. It's a risk that I find well worth the benefits. Few things annoy me more in other languages than not being able to just reach out and grab my data.

Also, I like using assembly in the code.
Aug 12, 2011 at 8:58am
closed account (1vRz3TCk)
I think I'm like Moschops, I like its low level...ness. I like being able to see what is going on and affect it if needs be.
Aug 12, 2011 at 2:40pm
How about C ? 

The ability to use pointers to access array elements and structure members(by offset, I mean ).
Aug 14, 2011 at 9:34am
I like how i can access data with your program, such as reading BMPs, listening to WAVs and OGGs, making whatever you want, including games, apps with a GUI... Having learnt C/C++ means OWNING A PC. To me.
Aug 14, 2011 at 11:15am
closed account (967L1hU5)
cout & cin
Aug 14, 2011 at 11:23am
closed account (zb0S216C)
For me, it's the ability to control user-allocated resources, exceptions, functions, and its ability manipulate individual bits with bit-fields and bit-flags.

Wazzak
Aug 16, 2011 at 11:37am
The power of metaprogramming, and the fact that I continue learning a lot of things in the language after more than 3 year of exprerience.
Aug 16, 2011 at 8:40pm
templates - in general. Not just STL, but the ability to write your own template functions and classes.

The ability to write either Object oriented code with classes or to write legacy style c-code without classes.

The ability to control memory allocation and deallocation. I prefer control over the automated garbage collectors.
Aug 16, 2011 at 10:38pm
Flexibility.
Aug 16, 2011 at 11:05pm
I know this sounds silly but I like functions even though functions exist in other languages. I just like the idea that I can enter a variable and let the function do everything for me and then spit out a new value for the variable for me to use.
Topic archived. No new replies allowed.