cout << "abc"; in Xcas language

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

cout << "abc"; in Xcas language

Message par compsystems » jeu. févr. 15, 2018 1:32 pm

Hello, BP.

Is possible to print but not change lines, but the next printing continue after the last character? similar to suppress the << endl; in c++

cout << "abc";
cout << "abc" << endl;

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: cout << "abc"; in Xcas language

Message par parisse » jeu. févr. 15, 2018 2:25 pm

No, but I will fix printf and you will be able to have pretty-print output.

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: cout << "abc"; in Xcas language

Message par compsystems » mar. févr. 20, 2018 10:34 pm

The scanf reverse function of printf, is also very necessary, to capture data within the execution of an algorithm, without calling the dialog boxes (input, inputstr, inputform)

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: cout << "abc"; in Xcas language

Message par parisse » mer. févr. 21, 2018 6:53 am

I won't do any new interactive input command, because I don't think it is the right way to input data in a CAS. The right way is write non interactive functions, all the interaction with the user should be in the CAS commandline UI (or in read commands).

Répondre