User profile: Peter87

User info
User name:Peter87
Number of posts:5706
Latest posts:

If you use a typedef it's easier to change the type, because you only need to change the code in one...

Having trouble with else if codes
= is used for assignment. == is used for comparison.

pthreads newby issues
When 11 is executed it will read the value of i from main, but you don't know when this will happen ...

reference operator
What giblit says. It's to avoid copying the string unnecessarily.

File I/O - stream fail state
What's the content of BILLDATA.TXT? Maybe it fails already at line 76-77?

This user does not accept Private Messages

User: Peter87

  • Public profile