Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Trusted - Secure - FastTrusted - Secure - FastTrusted - Secure - FastTrusted - Secure

Trusted - Secure - FastTrusted - Secure - FastTrusted - Secure - FastTrusted - Secure - Fast
Seems like this is for c++ homework. Both of those programs are simple to write, with very little c++ experience. Please elaborate more why you need these two programs. If its homework, I'm willing to assist you, but not give you the entire program.
I'll teach you how to do it over skype/msn if you'd like
Add me:
skype = xenbooter
msn = [email protected]

I prefer msn but fine with either

[Image: Cx17p.png]



Could somebody re-write MHC's post? I would be more than happy to write the two programs for him, but sadly, I can hardly understand him.
Do you not speak English, or are you just illiterate? Most teenagers these days don't even make an effort to write grammatically correct sentences. >.<

Program #1:
Code
Input: 14
Output:
  Since you have? 14, then you are born ... <enter>
  Since you have? 13, then you are born ... <enter>
  Since you have? 12, then you are born ... <enter>
  [...]
  Since you have? 1, then you are born ... <enter>

Program #2:
Code
Input: 2
Output:
  I like to program in Visual C + +.
  I like to program in Visual C + +.

Are those correct?
Yeah its for home work, I have no idea how to start the program and all... :/
(Aug 21, 2012 08:13 PM)MHC Wrote:  Yeah its for home work, I have no idea how to start the program and all... :/

Just tell me what you need and I'll do my best to make it.
(Aug 21, 2012 08:25 PM)POSIX Wrote:  Just tell me what you need and I'll do my best to make it.
If your here to troll leave, I need those programs done by tonight.
(Aug 21, 2012 08:27 PM)MHC Wrote:  If your here to troll leave, I need those programs done by tonight.

>_< That's not a problem. I just need you to rephrase your original post because I don't understand it.
Lol, he is in programming classes and he can't even use "for" condition...

Btw, your english really sucks
(Aug 21, 2012 08:27 PM)MHC Wrote:  If your here to troll leave, I need those programs done by tonight.

Don't be an ass. They are willing to help you with your homework because you are too stupid to do it yourself. Be grateful.
The only reason I'm doing these is because it took < 1 minute and to show you how ridiculously easy it is. Study more. If you use these without looking at them, prepare to fail your class if you don't review your textbooks, not learning simple stuff like this will end you up without a job.

prog1:
Code
#include <iostream>
using std::cout;
using std::cin;

int main()
{
  unsigned int age;
  cout << "What is your age? ";
  cin >> age;
  cout << std::endl << "Since you are " << age << " years old, you were born in " << 2012 - age;
  cin.get();
  return 0;
}

prog2
Code
#include <iostream>
using std::cout;
using std::cin;

int main()
{
  unsigned int times;
  cout << "How many times would you like this sentence repeated?: ";
  cin >> times;
  for(int i = 0; i < times; i++)
  cout << std::endl << "I like to program in visual c++";
  cout << std::endl << "I'm a leecher from hackforums.net";
  cin.get();
  return 0;
}
x86 asm - ISO & ANSI C
what have you tried?
(Aug 21, 2012 08:31 PM)Dr.Coder ツ Wrote:  Lol, he is in programming classes and he can't even use "for" condition...

Btw, your english really sucks
More like google translation sucks.
2. you cant code c++ so get of my D.

-MHC


(Aug 21, 2012 07:54 PM)Tenacious Wrote:  I'll teach you how to do it over skype/msn if you'd like
Add me:
skype = xenbooter
msn = [email protected]

I prefer msn but fine with either
Thank you for helping me by TV to make those programs :D

-MHC