Re: Why I like C++
-
I personally do not really like C++, I have tried it before but the syntax is just way too difficult for me to remember. If Visual Studio would make a better Help Box for it I might consider using it because of it's performance. But, I guess it's just like learning something completely new; Hard, but pays off. But, I still have a question for the people who are experienced in C++: How did you learn it ? And did you code in another coding language before C++ ? I have coded in C# for two years, and java for a year and when I step over to C++ to even make a 'Hello World' program I already quit since it's hard to remember the capitalization. -Yvar
Yvar Birx wrote:
I have coded in C# for two years, and java for a year and when I step over to C++ to even make a 'Hello World' program I already quit since it's hard to remember the capitalization.
How are you finding C++ capitalisation hard if you already know C# and Java? I learned C++ back in the 90s after many years as a C developer. The hardest part was making the leap from procedural to OO code, and a lot of my early attempts were cringe worthy, but if you keep trying and reading, you soon get to grips with the nuances. Read other peoples code. Analyse it, but don't rely on it as being an example of perfect code - work out for yourself what works and what doesn't - that way, you'll develop your own coding style and reasons for what works. The things you'll find hardest, coming from managed languages, is having to remember to delete objects; and pointers. Initially, pointers will seem like voodoo to you, but stick with it - once you play around with them for a while, it soon starts to come together. I've recently started to get back into C++, and have been reading this[^] book. If you know C#, it's the perfect book to kickstart your understanding of the newest flavour of C++.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Cobol C on DOS (Borland and Watcom compilers) C with Win32 C++ with mfc (I don't recommend learning c++ via mfc) Lots more c++
_Josh_ wrote:
Cobol
C on DOS (Borland and Watcom compilers)
C with Win32
C++ with mfc (I don't recommend learning c++ via mfc)
Lots more c++I see you're still thinking with your doodle.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
Cobol C on DOS (Borland and Watcom compilers) C with Win32 C++ with mfc (I don't recommend learning c++ via mfc) Lots more c++
I am not sure if you are serious or trying to be funny. My language order is same as you. Cobol is my 1st language in a computer diploma course though I do not remember its syntax. Cobol is damn boring. I learn C on DOS using Borland in my electronic diploma course. I self-taught myself C with Win32 using a game programming book more than 10 years ago. Later, I also self-taught myself C++ and MFC when I wanted to switch field.
-
_Josh_ wrote:
Cobol
C on DOS (Borland and Watcom compilers)
C with Win32
C++ with mfc (I don't recommend learning c++ via mfc)
Lots more c++I see you're still thinking with your doodle.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
I am not sure if you are serious or trying to be funny. My language order is same as you. Cobol is my 1st language in a computer diploma course though I do not remember its syntax. Cobol is damn boring. I learn C on DOS using Borland in my electronic diploma course. I self-taught myself C with Win32 using a game programming book more than 10 years ago. Later, I also self-taught myself C++ and MFC when I wanted to switch field.
Cobol was the first language learnt at school and at the same time I worked part time for a car yard which had a Data General MV computer and used cobol. C++ is much more fun but I think the win32-MFC route is a tough learning curve. For the last 8 years I've done c++ on linux which has been another learning curve.
-
"How did you learn it?" I haven't used C++ for some years but it was my main development language for about 10 years. My first serious program in C++ was a compiler and run time for a programming language I had designed - I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows. I can't say I found it too difficult - it was my first OO language but once I got the hang of that the translation from SPL to C++ was relatively simple.
RugbyLeague wrote:
I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows.
PL/1 was the first programming language that I learned not many people even know about it.
VS2010/Atmel Studio 6.0 ToDo Manager Extension
Version 3.0 now available. There is no place like 127.0.0.1 -
RugbyLeague wrote:
I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows.
PL/1 was the first programming language that I learned not many people even know about it.
VS2010/Atmel Studio 6.0 ToDo Manager Extension
Version 3.0 now available. There is no place like 127.0.0.1I rather liked it. It was better than COBOL and FORTRAN IV which I was using previously - the only book I could find about it at the time was, weirdly, a FORTRAN to PL/1 primer - which was exactly what I needed. Prime wrote quite a bit of the Primos operating system in various PL/1 sub sets - SPL and PLP (IIRC)
-
I rather liked it. It was better than COBOL and FORTRAN IV which I was using previously - the only book I could find about it at the time was, weirdly, a FORTRAN to PL/1 primer - which was exactly what I needed. Prime wrote quite a bit of the Primos operating system in various PL/1 sub sets - SPL and PLP (IIRC)
I hated Cobol because it was a biz language and wordy and didn't care for Fortran because I wasn't a mathematician but the next class I had we learned Pascal and I liked the structure.
VS2010/Atmel Studio 6.0 ToDo Manager Extension
Version 3.0 now available. There is no place like 127.0.0.1 -
I hated Cobol because it was a biz language and wordy and didn't care for Fortran because I wasn't a mathematician but the next class I had we learned Pascal and I liked the structure.
VS2010/Atmel Studio 6.0 ToDo Manager Extension
Version 3.0 now available. There is no place like 127.0.0.1I didn't mind COBOL and FORTRAN at the time because it was all I knew and the languages mandated by the business. I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.
-
I didn't mind COBOL and FORTRAN at the time because it was all I knew and the languages mandated by the business. I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.
Don't remember much about PL/1 never used it outside of the one class I had learning it.
RugbyLeague wrote:
I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.
Using what's available and improving to suit needs, there's nothing wrong with that.
VS2010/Atmel Studio 6.0 ToDo Manager Extension
Version 3.0 now available. There is no place like 127.0.0.1