Search:

Type: Posts; User: DocDroopy

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    949

    Thanks

    Thanks guys that what I was looking for. I have been offline for a bit, and am trying to get myself back up to speed with C. I was reading a book that was talking about ref and val (reference and...
  2. Replies
    5
    Views
    949

    Quick Question (I hope)

    Can someone explain the difference between ref and val? I think I am getting them mixed up when I am trying to use them, and was hoping someone might be able to clear this up for me. Any help is...
  3. Replies
    1
    Views
    982

    Simple Question I Think

    I am trying to expand my reference library for C, and was currious if I could get some input from those you who are actually good at this, as to what you feel are some of the better reference books I...
  4. Replies
    3
    Views
    3,530

    OK

    Well that explains why it was not working...If it wont work that way, then I will never get it to work, will I.

    Thanks guys. To me it seemed like such a simple way to check the input (of course...
  5. Replies
    3
    Views
    3,530

    Correct use of isdigit

    I am trying to check to ensure the user entered a number instead of a character for this program. I was thinking of using isalpha and saying if that isalpha is true then tell user and end. But I have...
  6. Replies
    11
    Views
    2,449

    OK, add the if

    Thanks moi, I have added an if, and corrected the problem with if defaulting to that isalpha option. I also thought I set the is option to run if it is true by adding !=0 after each variable in the...
  7. Replies
    11
    Views
    2,449

    Something new added

    OK I have my first bit of error checking working, I can ensure users are no entering numbers that are to high for a clock. But I am trying to also ensure they do not enter data that is a letter. I...
  8. Replies
    11
    Views
    2,449

    Thanks

    I swear I would forget my head if I did not keep it attached most days. Well this is why I keep practicing, so perhaps I will get to a point to remember this kind of stuff.

    Thanks guys I...
  9. Replies
    11
    Views
    2,449

    Well my current code is: #include...

    Well my current code is:



    #include <stdio.h>
    #include <stdlib.h>

    int main (void)
    {
    typedef struct
  10. Replies
    11
    Views
    2,449

    Checking parts of a structure

    I am wondering is it possable to check what the values of a structure are with if statements? I have a strcuture that has three different values in it, and I would like to check each one individually...
  11. Replies
    9
    Views
    1,566

    Never meant for you to.

    Never meant for you to fix my syntax errors such as the semicolon, that was entirely my fault while editing the code before posting I got a little delete happy (sorry about that). Sorry if I did not...
  12. Replies
    9
    Views
    1,566

    OK I am slow

    LOL in th eprocess of typing I get more help, thanks guys, I will look this over.

    As always I do greatly appreciate the help.
    DD
  13. Replies
    9
    Views
    1,566

    Actually I get a lot less compile errors: they...

    Actually I get a lot less compile errors:

    they are


    C:\test.c(17) : error C2065: 'totTime' : undeclared identifier
    C:\test.c(37) : error C2146: syntax error : missing ';' before identifier...
  14. Replies
    9
    Views
    1,566

    Structure and Function

    OK, each time I think I am starting to get it, I add something new, and get even more lost then before. I am trying to write a small program call a function that allows the user to enter a start time...
  15. Replies
    4
    Views
    1,434

    Doh!!!!!

    Thanks again.

    I was doing it one way changed my mind and changed the variable. Can't believe I did not catch that. Somedays I am sure that the light I see ahead is a train rushing towards me. :) ...
  16. Replies
    4
    Views
    1,434

    Almost there... At least I think.

    Hammer, thanks for the guidance. For some reason I just did not think the copy would work like that.

    Anyway, I am almost there. I am getting my file to be read, and the data is being writen to...
  17. Replies
    4
    Views
    1,434

    File I/O Question

    Greetings all,

    I am trying to figure out a way to open file1 read the data from it, then write that data to file2, but I need the data in a different format when written to file2 (this is why I...
  18. Replies
    7
    Views
    969

    Thanks

    Got it finally. I typoed somewhere along the line, so just had to sit there and walk though each line about five times before I saw the typo. Learning is a slow and painful process, but at least I...
  19. Replies
    7
    Views
    969

    Almost there

    OK makes sense. And thanks for pointing out that I missed writting to large the first time, I had not noticed that. Opps.

    But Even by making corrections and trying either way you suggested, I am...
  20. Replies
    7
    Views
    969

    Makes sense, by adding (i) I am able to take into...

    Makes sense, by adding (i) I am able to take into account the other part of the table. But when I print Large, I am getting the bad data (I think the address and not the actual number). If I try to...
  21. Replies
    7
    Views
    969

    Doing a search

    I am trying to search an array that the user inputs to determine the largest number entered. The Array is entered no problem, but I am having problems with my search.

    What I have is a table...
  22. Thread: Question

    by DocDroopy
    Replies
    3
    Views
    995

    Thanks

    Thanks guys that got me on the right track for now at least :) And I think I see some light up ahead, I just hope it is not an oncomming train ;)

    As always I appreciate the help, guidance and...
  23. Thread: Question

    by DocDroopy
    Replies
    3
    Views
    995

    Question

    I have a menu program but want to change it from using numbers to using Characters. I think I understand most of what I need to change. But and confused on the error checking and exactly what I would...
  24. Replies
    12
    Views
    1,294

    Another Question

    Thanks for pointing me in the right direction. I have got it working like I need to now. But I do have another question.

    Dog- You used


    srand((unsigned)time(NULL));


    is this a better seed...
  25. Replies
    12
    Views
    1,294

    array question

    How would you fill an array with random numbers? Then just to complicate it a little, how would you make any of those numbers that are divisable by nine to be negative? Any help in getting me moving...
Results 1 to 25 of 32
Page 1 of 2 1 2