mostafadotnet 18 Junior Poster

Hi Blitzer,

#include <cstdlib>
#include <iostream>

using namespace std;

int main()
{
  char a_char[10];
  cin >> a_char;
  cout << "As an integer: " << atoi(a_char);
}

I've compiled this with Dev-C++ and it worked correctly.

Good luck.

mostafadotnet 18 Junior Poster

Nice answer Ryu.
Thanks.

mostafadotnet 18 Junior Poster

Hi saman,

Simply.
Read 8051 datasheet and also some assembly programming tutorials related to 8051/2.
This might be helpful.

http://www.8052.com/

Good luck.

mostafadotnet 18 Junior Poster

You can also use google groups.There is always many solutions to a problem.

http://groups.google.com/

Good luck.

mostafadotnet 18 Junior Poster

Hi INI,
I depends on you and how much you know these programming languages.
As far as I know Assembly,Basic and C are the programming languages[tools] to implement an idea in microcontroller.
If you want speed use Assembly.
If you don't ave time and you want to quickly get your project up then use C.
Else you can use Basic.
###PLEASE GIVE MORE INFO###
even on you microcontroller pat number and so.

mostafadotnet 18 Junior Poster

Hi SamY,
go to

http://www.mega-tokyo.com/forum/

to find out more about OS Programming.
And before it take a DEEP look at

http://www.mega-tokyo.com/osfaq2/

and post anything you just don't understand here.