User forums > General (but related to Code::Blocks)
Code::Blocks or Dev-C++ in C Language courses
sethjackson:
--- Quote from: yop on November 25, 2005, 07:05:05 pm ---[offtopic]
You had programming classes in high school ?!? :shock: I took my first official programming class in the university, in highschool we didn't even have computer labs... I used to beg a cousin of mine to let me use (errrr destroy) his computer. Those were the times...
[/offtopic]
--- End quote ---
I don't think this was intended for me but I reply anyways. :) No I don't have programming in high-school, but I am teaching myself how. :) Started when I was 13 or so.:)
Flichtschein:
--- Quote from: Takeshi Miya on November 25, 2005, 08:06:54 pm ---
--- Quote from: Flichtschein on November 25, 2005, 03:27:48 pm ---¡Del Otto Krause! Yo soy de la otra cuadra, de la facultad de Ingeniería... Ahora doy clase en el terciario de ORT.
--- End quote ---
Sí, pasé miles de veces por la facultad de Ingeniería de Paseo Colón. :D
El terciario de la ORT es el que está en frente del Nichia Gakuin o ese es el secundario?
Yo estudié Electrónica en el Krause, y ahora estoy estudiando para Ciencias de la Computación en la UBA.
That is the one. El terciario uses at night the same building that the secondary school uses during the day.
--- Quote from: Michael on November 25, 2005, 04:50:59 pm ---My suggestion, Fernando, is instead to teach pure C, to teach the C subset of C++ (see http://www.research.att.com/~bs/bs_faq.html#prerequisite). IMHO this would be better and also give the student an intro of C++.
--- End quote ---
C++ is not used for programming microcontrollers (for the first courses) because it's more abstract than C.
C is more low-level and closer to Assembly, which is better when you have to interface hardware directly.
--- Quote from: yop on November 25, 2005, 07:05:05 pm ---You had programming classes in high school ?!? :shock: I took my first official programming class in the university, in highschool we didn't even have computer labs...
--- End quote ---
Yep, I had C and Assembly programming classes in high school, but because my high school degree/career was Electronics. :D
--- End quote ---
Flichtschein:
This has grown to quite a thread. I appreciate all the recommendations I received and I will try to use them as far as it is practical during the next term.
I switched from Borland to Dev-C++ because the interface was more up to date and it resembles more the one from Keil C which is used during the following semester.
The "fun" part is hard to implement because for students it means animations, graphics, controlling devices, etc for which they haven't yet built the necessary skills.
I miss the help facility in Borland, but I guess I will find the way to do this in this forum.
I could also use better documentation regarding Win32 functions, or libraries with which I could turn bits in the parallel port on and off.
Best regards,
Fernando
NeoHippo:
Hi, everybody
If I may input my 2 cents worth ...
My schooling was pre-computer age and therefore I am still struggling with the subject of programming.
However, during a lengthy stint at a now defunct sawmill machinery manufacturer, I had to teach myself the programming aspects of 8080 assembly programming. The only way I could accomplish this task was by seeing (literally) what was happening as I wrote and ran some assembly routines. Book learning and the antiseptic environment of classroom training only, simply did not inspire me at all. So I hooked up my cpu-board to switches for inputs and all kinds of lights and motors for outputs. I guess, nowadays, one would call this approach goal oriented. Since then, I have found that this works well with the younger generation as well.
While there is no longer a record of my previous endeavours, I have come across this little movie clip, which demonstrates well what the end result could be like. If one sets a particular goal, which everybody finds interesting, learning becomes so much more enjoyable. :D
takeshimiya:
--- Quote from: Flichtschein on November 27, 2005, 08:39:23 pm ---I miss the help facility in Borland, but I guess I will find the way to do this in this forum.
--- End quote ---
Documentation of what do you want? The C language? A library?
--- Quote from: Flichtschein on November 27, 2005, 08:39:23 pm ---I could also use better documentation regarding Win32 functions, or libraries with which I could turn bits in the parallel port on and off.
--- End quote ---
It's not good to call Win32 functions directly to access the parallel port, because they are different between Win9X and Windows 2000/XP.
It is advised to use instead a library like inpout32.dll: http://www.logix4u.net/inpout32.htm
I don't know any multiplatform library to access the parallel port, so your students can write the exactly same code to access it regardless what OS is their favorite (Windows, Linux, Mac OS, etc). Anyone knows here?
But I do know a multiplatform library to access the serial port (in any case you need it), and it's easy to use. It's called wxCTB, you can find it here: https://sourceforge.net/project/showfiles.php?group_id=51305&package_id=45182&release_id=347488
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version