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...
Type: Posts; User: Han
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...
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...
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
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...
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...
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...
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...
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...
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...