Advertisement
ASP_Volume3 Windows System Services #45652

CD Tray

Creates CD icon in the System Tray which the user clicks on to Open or Close the CD tray. Demonstrates Sys Tray icons , Windows function calls. Uses Class Modules for Object Oriented approach. Much Thanks to Pierre-Alain Vigeant for my (shameless) use of his CSysTrayIcon class. Cash funds for use of project appreciated but (sadly) not nessesary.

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Upload
#include <iostream.h>
#include <string.h>
int main()
{
	char *binary="111"; //this is 7 dec.
	int decimal=0;
		for (int i=0; i<strlen(binary); ++i)
	{
		decimal=decimal*2+(binary[i]=='1'?1:0);
	}
	cout << decimal <<endl;
	return 0;
	//improvement on previous code
}
Commenti originali (3)
Recuperato da Wayback Machine