| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> yes <0> 8 bits <0> 1024 bytes make up a kB <1> ggao: Right. 8 bits. that's a fixed width... all bytes take up the same amount of space, even if most of those bits are 0. <0> yeh <1> ggao: An integer on most platforms today is set up as being exactly 4 bytes wide, which is enough bits to represent all integers from about -2 billion to +2 billion. <0> yep <1> ggao: even if most of those bits are 0, it always takes the same amount of space. <0> you told me that before <0> i understand now <1> because if they were all different, the computer would have to use an extra byte to store information about it's length, and the electronics to manipulate them would be hard to build and expensive. <2> g-gao, one can use many chunks of 32 or 64 bits to store bigger numbers, but don't worry about that yet <0> ok someone please tell me where to start my computer life <3> google :) <0> STOP ****ING SAYING GOGOLE <0> its so annoyign
<4> perhaps its time to move on to differences between signed and unsigned numbers ... heheh <2> A C book will be harsh and painful, but it's a good start <1> woah... <3> didnt someone suggest the best book ever hours ago g-goa <1> ggao: do you have a book? <0> no book! i dont have money <3> g-gao you can find most online in html or pdf <1> ggao: then why are you opposed to using google? <0> im not <5> I don't have any money, and I don't want to use google. I want YOU to spoon-feed me what I want!!! <0> but so many people keep shoving "google" in my face <0> i searched for c tutorials <3> NoGods where did you learn that jedi mindreading trick <6> I can't believe I'm actually saying this on this channel... but... ask your parents to buy you abook? <1> because that's the best way there is to find out what you want if you don't have money for books. <0> but i cant find the good ones <6> a book, even. <3> g-gao about 5 different links on the subject has been pasted here <3> you havent even seem to taken notice of them <0> i have <0> i put them in bookmark <0> its 3am <3> im pretty sure ppl who try to help you dont like ignorance :/ <3> then you know whwere to start <3> goto bed <3> sleep <3> you will need it <2> Good luck g-gao <5> Good night, g-gao. <1> ggao: What was wrong with the first tutorial you looked at? <3> and no ***/jerking off before the big day <0> umm... <0> none of the stuff you told me was there <1> you said none of the ones you found with google were any good. <1> none of which stuff? <0> it didnt explain everything just told me how to write a program <3> howstuffworks.com <0> i was there <3> btw, lack of sleep will make this very hard for you <0> i know but learning c is fun <1> ggao: that's what learning how to program is. you learn how to write a program. <2> g-gao, if you won't rely on paper books, you might have to combine different sources <0> i gathered heaps of sources <2> *nods* Good <1> ggao: what sort of explanations are you looking for? <0> uumm hard to explain... <0> like the very basics <1> the stuff were were telling you about how the computer represents integers all the same width? That has nothing to do with C. That's computer architecture. <0> u said that c tutorials include the basics <0> yes it had something to do with c <1> what basics were you expecting to see that you didn't see? <2> C books may ***ume the reader has some knowledge of computer fundamentals <1> malo: <nod> <0> computer fundamental is to know that all integers have the same width??? <1> Yes, g-gao <2> Anyhow, you can fill the missing gaps on the way <0> so this is like real... <1> just like a byte always has the same width <0> real real <0> this is like a real computer stuff <1> an integer is just 4 bytes (usually)
<2> As I said, I got into C at 12-14 years old too and it was rather painful :) <1> and whatever it is, it's ALWAYS that width on that computer. <0> so when we talk about integers its not only in C <0> yeh im 13 Maloeran <2> No, that is how processors work <1> <nod> <2> They crunch and move integers around, or floats and doubles <4> Maloeran: about same here. i never actually have read any c related boosk <3> heh i was only kidding when i said 13 <0> how old did u think i was <0> seriously no kidding <3> i thought u were a troll <1> g-gao: that's why I was saying that it doesn't really have anything to do with C, in particular... and why you wouldn't find it on a C tutorial page. <3> seriously. <3> wikipedia has info on * <3> im pretty sure thats there too <0> but it should because when i tried scanf() with a relaly huge number and printf() it wouldn't display the number <2> And now you know that the number didn't fit in "int" <1> well, all you need to know is the limits of the numbers... <0> as i said BEFORE wikipedia is hard to understand and it has too many hyperlinks leading off to a WHOLE NEW page <0> ok limits of numbers <0> 23 bit 2 million <0> 32 bit <0> 4 million <1> but because those limits are dependant on your computer, a tutorial might not mention those either. <3> how is wikipedia hard to grasp? <0> -2 million <1> ggao: No... 2 billion. <1> plus or minus 2 billion <0> 2 billion??? <1> Yes. <0> thats a lot <0> how many digit <1> 9 or 10. <0> ok <2> g-gao, you are diving in a field 5 years early. For that reason, you'll encounter a lot of frustration and pain, so please don't complain if you decide to keep going ahead ( which I encourage you to ) <4> digits are mostly really irrelevant <1> stored in only 4 bytes. <0> yeh i will keep going <0> Maloeran is nicer now he knows my age :p <2> Eh, I went through that and I sure wish I had someone to ask questions to :) <0> i am the younger you! <0> except differnet <1> I never had any problem understanding the notion of fixed width... it always made sense to me. <0> because of u <2> ( I'm now 23 ) <0> dam u mark are u trying to mock me <0> 23 :p <1> no g-gao, I'm not. <3> are you sure this isnt a troll <3> :/ <0> are you sure i AM a troll innocent until proven guilty <3> g-gao, my mind defaults to guilty until proven innocent =P <0> lol <0> hmmmmmmm <0> want a picture <1> g-gao: I can't relate to your confusion, which makes it harder for me to feel like I can help you... but although I can't relate to it, I can still understand it. <0> im azn <0> ;p <3> i was 13 once too <3> and i dont remember not bein g able to look stuff up <3> :/ <0> thx for helping mark <0> im trying to get as much knowledge as u :p <1> just try to learn as much as you can instead of setting any particular target. <0> my target is infinite thats why im learning so broad <1> g-gao: if you want to learn C, start with a C tutorial... <0> i have read 3 tutorials <1> and what was wrong with them? <0> nothing <7> Your target is infinite? <2> They were lacking information on computer fundamentals <0> ok where do i get these cf <7> Oh, that reminds me
Return to
#c or Go to some related
logs:
mirc ztod #winxp #vmware #mirc #beginner #politics #stocks #computers Unable to connect to hpiod swampbugger
|
|