Data type models c++ [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
everyone. I have just started learning C++ and programming, and my exam task is about:
What does 'data type model' means? What kinds of 'data type models' do you know?
Actually, I can't find anything about it on the Web :(

There are many data types in c++:
int :integer numbers
double :real number
float: numbers with floating points
string : texts
char : characters
You can learn the details (and see where I got the image from) by visiting this website: http://en.cppreference.com/w/cpp/language/types

Related

Filling a dynamic array with integers c++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 27 days ago.
Improve this question
how to fill a dynamic array with input from the console? Im begginer
and can't understand it.
some help will make my day :|
You can realize this in several ways. Have a look on following post may it will help you..
Using scanf() in C++ programs is faster than using cin?

How to convert a large binary number to decimal? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am facing a problem. The maximum binary number I am able to convert is 1000000000000000000. Is there any way to convert a binary number larger than this?
There is a function called strtoull (string to unsigned long long integer) which should work, follow the link for an example. https://en.cppreference.com/w/cpp/string/byte/strtoul

Turning a string that contains a equation into an integer [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I would like to be able to convert a string such as "(5+6)*6" and get the resulting integer from that equation. It is important that it starts out as a string.
You can use library fastmathparser for c++.
In link is example how use this library.
If you really want write alone this parser, I recomended use Shunting-yard algorithm

How to make a MATLAB function to be run in html? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I've developed a MATLAB code that I think it is useful to be used by researchers. How can I embed it in a website to be used free?
It gets two integers and return a set of integers
Also it is possible to convert it to c++, If it helps.
Thanks
Submit your m-file(s) to Matlab Central File Exchange, this is the perfect place for it.

different between CRC8 , CRC16 and CRC32? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to know the difference and how to choose the polynomial generator for different crc ?
And in some C code they have look up table to compute crc and some of them do it by xor truth table. but in both the cases it is 1byte data array. Its confusing . Could somebody explain this as well ?
Thanks.!