Skip to content

Instantly share code, notes, and snippets.

View fahadcprogramming's full-sized avatar

fahadcprogramming

View GitHub Profile
@fahadcprogramming
fahadcprogramming / tictactoemultiplayercplusplus.cpp
Last active December 12, 2019 21:59
C++ programming Tic Tac Toe game player vs player and player vs computer
#include<iostream>
#include<Windows.h>
#include<time.h>
#include<cstdlib>
#define BoardSize 5
char Player1Move = 'X';
char Player2Move = 'O';
int p1 = 1;
int p2 = 2;
void menu();
@fahadcprogramming
fahadcprogramming / .cpp
Last active November 1, 2017 16:55
Addition of pointers in c++ code
#include <iostream>
using namespace std;
int Sum(int *, int *);
float Sum1(int *,int *);
double Sum2(int *, int *);
int main()