Karel to C++

This is a discussion on Karel to C++ within the C++ Programming forums, part of the General Programming Boards category; Hi Everyone, I am new to the forum and new to programming. I am doing an assignment from running a ...

  1. #1
    her
    her is offline
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Karel to C++

    Hi Everyone,

    I am new to the forum and new to programming. I am doing an assignment from running a C++ programming to imitate the Karel robot. I am stuck as to what to start with. My instructor said to start with just moving the robot but I am already lost at how to go about it.
    Any sugguestion on how to make the ur_Robot just move?

    This is a sample code from Karel:
    Code:
    task
    {
    ur_Robot Karel (1, 2, East, 0);
    Karel.move();
    Karel.move();
    Karel.turnOff();
    }
    Thanks,
    Her

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Are we talking about the actual robot or just an on-screen simulation?

    If it's the real robot, you need to talk to the company and get their documentation.

    In either event, push the project as far as you can on your own and if you get stuck post your actual code and maybe there's help here...

  3. #3
    her
    her is offline
    Registered User
    Join Date
    Jan 2011
    Posts
    2
    This would be an on-screen simulation of the karel robot programming.

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    2,692
    You might want to start with this link: Karel homepage. This seems to be the homepage for Karel.


    Jim

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21