Search:

Type: Posts; User: AQWst

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    6,085

    I guess I was looking at the code too long and...

    I guess I was looking at the code too long and missed that line 31 was missing a ";"..thanks for all your help!
  2. Replies
    10
    Views
    6,085

    Header File Questions

    I added the code suggested in the previous post to my exiting code...see below:





    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <cstdio>
  3. Replies
    10
    Views
    6,085

    Well, is there any hope for my code, or do you...

    Well, is there any hope for my code, or do you have a different approach that I can take to get this to work?
  4. Replies
    10
    Views
    6,085

    Header File Question(s)

    Here is a sample of the program:




    #include <time.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string>
    #include <iostream>
  5. Replies
    10
    Views
    6,085

    Header File Question(s)

    I am trying to use the ideas presented to me in a posting that was posted last night, but the ideas are not working. I will include my program so that it can be reviewed here to see what I may be...
  6. Replies
    10
    Views
    6,085

    Header File Question(s)

    I would like to include the time.h header file to be able to get the system date and time to appear on some menus I am creating, but it doesn't seem to include the features I want, (I am using the...
  7. Replies
    2
    Views
    1,432

    Extracting System Date and Time

    I checked through the FAQ and didn't find a method to retrieve the system date and time. I would like to show these items on a menu formatted as follows:
    i.e. date in MM/DD/YYYY
    time...
  8. Replies
    2
    Views
    996

    Menu Creation Question(s)

    I am in the process of creating a series of menus for a program I am writing. I have the Menu_Opt field defined as:

    Char Menu_Opt[4];
    This way I can support a three character option and the...
  9. Replies
    27
    Views
    2,688

    Program Looping Problem

    FYI, the program worked with all of the lines of code I added prior to adding the logic to read the *.csv file. This is the logic I added to hopefully remove the constants I have set up for each of...
  10. Replies
    27
    Views
    2,688

    I have the program compile down to two errors...

    I have the program compile down to two errors now. They are:




    c:\dev-c_~1\examples\curren~1.cpp:663: `::ios_base' undeclared (first use here)
    c:\dev-c_~1\examples\curren~1.cpp:663: parse...
  11. Replies
    27
    Views
    2,688

    Program Looping Problem

    Here is a *zipped version of my program. I hope that this helps. Just as a reminder, I am using Dev-C++ version 4 as my compiler.
  12. Replies
    27
    Views
    2,688

    Program Looping Problem

    This didn't work, do you have any suggestions? Should I include the program as a *.zipped attachment? If I do send it that way, do I need the code tags for this file too?
  13. Replies
    27
    Views
    2,688

    Program Looping Problem

    The errors I get are as follows:



    c:\dev-c_~1\examples\curren~1.cpp:663: `::ios_base' undeclared (first use here)
    c:\dev-c_~1\examples\curren~1.cpp:663: parse error before `::'...
  14. Replies
    9
    Views
    13,021

    I can vouch for the system("cls") command. I...

    I can vouch for the system("cls") command. I have it in one of my programs and it works great on Windows XP.
  15. Replies
    27
    Views
    2,688

    I editted my program portion of the message. Can...

    I editted my program portion of the message. Can someone please help me with it? I am not sure what is wrong. I think I have everything the way that was entered by LuckY's response.
  16. Replies
    27
    Views
    2,688

    Program Looping Problem

    The code is as follows:



    float Curr_Conv_Factor; /* Individual currency conversion factor read from
    file to be used to fill the array */
    float...
  17. Replies
    27
    Views
    2,688

    I have the code just like LuckY has listed above,...

    I have the code just like LuckY has listed above, but I have several errors now. Should I provide a list of the errors for further help?
  18. Replies
    27
    Views
    2,688

    Program Looping Problem

    I changed the Curr_Conv_Factor to int like you suggested and recompiled and ran it. I still get only the first record read. I am new to this, this is why I am not sure why I have the problem.
  19. Replies
    27
    Views
    2,688

    Program Looping Problem

    Thanks for the help about the code tags. I am including 48 records from my *.csv file or two rows worth.
    ...
  20. Replies
    27
    Views
    2,688

    Program Looping Problem

    I am using Dev-C++ 4. I see that my code is still not conforming to the standards of using code tags, sorry about that!
  21. Replies
    27
    Views
    2,688

    Program Looping Problem

    I wrote a simple routine to read and load values from my currency exchange rates.csv file, but it appears to keep reading the first record. Because of this, my check for EOF never gets satisfied. ...
  22. Replies
    5
    Views
    6,706

    I looked at this answer and am still a bit...

    I looked at this answer and am still a bit confused. I am including 48 records below as sample data.

    ...
  23. Replies
    5
    Views
    6,706

    Reading a *.csv file into an array

    I would like to read in a *.csv file into an array defined as 24 x 24, but not sure how to do it. The name of the file is Currency Exchange Rates.csv. Can I use the file using this name, or should...
  24. Replies
    4
    Views
    3,112

    Clear Screen Routine

    I guess I should have checked there first. Thanks for your help.
  25. Replies
    4
    Views
    3,112

    CLear Screen Routine

    I have created a function to clear my screen in between displaying various menus within a program. I am not sure how to have the cursor position back at the top of the screen for displaying the next...
Results 1 to 25 of 42
Page 1 of 2 1 2