User profile: AbstractionAnon

User info
User name:AbstractionAnon
History
Joined:
Number of posts:6068
Latest posts:

how the standard and run-time library works
[quote]I'm a bit confused about the differences between the standard and the run-time library in c (...

Too many arguements
Line 6: Your function prototype for average() says it takes no parameters. Line 22: You call ave...

vector iterator error on code
cout can only output basic types or types which overload the >> operator. pos is of type: [code]std...

printing prime numbers
Line 39-42: You test count regardless of whether the iteration of the while loop produced a prime n...

Undefined behaviour with char arrays
This is an error on your part. You declared [code]char sid[2][/code] which allocates 2 character ...