User profile: Thomas1965

User info
User name:Thomas1965
Name:Thomas
Location:Buckinghamshire, UK
Bio:In case someone is interested.

I am a hobby programmer.
I started learning programming in the early nineties with Turbo Pascal and Turbo C++ under MS DOS.
Ten or so years later I started Windows programming with Delphi. When the free Delphi versions were discontinued I moved to .NET and learned C#.
Currently I am refreshing my C++ skills.
Statistical data
Birthdate:Sep 24, 1965
Gender:Male
Occupation:Other
Skills:C
C++
Pascal
Delphi
C#
C#/.NET
History
Joined:
Number of posts:3949
Latest posts:

Advice
Here are some other methodes: http://insanecoding.blogspot.com/2011/11/how-to-read-in-file-in-c.html

debug assertion failed
Your for loop is wrong. 1 < 10 will always be true. main should return an int. Your buffer is too sm...

Fibonacci number
I guess it's just an exercise for recursion. An iterative approach would probably faster.

Simple access violation example.
Please do yourself a favor and forget about pointers and also try to avoid global variables. The gam...

Fibonacci number
The original code is correct for numbers from 0 to 20. https://en.wikipedia.org/wiki/Fibonacci_numbe...