3 ms·
I tried Turbo C as an 8 year old and got as far as printf hello world and scanf. The pointer stuff seemed obtuse to me (coming from BASIC) and it was strange it
by wenc 3y ago
I tried Turbo C as an 8 year old and got as far as printf hello world and scanf. The pointer stuff seemed obtuse to me (coming from BASIC) and it was strange it didn’t have automatically sized string types (it was char[7] or something). In retrospect I should have gone the Turbo Pascal route as an 8 year old.
- codetrotter 3y agoWhen I was around 12 years old I convinced one of my parents to buy a little book about C++ for me. I read the first chapter with great interest and wrote variations of input and output things with pen and paper. Then I tried to follow the instructions on how to build and run a program on a computer. I managed to install the IDE they recommended; one called Bloodshed Dev-C++. I managed to type the code for hello world into the IDE, and I managed to compile the program. It produced an exe file that had a black terminal icon. I double clicked the exe and it opened and closed very quickly. It would only be several years later, when I started at the university, that this confusing interaction made sense to me. At the time I thought I had made some mistake and I didn’t understand what or why. But what happened of course was that the program started, printed its output and exited, and it all happened so fast that I just saw a window open and quickly close. Fortunately I did eventually get better introductions to programming. But that first experience was a bit unfortunate heh.
- ngcc_hk 3y agoI like turbo pascal and still run its bridge for fun. But I wonder if you go this route would it be a dead end, unlike c. Pascal is very strong that era. Apple use it a lot. Still. Not much pascal these days. For a reason.