Search:

Type: Posts; User: jacobsh47

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,734

    No need to split the thread, I am done reading...

    No need to split the thread, I am done reading any more comments on it. Obviously nobody understands what I'm trying to say. Not surprising since "about 90% of you are male."
  2. Replies
    14
    Views
    1,734

    I put in that remark about being dorky to...

    I put in that remark about being dorky to emphasize the stereotyping that we don't subscribe to with males. But apparently it's okay for females. As for always writing he/she, see my previous post.
  3. Replies
    14
    Views
    1,734

    If you had simply apologized for your mistake I...

    If you had simply apologized for your mistake I wouldn't have had to get all "sexist" about it. You made the situation a gender situation by calling me a male and not caring that you made a mistake....
  4. Replies
    14
    Views
    1,734

    It's Jacobs, as in my last name. Or should I...

    It's Jacobs, as in my last name. Or should I change it to make sure everyone knows my sex?

    Just because the majority of people are male doesn't mean you should assume so.

    Thanks, but I'll find...
  5. Replies
    14
    Views
    1,734

    I'm a she. This board assumes all users are male...

    I'm a she. This board assumes all users are male way too much.

    But anyways, CommonTater, thank you for trying to help. I'm not sure I quite understand what you're saying. I tried moving the printf...
  6. Replies
    14
    Views
    1,734

    Problem in for loop

    I need to write a program that will determine whether a number is divisible by 7, 11, or 13, if the sum of its digits is even or odd, and if the number is prime.
    I'm pretty sure I have almost all of...
  7. Replies
    9
    Views
    10,130

    My professor wants us to use the feof function. ...

    My professor wants us to use the feof function.

    I did change the code to use the isalpha function.

    Now it counts the alpha characters correctly, but still counts the ch characters as two more...
  8. Replies
    9
    Views
    10,130

    I was hoping to do this program without using...

    I was hoping to do this program without using ASCII as I'm pretty sure my professor doesn't want us to use it.

    I changed some of the code to comment out the first scanf and fixed it to show alph...
  9. Replies
    9
    Views
    10,130

    I'm not sure what you mean by moving the fscanf()...

    I'm not sure what you mean by moving the fscanf() call inside the loop. I tried putting the

    input = fscanf(inp, "%c", &c); inside the while loop before my if statements but nothing changed, the...
  10. Replies
    9
    Views
    10,130

    I fixed the ; at the end of the while loop and I...

    I fixed the ; at the end of the while loop and I changed the c=1 to c==1. Now the program runs and ends, but the total character count comes out as 0. In the text file I have being read into the...
  11. Replies
    9
    Views
    10,130

    Counting characters in file using fscanf

    Probelm: Write a program, which scans a file and counts the number of characters in the file as well as the number of alphabetic characters. Have main() open the file and pass the file pointer to a...
  12. I don't understand what you're referring to by my...

    I don't understand what you're referring to by my "first row."

    Could you explain a little bit more what you mean?
  13. Jim - I fixed the program so that FirstDay is...

    Jim - I fixed the program so that FirstDay is throughout.

    nonoob - I've tried using the three spaces in the program but it still doesn't work. The program just indents every line only three spaces...
  14. Printing a Calendar - Indenting the First Line

    Write a program to generate a calendar for a year. The program should accept the year and the day of the week for January 1 of that year (0 = Sunday, 1 = Monday, etc.).

    I've written the whole...
  15. Replies
    3
    Views
    4,976

    I really apologize for the lack of tags in my...

    I really apologize for the lack of tags in my original post. I'm a first time user of this thread and shamefully admit that I didn't read the rules well enough. My fault entirely, it won't happen...
  16. Replies
    3
    Views
    4,976

    Keeping the fractional part of a quotient

    I am working on a lab problem. It is: Write a program that calculates the speed of sound (a) in air of a given temperature T (in Fahrenheit). The formula to compute the speed in feet/second:
    a =...
Results 1 to 16 of 16