我已经写了一个python程序来将数字从任何正整数基数转换为另一个。 print("Base Converter")
from math import log
print("This converter uses 0-9, followed by A-Z, followed by a-z, giving it individual characters from 0 - 61.")
prin
宣言: class base{
public:
base(){a=0;}
base(int a);
int getA();
virtual ~base() ;
protected:
int a ;
};
//
class derived : public base {
public:
derived(){}
deri
所以如果我正确理解C++和对数。像这样的东西应该给我基础,我正在寻找? 我有一些问题,但认为这种方式是一个正确的开始。 #include <iostream>
using namespace std;
int main(void)
{
int x = 2;
int y = 64;
int value = log x (y);
cout << valu
嘿家伙,我想实现这样的 class Program
{
static void Main(string[] args)
{
Responsible responsible = new Responsible()
{
//I want here to populate with PopulatePerson the base member