Search:

Type: Posts; User: Todd

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,305

    reading values from a line of text

    I've got a line of txt
    EHRAUFE10235869496XXX 0938593863005003002049964006

    and I have to read in only certain pieces of it.
    this is what I've got so far.
    int main()
    {
    char engine[5];
    char...
  2. Thread: Help

    by Todd
    Replies
    4
    Views
    1,028

    Thats the problem Shade I don't really understand...

    Thats the problem Shade I don't really understand the the problem either. If its k+2 is it still a char because it started out as char ?
  3. Thread: Help

    by Todd
    Replies
    4
    Views
    1,028

    ok bunny I'll change my tiltle, thanks for all...

    ok bunny I'll change my tiltle, thanks for all your help!!
  4. Thread: Help

    by Todd
    Replies
    4
    Views
    1,028

    Help

    I've got an exercise due that make no sence to me can someone please explain this to me.

    The assignment says given the following definition statement

    char k, *p, n[3], **q, *x[4];

    What is...
  5. Replies
    7
    Views
    3,527

    None of this works I've tried them all in the...

    None of this works I've tried them all in the same file but it still gives me linker errors . Its finding all the files but it just won't link them?
  6. Replies
    7
    Views
    3,527

    If I moved them both into the exe directory how...

    If I moved them both into the exe directory how would I tell main to look for it there?
  7. Replies
    7
    Views
    3,527

    OK its straight out of the book Just trying to...

    OK its straight out of the book Just trying to get it to work
    //DateType.h
    //--------------------------------------------------------------------------------
    class DateType
    {
    public:
    void...
  8. Replies
    7
    Views
    3,527

    Class files (.h and .cpp

    Ok I must be missing something. I'm trying to make a simple class and I keep getting linker errors. I made the .h file and put it in include ( I'm using Borland 5) the .cpp I just put in a folder. I...
  9. Thread: Help

    by Todd
    Replies
    4
    Views
    1,056

    Thanks for the help I ran the for loops to strlen...

    Thanks for the help I ran the for loops to strlen and zero'd out the test array after each pass through the while loop.
    It works like a champ
    Again thanks for the info
  10. Thread: Almost there

    by Todd
    Replies
    2
    Views
    978

    Almost there

    Ok I seem to have all the loops in place and somewhat working
    and I found in other threads good info on actually checking to see if its a palindrome. But what is wrong with this loop?
    ...
  11. Thread: Help

    by Todd
    Replies
    4
    Views
    1,056

    Help

    Hi
    I'm pretty new to programming and I'm having a hard time with this assingment. The details are,
    Read in each line and determine if it is a palindrome(same word if reversed ie "dad".
    The file...
Results 1 to 11 of 11