repl.it
@TheEggoCat/

dailyc++coding#1

C++

a pyramid class using cyan coding's pyramid generator, props to him.

fork
loading
Files
  • main.cpp
  • Draw.cpp
  • Draw.h
main.cpp
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <string>
#include "Draw.h"
using namespace std;
int main() {
  Draw pyramid1;
  pyramid1.DrawP(10);
  cout << pyramid1.getDP() << endl;
  return 0;
}
Fetching token
?