Search results

  1. H

    How do I write a C program to draw an equilateral triangle of any height n?

    The code I used below generated 2 errors C2440: '=' : cannot convert from 'void *' to 'char *' which I can't debug #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_LINE_LEN 80 const char symbol = '*'; const char space = ' '; char line[MAX_LINE_LEN]; void...
Back
Top