Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by silentAssassin

  1. silentAssassin

    C++ Source Script Archive ????

    Does anyone know where I can pick up a few simple source codes for C++. Nothing in specific just wondering if there are any sites out there like www.vb.com for C++.
  2. silentAssassin

    How to write a small and easy program: PLEASE HELP

    Well That did it. Thanks everybody. The following is the completed code and I would like to invite anyone or anybody to find an error or anything with it. If there are any bugs with it please let me know. I would also like to thank EVERYONE who helped me. Now after three days of working...
  3. silentAssassin

    How to write a small and easy program: PLEASE HELP

    I tried that before and it didn't work. I tried it again as you can see and it still gives me an error. The following is where I put it in and the error I got. ____________________________________ // Declare Variables int run = 5; int year ; // Perform Loop srand (); while (run >...
  4. silentAssassin

    How to write a small and easy program: PLEASE HELP

    I tried that before and it didn't work. I tried it again as you can see and it still gives me an error. The following is where I put it in and the error I got. ____________________________________ // Declare Variables int run = 5; int year ; // Perform Loop srand (); while (run >...
  5. silentAssassin

    How to write a small and easy program: PLEASE HELP

    OKAY Thanks guys I knew there was another way to do division I just forgot about the '%' That helped a lot. How do I use the srand ??? I have no idea where to put it or how to put it in. I don't understand what the seed should be.. you guys have been extremely helpful and I almost have it...
  6. silentAssassin

    How to write a small and easy program: PLEASE HELP

    ok I have come a long way since my last post. Now all I am have problems with is the fact that It is not finding out if a year is truly a leap year and it is not producing REAL Random numbers, instead it produces the same numbers every time. Can someone please just post the correct way to...
  7. silentAssassin

    How to write a small and easy program: PLEASE HELP

    Will someone help me? I am so confused now. Can anyone please help me with this loop.
  8. silentAssassin

    How to write a small and easy program: PLEASE HELP

    I have no Idea what you just said. I do not know what to do as far as writing. can you please post the code for the loop. I have no idea what a for loop is. all I know is my book has a while loop for an example. ???? I am more confused than ever.
  9. silentAssassin

    How to write a small and easy program: PLEASE HELP

    Ok, I am kindof confused now. I took Rafe's advice but I don't know how to implement the whole Leap Year thing. So far all I have is posted below. I don't even care if you give me the answer anymore. I just want to make this program work so I can move on. Or instead of giving me the answer...
  10. silentAssassin

    How to write a small and easy program: PLEASE HELP

    First I want to clear up the class thing. I am taking this class on my own time. I already have a BS in Computer Science and several Certifications in Networking. This is not really a class, I just bought the book and am trying to work through it. I am glad and also hope noone...
  11. silentAssassin

    How to write a small and easy program: PLEASE HELP

    Yea. Thanks for your help. I am having trouble writing the loop. I am not that familiar with C++ Code. I knew about the leap year and how to find it. I just can't write the code for the loop. Can anyone please help me. Thanks again Chiph, I guess I should have been more specific.
  12. silentAssassin

    How to write a small and easy program: PLEASE HELP

    Ok, I am currently in a beginners C++ Class. I need help writing the following practice problem: Write a loop that calls a funciton to generate a year between 1895 and 2010. Test the year for being a leap year and print an appropriate statement to the screen. The loop should run at least...

Part and Inventory Search

Back
Top