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
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.
ソースコード
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
}
オリジナルのコメント (3)
Wayback Machineから復元