I am mostly looking for ellegant ways at reading in data from files and parsing out the useful data.
I soetimes use fgets to read in the beginning of a line, test to see if it has the indicator that the line contains the info I need, and then fscanf in the data I want from the remainder of the...
actually, I have little to no interest in C++. I went through one of those C++ books a couple years back, and went with objc instead. Of course, I am primarily a mac programmer, so ObjC makes a lot of sense for me.
So I am still looking for a nice treatise on string handling methodologies and...
I am looking for tips and tricks that can be done with bit operators. The kochan book clearly shows how to perform the bit operations, just gives no reasoning behind why they exist or when I would ever use them.
rob
I came to this forum for the first time yesterday looking for help with what seems to have been a compiler bug. Having received great help, I have decided to stick around here for a little while and join the community.
In the mean time, I was wondering if anyone had any good reccomendations on...
I actually have access to all of the MS developer tools for free through the MSDN-AA and my university. Despite this, I am going with Pelles for now, as I really like their editor. Thanks for checking this out in the VC++Express though.
I have VC++ 2005 just in case though.
rob
I did those things. The error happens at the scnf line.
I appreciate your help, but I have given up. I tried running the code in Xcode in OS X and it ran fine. I decided it was something about VSP or the project file not the code that was the problem. I rebuilt the project from scratch, and...
I have the latest service pack.
It happens in release mode, maybe in debug mode too, I'll try it if you wnat. The exact error:
Runtime Error
FILENAME
Debug Error!
and this is in release mode.
rob
sorry about the code thing. I'm new here.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_scanf_width_specification.asp
clearly shows the l modifier with f for reading a double.
I am not reaching the end of the file.
Any other guesses?
I really like Objective C a lot, and I used Kochans book to learn it. I liked his book so much, I bought his C book to add to my library.
I have also taught Myself C++ in 24 hours. I prefer ObjC to C from an aethetic point of view. I compile with GCC as well.
rob
I am tryting to write a program in Visual Studio Pro 6.0, in C, and when I run it I get a urntime error: Debug Error!
when I originally had a loop after the scanf loop to print out the values that were read in, everything looked fine. I removed the printf and get the error, put the printf back...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.