Search:

Type: Posts; User: ihackress

Search: Search took 0.00 seconds.

  1. Replies
    32
    Views
    11,399

    I ended up reading my textbook and using arrays...

    I ended up reading my textbook and using arrays and strings. It is sooooo much easier this way! Thanks a bunch :)

    This is the new code and it works flawlessly.





    #include <stdio.h>
  2. Replies
    32
    Views
    11,399

    I think I may just end up using arrays, rather...

    I think I may just end up using arrays, rather than spending my entire weekend figuring out if it is even vastly possible to get the desired result the way he wanted us to solve it. I can just tell...
  3. Replies
    32
    Views
    11,399

    Thank you very much! Would this assignment be any...

    Thank you very much! Would this assignment be any easier to complete?

    Assignment.

    You are given a file named data.txt. This file contains first name followed by last name.
    Example:
    Lisa...
  4. Replies
    32
    Views
    11,399

    I'm sorry to bother you, but it is still not...

    I'm sorry to bother you, but it is still not functioning. I created a new variable, assigned it get char, and created a do while loop for the first name and placed it below the last name and the...
  5. Replies
    32
    Views
    11,399

    Alright, thank you very much. I will attempt to...

    Alright, thank you very much. I will attempt to fix it and see if it works :D
  6. Replies
    32
    Views
    11,399

    Thank you very much! By while loop, do you mean...

    Thank you very much! By while loop, do you mean the standard while loop, or the do-while loop I used for the last name? Also, when I put the printf statemnet for the last name before the one for the...
  7. Replies
    32
    Views
    11,399

    I think I am to use what I used for the last name...

    I think I am to use what I used for the last name for the first name as well. But when I try, it doesn't give me the desired result. If anyone assisting me on this forum can help me replicate my...
  8. Replies
    32
    Views
    11,399

    We haven't learned about strings either. We are...

    We haven't learned about strings either. We are to learn about arrays next week, immediately after the assignment is due. The reason for this unusual teaching method is because we are to learn the...
  9. Replies
    32
    Views
    11,399

    Does the first name HAVE TO be given to the...

    Does the first name HAVE TO be given to the program first? If the order could be changed to lastname given first, then firstname, it would be simpler.[/QUOTE]


    Assignment.
    You are to ask a user...
  10. Replies
    32
    Views
    11,399

    No, he has not taught us about any of the things...

    No, he has not taught us about any of the things you have mentioned (but I DO know how to use them). All we have learned at this point is loops (while, for, do while) , if else statements, get...
  11. Replies
    32
    Views
    11,399

    Thank you. I will just ask my professor if he...

    Thank you. I will just ask my professor if he could make an exception and allow me to use an array. (We were supposed to do this with whatever we have learned at this point. He hasn't taught us...
  12. Replies
    32
    Views
    11,399

    I was able to get the entire last name to print...

    I was able to get the entire last name to print (using a do while loop), but when I attempt to do the same thing for the first name, I get an unwanted result.
  13. Replies
    32
    Views
    11,399

    Actually, I am to read them in last first order....

    Actually, I am to read them in last first order. ==>> [email protected] <<== Like that :biggrin:

    Sure

    Assignment.
    You are to ask a user for first name followed by last name....
  14. Replies
    32
    Views
    11,399

    Thank you! However, we are not permitted to use...

    Thank you! However, we are not permitted to use arrays (do to the fact that 90% of the people in the class I'm taking don't even know what an array is.:rolleyes:) So I'm assuming I'll have to fix my...
  15. Replies
    32
    Views
    11,399

    Name to Email

    Hi!

    I am writing a very simple program that turns someone's name (written first name last name) into an email address in the following format ==>> [email protected]. However when I run...
Results 1 to 15 of 15