User profile: jlb

User info
User name:jlb
Number of posts:986
Latest posts:

logic explanation requested.
What do you expect "x" to equal? Remember there are no fractions when using integer math.

Improving the code
[quote] What does IDE mean?[/quote] Integrated Development Environment. In this case Dev-C++ . I'm ...

Improving the code
[quote]Am I right?[/quote] Yes. [quote]Yes, I'm using g++. How and where do I use it?[/quote] How a...

Improving the code
[quote]How should I pass the file to a function? I mean, what should I write between the () ?[/quote...

Where is the file?
An fstream will not create a file if it doesn't exist when using the default open modes. If you want...