Search:

Type: Posts; User: dr0be

Search: Search took 0.01 seconds.

  1. Replies
    23
    Views
    2,861

    If I could hug you right now, I would. Thank you...

    If I could hug you right now, I would. Thank you so much, was starting to feel hopeless.
  2. Replies
    23
    Views
    2,861

    Well any idea what im doing wrong when declaring...

    Well any idea what im doing wrong when declaring variables from that file?
  3. Replies
    23
    Views
    2,861

    I can make the data file look however I want,...

    I can make the data file look however I want, what are fields usually written with? quotes? what are they usually seperated by? commas?
  4. Replies
    23
    Views
    2,861

    Nah, its defiantly not that. Its assigning...

    Nah, its defiantly not that. Its assigning variables weird from the file. I know this because when I print the values they were assigned to Im getting weird values.

    Heres my cars.dat file where...
  5. Replies
    23
    Views
    2,861

    Alright, changed it to 4, and I still get no...

    Alright, changed it to 4, and I still get no errors but program crashes when I execute. I got to be doing something wrong with the file or assigning the string values. Heres my current code at the...
  6. Replies
    23
    Views
    2,861

    Alright, well I changed the scan and print to %s...

    Alright, well I changed the scan and print to %s and the things just crashing again, this is so irritating.
  7. Replies
    23
    Views
    2,861

    Well I was trying to have this... fscanf(fp,...

    Well I was trying to have this...

    fscanf(fp, "%c", &fName[i]);
    Assign fName[0] to be 'John'

    Then this...

    printf("%c", fName[0]);
    Would print it, but it doesnt seem to be working.
  8. Replies
    23
    Views
    2,861

    I am using Microsoft Visual C++ 6.0, so I'm not...

    I am using Microsoft Visual C++ 6.0, so I'm not really sure where to turn on warning, id search for it, but something happened with the MSDN when I installed it and I do not have the CD (back at...
  9. Replies
    23
    Views
    2,861

    Alright, well I changed all my fscanf's with &'s,...

    Alright, well I changed all my fscanf's with &'s, since I forgot them, but the program is still crashing.


    *EDIT* All the program needs to do is read a .dat file, assign variables to the data,...
  10. Replies
    23
    Views
    2,861

    I have no clue what any of that foo.c: things...

    I have no clue what any of that foo.c: things are, what did I do wrong when calling fscanf function?
  11. Replies
    23
    Views
    2,861

    Reading File Issue

    I'm pretty lost when it comes to reading/writing, I've paid attention in my class, read multiple online tutorials, and the book and I can't figure it out. I tried to do this assignment, but it just...
  12. Replies
    2
    Views
    1,096

    Link would be perfect :) thanks

    Link would be perfect :) thanks
  13. Replies
    2
    Views
    1,096

    Help with writing/reading files

    Normally I would just asked for some help with my C class homework, but I truly have no idea how to write or read into files.

    this is the assignment

    I have no clue where to start because last...
  14. Thread: Program Troubles

    by dr0be
    Replies
    7
    Views
    1,346

    Bump. Can anyone help me with cls function? Need...

    Bump. Can anyone help me with cls function? Need to know how to clear screen.
  15. Thread: Program Troubles

    by dr0be
    Replies
    7
    Views
    1,346

    Changed just that line and the program went from...

    Changed just that line and the program went from not printing anything to completely working, thank you very much. My teacher said that in the reports you have to stop the program, then you hit enter...
  16. Thread: Program Troubles

    by dr0be
    Replies
    7
    Views
    1,346

    Yeah thats what it is suppose to do, is that C...

    Yeah thats what it is suppose to do, is that C code or pseudocode, or something else? I've never seen a for statement written like that.

    My main problem is though is that my program is outputting...
  17. Thread: Program Troubles

    by dr0be
    Replies
    7
    Views
    1,346

    Program Troubles

    Im trying to make this program for class that compares to array that represent stock values on different days. The arrays are these two below...



    float stock1[ ] =
    {34.25,40.50,36.50,40.00,...
  18. Replies
    4
    Views
    1,566

    Well, I know in VS6.0 all you have to do is hit...

    Well, I know in VS6.0 all you have to do is hit new, save as, and type file name and put .cpp and it saves it as a cpp and thats all we had to do.

    How exactly would I do that in VS2005?
  19. Replies
    4
    Views
    1,566

    VS6.0/VS2005 w/ Vista Problems

    I dont really have a problem, by problem I mean question (its late, tired). Anyways...

    Im currently taking a C class and we use Visual Studio 6.0. Currently I installed Windows Vista, and the...
Results 1 to 19 of 20