Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [STICKY] The Posting Competition

Author
Message
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 24th Feb 2013 10:39
no points
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 24th Feb 2013 11:03
no pages
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 24th Feb 2013 11:20
No hope.

I think we should start talking with signatures again!
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 24th Feb 2013 11:28
Some hope, COMPILE & EXECUTE ONLINE!!!

http://www.compileonline.com/compile_cpp_online.php

This is sooooooooooooooo awesome!

"Quotes in signatures are just stupid, especially if you're quoting yourself" ~ me
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 24th Feb 2013 12:41
No poop.

Religious knowledge, now there's an oxymoron...
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 24th Feb 2013 12:44
Hello Ben.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 24th Feb 2013 13:19
We meet at last.

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 24th Feb 2013 13:25
They depart from first.
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 24th Feb 2013 14:29 Edited at: 24th Feb 2013 15:02
And I will now quench my thirst.

*opens can of coke*

Ooh yah that's good.



Oh yeah, and halp! pls. Why does this program say that "That is not a valid option" even though it is?



Edit: Got it to work. Had to use else if instead of if. I feel so professional.

I think we should start talking with signatures again!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 24th Feb 2013 14:44


TheComet

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 24th Feb 2013 14:47 Edited at: 24th Feb 2013 14:49
That\'s so 2D it\'s 3D.

PAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAG EPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPA GEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGe

Oh yeah.

I think we should start talking with signatures again!
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 24th Feb 2013 21:23
Is there any way to create a multidimetional array with the legnth of 2 variables in c++? Sort of like this:


I tried doing this, but it says it needs a constant value


Then I tried doing this but that didn't work for 2 dimeitional arrays
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 24th Feb 2013 22:04
@The Zoq2
Yes, but not the way you're trying to do it.

IIRC, it would look like this:


And you would have to clean it up like this:


Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 24th Feb 2013 22:23
If you're trying to create a multidimensional array at runtime, you have to do:



IIRC.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 24th Feb 2013 22:41 Edited at: 24th Feb 2013 22:42
It would actually look like this:



To clean up:



The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 24th Feb 2013 23:16 Edited at: 24th Feb 2013 23:23
Thanks for the help, but it seems like none of the suggestions worked. With the first 2, I got the same error as before. VS says that the "y" variable must be a constant value.

this is how I do it


The second way suggested by budokaiman dosn't seem to work either



With this method, I get the error "no operator = matches these operands"
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 24th Feb 2013 23:39
Quote: "With this method, I get the error "no operator = matches these operands""

1. Did you make sure that y is declared?

2. Did you overload the = operator in your class?

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 24th Feb 2013 23:42
q
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 00:22
[/b][b][/b][b][/u][/i][i][/i][i][/i][u][i]

320x224
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 00:23
dgrfe

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 00:23
+
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 00:26
Pffffft error code 2.

320x224
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 00:29
Nobody posts for 40 minutes, then Budo posts instantly... Seems legit!
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 00:44


I'm always watching.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 01:07
Whammmmm!

There are 10 types of people, those who understand binary and those who don't
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 01:42 Edited at: 25th Feb 2013 01:43
Because I just re-looked at your last post, Zoq, I noticed that your for loop isn't quite right.
Quote: "
for (int i; i < 0; i++)
"


It should look like
Quote: "
for (int i = 0; i < X; i++)
"


Where X is the number of elements in your first array (theoretical array would look like array[X][Y]). The way you have it, it may or may not actually do anything (and would likely crash) when you ran it.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 01:45
Quiz:
Who are the 2 authors of the attached image?
hint: I am one of them

There are 10 types of people, those who understand binary and those who don't

Attachments

Login to view attachments
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 01:48
GIMP [i][/i]

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 01:56
Well, you're right, but I mean a person
Someone else wrote some of the text in it.

There are 10 types of people, those who understand binary and those who don't
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 01:57
Batman

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 01:59
You're just guessing

There are 10 types of people, those who understand binary and those who don't
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 02:11
Well, have you ever seen the other author and Batman in the same room together?

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 02:15
I've never seen the other author.
Hint: try decoding the hex in the background
Then google some of it if you don't recognise it.

There are 10 types of people, those who understand binary and those who don't
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 25th Feb 2013 02:31
Quote: "Hint: try decoding the hex in the background"

That's what I figured it would be hidden in. I'd try it, but I just can't bring myself to care enough.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 02:32
lol

There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 05:13
I can't either bro
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 06:10
lazy

There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 07:23
By the "Miss" in your name, I imply you may not be a
Quote: "bro"


Is this true?
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 07:26
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 07:26
lkadfsngh;lbsg
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 07:32
I never publish private info online

There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 07:34
Interesting...[i][/i]
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 25th Feb 2013 07:35
don't jump to any conclusions though.....

There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 07:36
Oh but I have, and it's irreversible!
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 07:58
They should be ashamed of the quality of that PCM.[/b][b][/u][u][/b][b][b][u][/u][i]

320x224
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 08:00
You really think you already posted that exact same message on this thread?
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 08:01
It's possible. I've talked about audio on the Genesis quite a bit. Why take the chance? [center][/center][/b][b][u][/u]

320x224
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 08:02
I suppose!
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 25th Feb 2013 08:05
34,799[b]

320x224
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th Feb 2013 08:05
dfsagjdf;lgk

Login to post a reply

Server time is: 2025-06-14 04:26:15
Your offset time is: 2025-06-14 04:26:15