Thread: Having some issues with a junk mail project...

  1. #1
    Registered User
    Join Date
    Mar 2014
    Posts
    3

    Having some issues with a junk mail project...

    So i need to write a program that will take a standardized junk mail with " #N# " for wherever a name would be in the letter. I have to use a void function for this as well as nested if statements inside a while loop for the get and put functions. I am having trouble however in that the name will be inputted once in the beginning of the void function which is working well, however when i attempt to plug it in for the #N# the output file ends up with just a _N_ (the "_'s " being spaces). Also the if loops are confusing me because i do not know how to use the peek function well.

    notes:
    -to make sure i had the right curly braces i named them, if #1 o being if, number 1, open. c then being close, as well as e1 being else 1 open and close.
    Having some issues with a junk mail project...-7y1qa-png
    Last edited by Stibbs; 03-16-2014 at 03:22 PM.

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    Wow.

    It takes a lot of fortitude to ask for help making a "mass-emailer".

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  3. #3
    Registered User
    Join Date
    Mar 2014
    Posts
    3
    haha its for a school project, not for acctually mass emailing people.....

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    Oh! Yes, I see now that this is obviously legit.

    Soma ^_~
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  5. #5
    Registered User
    Join Date
    Mar 2014
    Posts
    3
    nevermind then, i guess. i go to ohio university and im in an introductory c++ class and i need help because i have been working on this for like 5 hours now and it is due tomorrow. I made an account here cus i really need help and if ur the only person responding with remarks like that just stop..

  6. #6
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    You have passed your lesson on time management and project planning.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 08-02-2013, 06:45 PM
  2. Junk in my stdin?
    By jason_m in forum C Programming
    Replies: 2
    Last Post: 06-21-2009, 07:20 PM
  3. Hex n' junk
    By Necrofear in forum C++ Programming
    Replies: 28
    Last Post: 05-20-2006, 04:03 AM
  4. Junk Characters
    By johnchain in forum C Programming
    Replies: 10
    Last Post: 10-12-2005, 04:52 PM