Search:

Type: Posts; User: jvh24521

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    3,115

    My favortie C book

    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...
  2. Replies
    4
    Views
    738

    Thanks folks. Duh me, I knew better. Must be...

    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.
  3. Replies
    4
    Views
    738

    Oops, no return statement in main(). Just threw...

    Oops, no return statement in main(). Just threw this together in notepad....
  4. Replies
    4
    Views
    738

    dynamic allocation of string pointers

    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...
  5. Replies
    6
    Views
    1,868

    's OK. 'Twas a point that need to be made more...

    's OK. 'Twas a point that need to be made more often IMO.
    jh
  6. Replies
    6
    Views
    1,868

    [QUOTE=anduril462;1119715]A few things first: ...

    [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...
  7. Replies
    6
    Views
    1,868

    thanks for the reference jvh

    thanks for the reference
    jvh
  8. Replies
    6
    Views
    1,868

    Initialize a variable with a function call

    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...
Results 1 to 8 of 8