Search:

Type: Posts; User: Taikon

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,302

    Bad Habbit? (variable management)

    Ive noticed over the last several programs Ive written for skill building that I have certain tendencies when managing data within a program.

    The biggest one that seems like a horrible habbit is...
  2. Thread: Suggestions

    by Taikon
    Replies
    1
    Views
    1,398

    Suggestions

    Im looking for an intermediate and advanced C book thats setup textbook style, but Im not quite sure what company or author has the better book that might show the more accepted way for things like...
  3. Replies
    2
    Views
    1,313

    So C by itself or by standard has no provision...

    So C by itself or by standard has no provision for templated code?

    In the class Im about to finish on C, they didn't get very far but it LOOKS like about 40% or better of the operations from...
  4. Replies
    2
    Views
    1,313

    Visual C++ 6.0 Compiler

    I keep having strange error messages show up at wierd times. The code looks more or less fine and I know some of the errors are true errors but some don't look right or look like they are caused by...
  5. Thread: fflush(stdin)

    by Taikon
    Replies
    3
    Views
    2,029

    #include int main(void) { int...

    #include <stdio.h>

    int main(void)
    {
    int ch;
    char buf[BUFSIZ];

    puts("Flushing input");

    while ((ch = getchar()) != '\n' && ch != EOF);
  6. Thread: fflush(stdin)

    by Taikon
    Replies
    3
    Views
    2,029

    fflush(stdin)

    I am as I said before studying C as a student and I keep hearing fflush(stdin) is wrong. I think I understand why and I have found posts explaining why fflush(stdin) is wrong. The instructor is the...
  7. Thread: Code Questions

    by Taikon
    Replies
    8
    Views
    2,327

    Sorry about bumping this but the question is...

    Sorry about bumping this but the question is along the same line and the program code already posted is a good example.

    The question is about the structures and the variables Ive stored in them. ...
  8. Replies
    3
    Views
    2,052

    Im using visual c++ 6.0 I have visual studio .net...

    Im using visual c++ 6.0 I have visual studio .net but I really hate the interface. The only reason Im using that compiler is no 1. Even though I like linux I can freely admit while I am pretty good...
  9. Replies
    3
    Views
    2,052

    C Code with VB Gui

    I realize this is kind of pointless as far as the way Im doing it since I could easily make the program all in vb and it be just as effective but I figure its a good learning exercise.

    I am...
  10. Thread: Code Questions

    by Taikon
    Replies
    8
    Views
    2,327

    I just realized that I didnt post the changes and...

    I just realized that I didnt post the changes and as far as the output I lined it up in notepad in windows. The first line throws it off because part of the project reqs are that the authors name...
  11. Thread: Code Questions

    by Taikon
    Replies
    8
    Views
    2,327

    This is the bad version. Im not sure (or else I...

    This is the bad version. Im not sure (or else I wouldnt be asking) but I think it has something to do with scope or the way I am passing the structures. I messed up last night and accidentally...
  12. Thread: Code Questions

    by Taikon
    Replies
    8
    Views
    2,327

    Code Questions

    I have 2 different versions of code for a simple program. One version works and with minor changes after comparing line for line the two different version only have about 4 different lines. I have...
  13. Replies
    2
    Views
    1,773

    several beginner questions...

    First question:

    I am wondering if there is a way to loop through structures. I can see how this might be bad form and an even worse way to make a reliable program but its more out of curiosity...
  14. Replies
    5
    Views
    1,309

    works now. I thought I tried that earlier I...

    works now. I thought I tried that earlier I guess I didnt.

    Thanks.
  15. Replies
    5
    Views
    1,309

    as far as the print function //structure...

    as far as the print function



    //structure to hold the customer information
    struct Customer {
    char CustLastName[10];
    float PreviousBalance;
    float Credits;
    float Charges;
  16. Replies
    5
    Views
    1,309

    Formating output

    Im writing a program and I need to print the output...this isnt the problem. The problem is that its an account information style printout using floating point numbers. When I align the output...
Results 1 to 16 of 17