Ah thank you. I figured why start++ wasn't working.
I needed to make start a static char.
Thank you anyway.
Type: Posts; User: nimbus2506
Ah thank you. I figured why start++ wasn't working.
I needed to make start a static char.
Thank you anyway.
Hi all, I'm trying to print off a grid system in c++.
My problem is that whenever i try to add to the ascii number it prints off as a number instead of the letter/symbol
Here is a snippit of my...
Probably me trying to make this more complicated than it actually is.
I'm split it up because the top triangle will need to be subtracted by i compared to the bottom triangle that will need to be...
hi I'm trying to do trying to find the distance of a given point within a 2d array.
e.g
4 3 2 2 2 2
4 3 2 1 1 1
4 3 2 1 P 1
4 3 2 1 1 1
4 3 2 2 2 2
I'm trying to write a factorial for these numbers 1.1+2.2+3.3+4.4+5.5 to infinity.
I thought I'd try with one number and then using recursion to go to infinity.
However I seem to be having a...
Ah thank you. I kept ending up getting S
And I was wondering why I was only adding 4 to the ASCII numbers.
Thank you again.
I get confused when to put the *.
#include <stdio.h>
#include <string.h>
#define MAX 4
int main(){
char str[2][MAX] ={"mom", "dog"};
char *pch;
char *pch1;
Hello everyone. I'm looking to expand my knowledge about strings but I am stuck on a particular problem... I am hoping that by writing it down and trying to explain my problem I might be able to...