Search:

Type: Posts; User: EssiJoon

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,355

    thank you very much for your response. the...

    thank you very much for your response.

    the instructions of the assignment was to keep the information of the user in the header file within the Account class and all the deposit and withdrawal...
  2. Replies
    3
    Views
    1,355

    keeping count..

    Hello again,

    I am having a hard time keeping the updated balances, can someone please help me?

    this is are my functions in a class called "functions"



    void DepositAmt(double...
  3. Problem getting data stored in header file via a function...

    Hello folks,

    I am working on an assignment for school and I would greatly appreciate some help with my code. I would like to retrieve some data from my header via a function in my main. However,...
  4. sweet... thank you sir. Greatly appreciate it.

    sweet... thank you sir. Greatly appreciate it.
  5. but just so I understand what you did, do you...

    but just so I understand what you did, do you mind explaining the code to me? so I can learn and not just copy it? thank you so much
  6. that worked perfectly... thank you so much

    that worked perfectly... thank you so much
  7. ok so basically say I input the number...

    ok so basically say I input the number "1234567890"

    what I want to do is take 1 and multiply it by 10 and get a value

    so I need to convert the input digit by digit into an int so I can multiply...
  8. A bit of an issue, converting char into int...

    Hello you wonderful people...

    I was wondering if I could get your help real quick please, and thank you...

    So I want to write a code for an assignment to validate an ISBN number.

    So once...
  9. Replies
    6
    Views
    1,389

    Thank you everyone for responding... Jim I...

    Thank you everyone for responding...

    Jim I lost you on the last part... what do you mean by input stream and output stream? (I am very new to this, so I am sorry if I sound too newb)

    Also the...
  10. Replies
    6
    Views
    1,389

    here is the entire thing #include...

    here is the entire thing





    #include <stdio.h>
    #include <string.h>

    int main(void)
  11. Replies
    6
    Views
    1,389

    leaving a space..

    why is it that for char and string, I sometimes have to leave a space to make it work the way I want it to? like what is the logic?

    eg:

    this wont work the way I need it to (it wont toggle from...
  12. Replies
    2
    Views
    1,599

    Thank you so very much. with your tip to use...

    Thank you so very much. with your tip to use strcmp and some examples from google, I changed my code to the following and it worked great..



    if (strcmp(daynight,"AM") && hour == 12...
  13. Replies
    2
    Views
    1,599

    Chaning AM to PM and vice versa

    Hello once again,

    So here is the part of my code I am having a problem with:




    if (daynight=="AM" && hour == 12 && minute ==00)
    {
    strcpy(daynight, "PM");
  14. Thread: isalpha

    by EssiJoon
    Replies
    9
    Views
    2,369

    so how would I check to make sure the user only...

    so how would I check to make sure the user only enters a number. no letters and if they do enter a letter, I would say "invalid, try again" This is the part I am having a hard time with and my prof...
  15. Thread: isalpha

    by EssiJoon
    Replies
    9
    Views
    2,369

    isalpha

    so I want to make sure the user the user enters a digit and not a letter, so I am doing the following:



    do{
    printf("please enter the hour: ");
    scanf(" %d", &hour);

    ...
  16. Replies
    7
    Views
    1,516

    Thank you to both of you... You are all amazing....

    Thank you to both of you... You are all amazing. That worked great.

    First impressions are so important and this forum really made a wonderful first impression on me.

    Thank you to both of you.
  17. Replies
    7
    Views
    1,516

    Thank you Kurt... I greatly appreciate your help....

    Thank you Kurt... I greatly appreciate your help. That worked great. My followup question now is when I run that this is what i see...

    Please enter A (for AM) or P (for PM): Please enter A (for...
  18. Replies
    7
    Views
    1,516

    and string also

    and string also
  19. Replies
    7
    Views
    1,516

    Oh... I tried using a scanf("%c", &m); ...

    Oh... I tried using a scanf("%c", &ampm);

    still no luck
  20. Replies
    7
    Views
    1,516

    Hello - First post on this forum

    Hello everyone...

    I am new to C and I am working for an assignment for school and I was hoping I could get some help if possible.

    for some reason this do while loop doesn't work the way I want...
Results 1 to 20 of 20