How Do I begin to program in c without a microcontroller

How would i get started writing programs in C/C++ on the computer for free. I would like to be able to write simple games.

sort by: active | newest | oldest
1-10 of 22Next »
westfw9 years ago
Well, microsoft has their Free Visual C++ Express Edition

Borland (now "codegear"?) Has an older version of their compiler available for free as well.

And there are Many others

If your interest is mostly game making, rather than C/C++, there are also things like GameMaker and of course a wide variety of Basic and Java development environments.
westfw westfw9 years ago
(you might want to note that programming games in a windows environment is MUCH different than programming anything on a microcontroller.)
sotsirh194 (author)  westfw9 years ago
Well, the vast majority of a windows game would be setting up the graphical display and interface. But since you don't WANT that, there's quite a bit LESS of a difference.

For non-gui, text games running in a CMD window, your best bet might be the gnu C compiler running under cygwin, or mingw, or even gcw. There are probably others out there too, but a LOT of the easy-to-use windows packages are very focused on allowing the users to write windows-like GUI applications, rather than the non-gui stuff you're interested in (for instance, if you LIKE the arduino environment, there is "Processing", which is like an Arduino Grandparent.)
sotsirh194 (author)  westfw9 years ago
I want to start off slow to learn the code. If i wanted to be a programmer which would you recommend?
I dunno. I haven't been a beginner programmer in a long time, and I don't program much under windows, and things were a lot different back then. The whole idea of skipping the "visual" programming may be a bad idea, because that's where a lot of the "educational tools" are aimed. I don't know that there has EVER been an educational track aimed specifically at "embedded programming", or even "systems programming" - Apps have always been king, even when the "apps" were hard-core numeric processing. OTOH, most of the principles of programming can be learned either way... Pick something and dive in...
sotsirh194 (author)  westfw9 years ago
What exactly is visual programming? For apps what would i use?
In this case, I just mean things with a Graphical User Interface; windows and menus and stuff, as opposed to a text "Command Line Interface" that you interact with using only a keyboard. I think the "visual" programming aspect comes into play when you're writing the program - visual basic lets you set up what your program window is going to look like by dragging and dropping in assorted GUI elements (menus, buttons, sliders, etc.) It's quite possible to create GUI programs without a visual programming language (The Arduino environment looks like a good example), but it's pretty painful. OTOH, WITH the visual programming, you can set up the basic window and GUI pretty easilly ("visually") and concentrate on the actual program logic (if there IS any :-)
sotsirh194 (author)  westfw9 years ago
oh I thought that visual programming was like the Lego mindstorms, where you had to drag boxes that represented lines of code. Is microsoft visual c any Good? The game aspect looks good.
I dunno; I don't often write windows programs (hardly ever.) I used microsoft visual basic to write the app in this instructable, and found it pretty nice. And gamemake is quite good. My attempt to use visual C was not so successful, but I think thta was mostly me bouncing off my C preconceptions from other environments.
1-10 of 22Next »