Thanks a lot Adak, I will test this..
Thanks to all you guys, I am fully coherent on indenting and will use this in the future.
Cheers again.
Type: Posts; User: boom71uk
Thanks a lot Adak, I will test this..
Thanks to all you guys, I am fully coherent on indenting and will use this in the future.
Cheers again.
Thanks a lot Adak, I will test this..
Thanks to all you guys, I am fully coherent on indenting and will use this in the future.
Cheers again.
Cheers..
See I just 'post quick reply' and it posted twice. Just clicked once and didn't do anything else....No back button, nothing...
Adak, seriously mate I am not. I just leave the browser and then go to the main forum heading page.
OK here is my final attempt and my indented code, cheers for your help:
...
Adak, seriously mate I am not. I just leave the browser and then go to the main forum heading page.
OK here is my final attempt and my indented code, cheers for your help:
...
Thanks Quzah..
I will have a look at your feedback. There are matching numbers of the '}', one is just hidden..
Full list code is here, not sure why it was truncated in my past posts:
...
If anyone else can help, would be appreciated..
list function code also INDENTED..
void List(void)
{
If anyone else can help, would be appreciated..
list function code also INDENTED..
void List(void)
{
I did indent it....just whe it was copied and pasted, if i would have edited you, yes you would have complained about another two posts, ffs!
OK not sure why it is reposting my messages, checked all settings and seem fine?
Anyway I have worked quite a bit on my code overnight and have got 90% of it working, just wanted to ask some help...
OK not sure why it is reposting my messages, checked all settings and seem fine?
Anyway I have worked quite a bit on my code overnight and have got 90% of it working, just wanted to ask some help...
OK thanks dead planet, will do..
Just reading your post, thanks..
OK thanks dead planet, will do..
Just reading your post, thanks..
OK, here is my problem stripped down...
If anyone could help then it would be great..
These are my structures:
OK, here is my problem stripped down...
If anyone could help then it would be great..
These are my structures:
Parse error before, before STRUCT:
line 52 if(num== struct student list [count])
I am doing something wrong in this line compared to the original code:
the f='a' is after this bit of...
Parse error before, before STRUCT:
line 52 if(num== struct student list [count])
I am doing something wrong in this line compared to the original code:
the f='a' is after this bit of...
Thanks, I can now see that and have amended, however still same problem
Seems to be in this area of code / function:
void searchstudent()
{ int count;
char num,f;
Thanks, I can now see that and have amended, however still same problem
Seems to be in this area of code / function:
void searchstudent()
{ int count;
char num,f;
Hi guys,
I have a parse error, it maybe syntax or just some code is not right. Anybody help?
Here is the code:
I did try the second one but think I added an extra pair of brackets, your above one works great.
Thanks, appreciated..
Thanks...
Still not working even when I try the second one, will just have to plough on and do the calculation a different way rather than via a function.
Cheers anyway..
Either of the above work, I just cannot get the formula within the function:
return( 30 * (R1 / (R1 + R2)) - (Rx / (Rx + Rs)));
This above in my mind should do the same but it is not, unless i...
Hi,
A newbie here so go easy eh...
Just wanted a bit of advice on calculations and the hierarchy inside a function.
I am trying to get a program working that calculates the potential...