Jump to content
Banner by ~ Wizard

Count to a million


DubWolf

CTAM after 1 million  

188 users have voted

  1. 1. What should happen after 1 million is reached?

    • Start over at 1
      28
    • Keep counting to infinity (count to the next million(s))
      104
    • Count back down to 1 (then back up)
      52
    • Other (pm or mention if you'd like)
      14


Recommended Posts

(edited)

324,682

 

tumblr_lwtnimpJeK1r5tr09o1_500.png

Edited by Kevin Spacey
  • Brohoof 4

I refuse to let go until you're impressed.
I refuse to let go until I'm depressed.
Link to comment
Share on other sites

(edited)

324,691

 

maxresdefault.jpg

Edited by Kevin Spacey
  • Brohoof 2

I refuse to let go until you're impressed.
I refuse to let go until I'm depressed.
Link to comment
Share on other sites

324692

 

I don't get it...

 

const char* should be (as the word "const" says) CONSTANT

yet I can change it's value :wat:


„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

ok, thanks internet...

so when I change the value of a const char*, I don't actually change the thing it points to (because that is constant), I change the pointer itself...

so, char* const would actually make a constant pointer that I cannot change, but now I can change whatever it points to.

If I want both the pointer and value to be constant I need const char* const

 

Why is this so complicated? Dx


„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

324651

 

:lol: Ahh, some good old Horse Wife to make me laugh. ^_^

 

Hello again CtaM! :)

  • Brohoof 1

sig-33081.sig-33081.sig-33081.sig-33081.


The artwork to the left of the signature is of my new *under construction* OC and was lovingly


drawn by @ThePiDay. I'm incredibly grateful for and delighted with his work.

Link to comment
Share on other sites

324,652

 

Hey Nectar!

 

tumblr_nr5vo5YOHs1tvaipuo1_1280.jpg

 

I'm going to go now. Bai. 

  • Brohoof 4

I refuse to let go until you're impressed.
I refuse to let go until I'm depressed.
Link to comment
Share on other sites

324704
 
See ya Kevin....... wait, what?! :lol:
 
Bye Woona. :icwudt:

  • Brohoof 1

sig-33081.sig-33081.sig-33081.sig-33081.


The artwork to the left of the signature is of my new *under construction* OC and was lovingly


drawn by @ThePiDay. I'm incredibly grateful for and delighted with his work.

Link to comment
Share on other sites

324.705

 

So, a 3 dimensional char array is equal to a 2 dimensional char* array?

 

But with the char array I can modify everything inside it completely, while the char* array might point to read-only memory and when I save something new in it, it writes into new memory instead of overwriting the old one? :wat:

 

But, can I pass a 3D char array into a function that wants me to pass a 2D char* array? :ooh:

  • Brohoof 1

„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...