Thank you for reply
Use nspire-io, directly or indirectly. The new SDK at https://github.com/ndless-nspire/Ndless has nspire-io support built-in, just look at samples/newlib.
You can use scanf, std::cin, ifstream, whatever you like.
What is the header file that i will include it will be "#include <
nspire-io> ?It waits for serial input. By default std* are the first UART.
This is my code (I still learning and test small codes)
#include <os.h>
int main() {
printf ("!!!Hello World!!!");
int x ;
scanf("%d" , &x);
printf ("The value is : %d" , x)
return 0;
}
What is the problem for this code (The prog not start to write an input)
Forth : What is the important include that i should write before the program ? " the program contains input from user "
I mean what is the main (#include <>) that without it the app doesn't run ?
Fifth and least : is there any tutorial "pdf or videos " for programming ti nspire cx cas ? can I make a GUI app ?
There is only http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction_on_Linux. You can use some graphics libs like nSDL, n2dlib or nGL or rip an existing program apart and use its GUI stuff, like pyWrite.
can you give me link contains example for GUI code ?
Thanks in advance