User profile: coder777

User info
User name:coder777
Number of posts:5246
Latest posts:

Primary parameters before 'bool'
[quote]The construction if (weapon==true) is unnecessarily verbose.[/quote]And dangerous: What's the...

Compiler not working? Hangs on execute.
When your program is executing the compiler work is done. Hence it is (certainly) a problem in your ...

Scope of variables
The problem is that you read from the file ["contact.txt"] each time before you make changes, but yo...

stuck on program please help
I checked it and it worked as expected. Show your modified code please.

How to read text file line by line?
That doesn't make overly sense. The for loop (line 8) has no effect. Plus you read one line beyond t...