Though there are many good texts for learning C basics I found, as many others have, that pointers cause more problems and are hard to get right. Though it is old, 1997, this is the best book on C...
Type: Posts; User: jvh24521
Though there are many good texts for learning C basics I found, as many others have, that pointers cause more problems and are hard to get right. Though it is old, 1997, this is the best book on C...
Thanks folks.
Duh me, I knew better. Must be the rabies vaccine.
Figured there would be syntax errors and typos as I just typed it up in notepad.
Thanks, again.
Oops, no return statement in main(). Just threw this together in notepad....
The snippet below (or similar) compiles and runs OK but I am using Visual Studio C++ compiler. Are the lines where .nameFirst and .nameLast assigned kosher in ANSI C?
Also I am concerned about the...
's OK. 'Twas a point that need to be made more often IMO.
jh
[QUOTE=anduril462;1119715]A few things first:
It's int main(void) and return an int at the end (usually 0). Read this link.
Embedded, nowhere to return to.
Please copy/paste your code as...
thanks for the reference
jvh
I have used a function call to iniatialize a static const variable and a co-worker says it is not legit.
My sparring partner says it would not even be legit if I remove the const because he...