Search:

Type: Posts; User: Han

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,362

    No prelude I completely agree with you in this...

    No prelude I completely agree with you in this case with the strings and integers as it is far easier, but the reason I am asking is because it is a specification that is required of me.
    And you are...
  2. Replies
    4
    Views
    1,362

    Max&Min values of a given array

    I have been using this function to calculate the maximum and minimum value of integers of a given array. However this code only prints the last integer that I put in. I think it is a problem with...
  3. Replies
    14
    Views
    1,238

    Thanks a lot guys for your help, eventually after...

    Thanks a lot guys for your help, eventually after fooling around with the code and moving things around I have managed to get the sum function to work.

    so thanks for your time most appreciated :D
  4. Replies
    14
    Views
    1,238

    ok sweet I got all those problems figured out but...

    ok sweet I got all those problems figured out but when I run the program I hit one integer and it terminates telling me that the sum of the numbers is zero.

    Is there something else in the code...
  5. Replies
    14
    Views
    1,238

    when I ran the code using isdigit I had to change...

    when I ran the code using isdigit I had to change a few things, because the unix system did not recognise it.

    bool quit=false is not recognised......(I just get an error stating that false has not...
  6. Replies
    4
    Views
    1,340

    could you say something like this: ...

    could you say something like this:

    while(std_array[z]!='\0'){
    for(z=0;sizeof(std_array);z++{
    total=atoi(std_array);
    sum=sum+total;
    }
    if(std_array[z]='\0' /*this represents the...
  7. Replies
    14
    Views
    1,238

    ok you can do that with integer arrays, but can...

    ok you can do that with integer arrays, but can you do this with character arrays.

    I like what you have done, but I am looking for something that uses just a loop statement preferably a while...
  8. Replies
    14
    Views
    1,238

    no I am not saying that there is anything wrong...

    no I am not saying that there is anything wrong with your code at all.......but I dont know how to apply it when working with an array of size unknown.


    the problem I am having is creating the...
  9. Replies
    4
    Views
    1,340

    Manipulation of character arrays

    I have been having trouble with using arrays of indefinite size.
    I havent had a problem I think creating an array of unknown size but I have had problems ending the program. I have noticed that...
Results 1 to 9 of 9