help I'am having problems with this c++ part of the link
help I'am having problems with this c++ part of the link
http://www.cplusplus.com/doc/tutorial/constants.html
I don't get this part of c++
having problems with this part of c++
I don't get this part of c++
having problems with this part of c++
Last edited by shamir on 16 Jun 2007, 16:22, edited 1 time in total.
-
- Kage
- Posts: 732
- Joined: 31 Mar 2007, 16:00
- 17
- Location: Hidden in a Buffer Protection.
- Contact:
Where exactly do you need help in?
A float normaly has a decimal.
A interger is a normal WHOLE number.
And a string is a set of charcters such as "hello world."
A constant is declared by putting const in front of a varible.
Constant's just mean the varible will always be what you assinged it as and you cant reassinged it.
A float normaly has a decimal.
A interger is a normal WHOLE number.
And a string is a set of charcters such as "hello world."
A constant is declared by putting const in front of a varible.
Constant's just mean the varible will always be what you assinged it as and you cant reassinged it.
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]
-
- Kage
- Posts: 732
- Joined: 31 Mar 2007, 16:00
- 17
- Location: Hidden in a Buffer Protection.
- Contact:
Well.. if you think about it, math is numbers, computers is science, science is just a forge of myth and numbers. ^^
Computing has to deal with numbers, when your machine talks in its native language, which is binary, all that it is is a bunch of numbers floating by a data stream. So you will come across alot of MATH when programming. Especially if your starting most examples will either show strings or math.
Computing has to deal with numbers, when your machine talks in its native language, which is binary, all that it is is a bunch of numbers floating by a data stream. So you will come across alot of MATH when programming. Especially if your starting most examples will either show strings or math.
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]
-
- Kage
- Posts: 732
- Joined: 31 Mar 2007, 16:00
- 17
- Location: Hidden in a Buffer Protection.
- Contact:
Hells I say them!
lol. jk.
Well.. not trying to get on this whole leet noob thing, but leet's find computers easy for they mastered it. Thus, to leets computers are like math, you just have to add one compound and try to get a new one. Which also involkes science termology. Computers is science, and science uses tons of math. I bet you look at most tut for beginners for C++ and you will find that they all or most use math.
And java being better then C++ is just an opinion.
C++ is a superset of C, and Java uses C syntax. C++ is a powerful programming language and can be used for many things. Java is mainly made for making applets, few go beyond that. I would have to say Java isnt anywhere close as powerful as C++. imo of course.
lol. jk.
Well.. not trying to get on this whole leet noob thing, but leet's find computers easy for they mastered it. Thus, to leets computers are like math, you just have to add one compound and try to get a new one. Which also involkes science termology. Computers is science, and science uses tons of math. I bet you look at most tut for beginners for C++ and you will find that they all or most use math.
And java being better then C++ is just an opinion.
C++ is a superset of C, and Java uses C syntax. C++ is a powerful programming language and can be used for many things. Java is mainly made for making applets, few go beyond that. I would have to say Java isnt anywhere close as powerful as C++. imo of course.
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]
-
- Kage
- Posts: 732
- Joined: 31 Mar 2007, 16:00
- 17
- Location: Hidden in a Buffer Protection.
- Contact:
lol. I have been programming for a bit now. and when I started, I heard of all this C++ being hard and stuff. So I went to java.... I hated it. It was horrible. then I went to C++. Loved it soo much. There is alot you can accomplish in C++, but it may be a bit harder to do then in other languages. such things are GUI and Networking. Besides that, C++ is great. I have been using and learning it ever since.
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]