help I'am having problems with this c++ part of the link

For beginners, flames not allowed...(just by the staff :P)
Post Reply
shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

help I'am having problems with this c++ part of the link

Post by shamir »

http://www.cplusplus.com/doc/tutorial/constants.html

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.

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

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. :wink:
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

IS THIS MATH OR AM I CRAZY :lol:

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

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. :wink:
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

but it cleary says in the comp bible
math 5:4 those who say numbers are comp are scrite kiddes
java 2:3 java is beeter then c++
got it form comp bible :lol:

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

Hells I say them! :twisted:

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. :wink:

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. :wink:
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

c++ 3:2 c++ was not made by men but by the great one

c++ is good.........

:lol:

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

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. 8)
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

yep c++ is good and, c++1:4 whatever the mind of c++ programmers can make it can create :lol:

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

lol. true, but that takes time. 8)
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

ebrizzlez wrote:lol. true, but that takes time. 8)
yep I will work hard until I become king of programmers :twisted:

ebrizzlez
Kage
Kage
Posts: 732
Joined: 31 Mar 2007, 16:00
17
Location: Hidden in a Buffer Protection.
Contact:

Post by ebrizzlez »

Good luck with that. ^^
[img]http://i81.photobucket.com/albums/j205/ebrizzlez/4lsint1.jpg[/img]

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

comp 1:1 a man named sham will be king of programmers :lol:

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

well, variables and constants are used in any OOP language (Java too of course), so you can't avoid learning it....read it a couple of times and experiment a little... :wink:

Post Reply