View Full Version : c problems
jasong
09-12-2006, 07:06 PM
Maybe it's because I'm learning from a book written in 1993:bang: but I can't find something in the c compiler I have that existed as something very basic in the book.
Are you guys familiar with the header file,"stdio.h"? It was, and maybe is, the basic input/output function in C. Well the Windows c writer/compiler I downloaded doesn't even seem to be aware of it's existence.
I don't want to have to buy a new book unless I absolutely have to, but I am very confused right now.
Considering 'C' hasn't actually changed since then, the book will still be up to date. (Kernaghan & Ritchie is still the best book for learning 'C' IMO and it's older than that)
1st of all, do you know the fundamentals of programming ? i.e. any other structured languages?
What exactly are you saying here?
I'm presuming you have got a
#include <path-to>/stdio.h
with a suitable <path-to> if necessary ?
Bok
jasong
09-12-2006, 10:12 PM
Considering 'C' hasn't actually changed since then, the book will still be up to date. (Kernaghan & Ritchie is still the best book for learning 'C' IMO and it's older than that)
1st of all, do you know the fundamentals of programming ? i.e. any other structured languages?
What exactly are you saying here?
I'm presuming you have got a
#include <path-to>/stdio.h
with a suitable <path-to> if necessary ?
Bok
My problem is that when I did a search on the Microsoft compiler to make sure stdio.h was still doing what the book said, and was still actually there, it reported that it couldn't find it.
Admittedly I'd been using the program less than 5 minutes when I discovered this, but if a search for a basic file doesn't work, what could the search engine actually be for?
5 mins and then you post.. spend a little more time on the program first.....
Believe me I do mostly troubleshooting for a living on any and all platforms/databases/languages. You never learn anything unless you are willing to put some time into. Finding the answer to something yourself means it sticks in your mind much easier in the future.
Microsoft, so this is VC++ ?? That's the only 'C' compiler I know that they do?
Did you not get the mingw package ?
Bok
CaptainMooseInc
09-12-2006, 10:57 PM
I've got a program called Game Programming 3.0 that I've never used. It uses a slightly older version of C++, not sure which. But it'll teach you a lot about programming. I was gonna use it to help make a Tribes 2 mod and learn a bit about C++ but never did. If you want it I can mail it to you. You just pay postage. I don't think I've taken it out of the box more than once. Oh and it might come with a book too...
-Jeff
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.