How do you programm ATmega-µC with C or Assembler?
cf. http://www.henkessoft.de/Roboter/ASURO.htm
Type: Posts; User: Erhard Henkes
How do you programm ATmega-µC with C or Assembler?
cf. http://www.henkessoft.de/Roboter/ASURO.htm
http://www.henkessoft.de/C++/WinAPI/WinAPI%20Kapitel%201%20bis%206/api1.htm
No, I don't run this website. It is a live-online-elearning-board with a learnlinc server. You only need the client software and a headset. The current cost is 60 Euro per year (perhaps you can ask...
If anybody is interested in an interactive e-learning C++ course, here is an English one at www.machm-it.de
"Modern C++ and Basics of OO Programming"...
Sometimes such errors happen by deleting a pointer which should be valid further on.
This function works with pointers and changes array elements outside its scope. In big programs this is not desired. Perhaps you should use classes and references (C++ style).
Some people need...
http://www.henkessoft.de/WinAPI_7_GDI.htm
Look at the GDI-programs (script is in German). Perhaps they might help you understanding GDI.
WinExec(...)
e.g.:
::WinExec("calc.exe",SW_NORMAL);
Look at this:
#include <iostream>
#include <conio.h>
using namespace std;
void rekursion( int n )
{
if( n>1 )
C++:
#include <iostream>
void wait()
{
std::cin.clear();
// std::cin.ignore( std::cin.rdbuf()->in_avail() );
To my mind noobies with a C++ starter book do not need projects. They often use single xxx.cpp. With Dev-C++ this is just a snap. No project, just a new source file and compiling/linking/running. ...
I would recommend using Dev-C++ ( www.bloodshed.net ) because its easy. For C++ you don't need .Net. Dev-C++ regards C++ ISO (1998) standard.
Here is an easy example.
#include <iostream> ...
Perhaps this example helps you to get rid of WM_TIMER:
// time measurement
#include <iostream>
#include <ctime> // clock_t, clock(), ...
#include <conio.h>
#include <cmath>
using namespace...
It is really like a handle to the video memory. MS Windows cares for the interface between your programm and your video card.
example:
case WM_PAINT:
hdc = BeginPaint (hwnd, &ps);...