Search:

Type: Posts; User: nimbus2506

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,319

    Ah thank you. I figured why start++ wasn't...

    Ah thank you. I figured why start++ wasn't working.

    I needed to make start a static char.

    Thank you anyway.
  2. Replies
    2
    Views
    1,319

    cout char is a number

    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...
  3. Replies
    3
    Views
    942

    Probably me trying to make this more complicated...

    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...
  4. Replies
    3
    Views
    942

    sonar like 2d array

    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
  5. Replies
    1
    Views
    1,711

    Factorial with decimals

    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...
  6. Replies
    8
    Views
    1,015

    Ah thank you. I kept ending up getting S And I...

    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 *.
  7. Replies
    8
    Views
    1,015

    pointers and strings

    #include <stdio.h>
    #include <string.h>

    #define MAX 4

    int main(){

    char str[2][MAX] ={"mom", "dog"};
    char *pch;
    char *pch1;
  8. Thread: strings

    by nimbus2506
    Replies
    1
    Views
    709

    strings

    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...
Results 1 to 8 of 8