Search:

Type: Posts; User: explosive

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    398
    Views
    185,863

    Ive downloaded it and im running it on my old...

    Ive downloaded it and im running it on my old win98 700Mhz box. Ill put it on my laptop as well later :)
  2. Replies
    9
    Views
    11,145

    Thanks that helped :)

    Thanks that helped :)
  3. Replies
    9
    Views
    11,145

    ive tried adding extra variables: int...

    ive tried adding extra variables:


    int test=0;
    int test2=0;
    int tel_wrong=0;
    int tel_wrong2=0;
    do
    {
    cout<<"Telephone Number: ";
  4. Replies
    9
    Views
    11,145

    Thanks, ive tried this: int test=0; int...

    Thanks,

    ive tried this:


    int test=0;
    int tel_wrong=0;
    do
    {
    cout<<"Telephone Number: ";
  5. Replies
    9
    Views
    11,145

    Validating 'phone number

    Im trying to loop through an array (held inside a structure) to see if it only contains 0,1,2,3,4,5,6,7,8,9 (or a space). This is to check it is a telephone number.


    do
    {
    cout<<"Telephone...
  6. Replies
    2
    Views
    1,058

    Thanks :)

    Thanks :)
  7. Replies
    2
    Views
    1,058

    MSVC++ 6 Compiler Error

    While trying to compile my program I get this error:




    any idea how to use '/Zm'?
  8. Replies
    10
    Views
    3,899

    thanks! that fixed it :D

    thanks! that fixed it :D
  9. Replies
    10
    Views
    3,899

    because some of the computers that I would need...

    because some of the computers that I would need to use it on have restrictions in place so I cannot install it.
  10. Replies
    10
    Views
    3,899

    struct tm time_str; struct tm time_str2; ...

    struct tm time_str;
    struct tm time_str2;
    long int diff = 0;
    time_str.tm_year = 2005-1900;
    time_str.tm_mon = 2-1;
    time_str.tm_mday = 4;

    time_str2.tm_year = 2005-1900;
    ...
  11. Replies
    10
    Views
    3,899

    the thing is I have 2 dates, for example: 17 2...

    the thing is I have 2 dates, for example: 17 2 2005 and 14 2 2005

    each part stored as individual int's. I dont see how difftime() can work for this?
  12. Replies
    10
    Views
    3,899

    ok, i guess im being very stupid here but, both...

    ok, i guess im being very stupid here but, both days will have the same number of second, giving me a differenence of 0 seconds :confused:
  13. Replies
    10
    Views
    3,899

    number of days between 2 dates.

    I want to be able to calculate the number of days between 2 dates. Ive looked at the boost c++ libararies but it isnt possible for me me to use them as I have to take my code between multiple...
  14. Replies
    5
    Views
    2,006

    Thats strange because on the site it says: ...

    Thats strange because on the site it says:



    Shame it doesn't work :(

    Do you know of a way I could find the number of days between 2 dates?
  15. Replies
    5
    Views
    2,006

    I get this error: Im trying to implement...

    I get this error:



    Im trying to implement it like this:



    int day=0;
    date d1(20050310);
  16. Replies
    5
    Views
    2,006

    Creating .lib?

    Hi,

    I am trying to include some pre-written code into my project from: http://finance.bi.no/~bernt/gcc_prog/doc_date/doc_date.html

    Im having some trouble getting it to work. I am using...
  17. Thanks for your help salem :) Ok!

    Thanks for your help salem :)



    Ok!
  18. '=' left operand must be l-value error message

    Hi,

    When trying to compile my code in MSVC++ I get the error message:



    The error applies to the 4 highlighted lines in the code below:


    mems[mems[0].mem_num].mem_num = mems[0].mem_num;
  19. Replies
    3
    Views
    5,864

    Ah i see.... oops :o Ill try the steps youve...

    Ah i see.... oops :o

    Ill try the steps youve mentioned. Thanks :)
  20. This post is juat a few below yours:...

    This post is juat a few below yours: http://cboard.cprogramming.com/showthread.php?t=60932
    it has some very good suggestions. :)
  21. Replies
    3
    Views
    5,864

    Overwriting Parts of a File

    Hi everyone :)

    Ive been trying to overwrite selected records in a text file.
    If i try and edit the first record in the file some parts of the old record are overwritten and other parts are left...
  22. Replies
    10
    Views
    1,475

    Solved! :D I changed: rental...

    Solved! :D

    I changed:


    rental rental[100];

    to
  23. Replies
    10
    Views
    1,475

    I have service pack 6. Ive just tried using...

    I have service pack 6.

    Ive just tried using the ful watch window and entered "rentals" and it displayed {...} in the column to the right. :(

    I must be doing something wrong.... its driving me...
  24. Replies
    10
    Views
    1,475

    it is an array of structs. rental...

    it is an array of structs.


    rental rental[100];

    sorry forgot to put that before :)
  25. Replies
    10
    Views
    1,475

    this is the rental struct: struct rental {...

    this is the rental struct:


    struct rental
    {
    unsigned long int rental_id;
    unsigned long int mem_num;
    unsigned long int dvd_vid_num;
    int date_due_dd;
    int date_due_mm;
Results 1 to 25 of 70
Page 1 of 3 1 2 3