Nearly finished on this program! Cant wait to say its actually done! Been my life for the last week ( and yours too ).
Type: Posts; User: SDH
Nearly finished on this program! Cant wait to say its actually done! Been my life for the last week ( and yours too ).
Thank you very much AndiPersti. I have now got it work properly. Hopefully this will be my last post. :)
Ok, that was what another user suggested. I am new to programming.
This line means if array[i] is N, then count1[N]++ I believe.
I am pretty sure that I have got the code right and made the amendments that you suggested.
#include<stdio.h>
void main(void)
{
int search, c, n, count = 0, number,...
The program is working now but for reason will only recognise a,b,c. Anything after c it will not work out. Any ideas? Something to do with the array again?
Thanks for all your help.
I have no tried to get it to work but with characters. I am once again having problems.
Here is my code,
#include<stdio.h>
void main(void)
{
int search, c, n, count = 0, number,...
Thank you very much, I knew it was something simply just could not spot it myself. Thanks
Adak - I have tried to compile that but for some reason it wont work :s.
Says there is an error on line 25. : In function 'main': Line 25 ERROR: subscripted value is neither array nor pointer ...
Here is the code that I am trying to work on.
#include<stdio.h>
int main(void)
{
int array[100], search, c, n, count = 0, number, count1[100];
printf("Enter the number of...
I have done that using
for ( nu = 0; nu <10 ; nu++) because I am only inputting values of one to ten into the program. I have go it succesfully find which number are in the input but when I would...
Thanks for looking at my thread. I have successfully made a code that with search for mutliplies.
But I am now trying to modify it so that I dont have to tell it which numbers to search for. I...