Start With Windows
Demonstrates how you can write to the system registry startup key and allow your application to automatically load when windows does.
AI
AI Summary: 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.
Source Code
#include <iostream>
#include <math.h>
using namespace std;
void main(){
int val,i,j,x;
char p[100];
cout<<"Enter binary:";cin>>p;
val=0;
x=2;
j=0;
for(i = char_traits<char>::length(p)-1;i > -1;i--){
x =pow(2,j);
switch(p[i]){
case '0':
x = 0;
break;
case '1':
x = x;
break;
default:
goto out;
break;
}
val += x;
j++;
}
cout<<val<<endln;
out:
return;
}
Upload
Original Comments (3)
Recovered from Wayback Machine