Jump to content



Photo
- - - - -

Some Quastion About Cp. Array , C++ ,...


  • Please log in to reply
3 replies to this topic

#1 kavehmj

kavehmj

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    CP 330

Posted 31 May 2011 - 11:31 AM

Hi
I have some quastion about my ClassPad 330

1) How can i define an Array at it's programming enviroment? Something like this which have been writen at C++ IDE:

int a[25];
int b[25];
for (int i=0;i<24;i++) {cin>>a[i];}
...

2) Does CP compatible with C++ or any other programing language? if the answer is yes, how can i transfer a program which has been written in for example C++ into my classpad and run it?

#2 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 01 June 2011 - 11:53 AM

Hello.
1) It's done like this in "Program" application:
fill(0,25) => L 'This creates a list with 25 members initialized with 0.
For 1 => i To 25
Input L[i]
Next


2) Yes, with CPSDK which you can download at casio education website you can write programs in C++. This will produce add-ins (CPA files) which you can install with ClassPad Manager. But the CPSDK is not easy to start and write programs with, I suggest you use CPLua, an alternative to CPBasic, and it's fast, easy and complete.

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 16 June 2011 - 08:28 AM

Thanks a lot
Now i have another quastion. How can i transfer a .txt file which i have written in a pc into my CP? (which i could see the content within it in Program or eActivity)

#4 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 16 June 2011 - 10:40 AM

This question has already been answered in this forum. Here is another answer: You should have a working ClassPad Manager and you should have access to the emulator part. (If your CP Manager is expired and you can't use the emulator, don't worry; there are rumors that say it's easy to find some versions of CP Manager that never expire on the web.)

Open your text file with Notepad, Select All text and Copy it.

In the emulator of CP Manager, go to eActivity or Program, then Right Click -> Paste Special and save the file.

Now Right Click -> Exchange Window and use it to transfer the files to your ClassPad.

It seems to me you speak Persian, so here is a page on my site teaching ClassPad Manager: http://www.classpad....ning/cpman3.php (in Persian)

Edited by MicroPro, 16 June 2011 - 10:45 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users