Search found 19 matches

by afaik
Thu Jan 15, 2009 2:40 pm
Forum: Programming Discussion
Topic: Help with cin.get and eof
Replies: 9
Views: 1705

Re: Help with cin.get and eof

Thanks Marauder, I'm going to try tonight after classes to get it to work.
by afaik
Thu Jan 15, 2009 2:44 am
Forum: Programming Discussion
Topic: Help with cin.get and eof
Replies: 9
Views: 1705

Help with cin.get and eof

What I'm doing is very basic, but it's to familiarize myself with basic input/output. I'm using dev-c++ and when I input characters into the program below, for example 'asdf', it loops fine. If I enter 'asdf(ctrl-z)' for end of file, program will output the asdf, but wont display cout << "eof r...
by afaik
Sun Jun 29, 2008 1:47 pm
Forum: Programming Discussion
Topic: Need to input to certain amount of places
Replies: 0
Views: 1690

Need to input to certain amount of places

I need to find the cosine of a number. The problem is, when I use the cos function, I need to convert from degrees to radians and the number I receive isn't necessarily accurate when you do something like cos(90 * (pi/180) ) It will give you .32679e-006 which is: .00000032679. I only need the first ...
by afaik
Mon Jun 16, 2008 11:28 pm
Forum: Game Development
Topic: DC Programming Setup
Replies: 3
Views: 923

DC Programming Setup

Hi! I've been wanting to further my knowledge of programming and thought that it would be more enjoyable and possibly more productive to do it on the Dreamcast. Any thoughts and recommendations for a semi-noob like myself? I know it requires a little bit more work and equipment to get setup, but I w...