Define a primitive data type: Difference between revisions

Content added Content deleted
m (Alphabetized)
m (Changed over to works with template)
Line 10: Line 10:


=={{header|C++}}==
=={{header|C++}}==
{{works with|g++}}
'''Compiler:''' [[g++]]

This class relies on implicit conversions to do most int operations; however the combined operations with assignment have to be coded explicitly.
This class relies on implicit conversions to do most int operations; however the combined operations with assignment have to be coded explicitly.


Line 236: Line 235:


=={{header|Perl}}==
=={{header|Perl}}==
{{works with|Perl|5}}
'''Interpreter:''' [[Perl]] 5

package One_To_Ten;
package One_To_Ten;
use Carp qw(croak);
use Carp qw(croak);