Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Munchor

Pages: 1 ... 7 8 [9] 10 11 ... 424
121
News / Re: The game finally arrives on your CX
« on: November 12, 2011, 02:38:30 pm »
This looks amazing, like those web-browser real time strategy games!

122
News / Re: 100000 posts in one year!
« on: November 12, 2011, 02:37:50 pm »
It's over 9000! Alright, very good, even though I've been posting less lately, we're still rocking!

123
News / Re: Labyrinthe, a TI-Nspire maze with random level generation
« on: November 12, 2011, 02:37:40 pm »
Nspire Lua games are becoming more and more sophisticated, great job Bakefleur!

124
Computer Programming / Re: Invalid array subscript
« on: November 09, 2011, 04:04:06 pm »
avenida and rua are ints.

avenidas and ruas are the arrays.

Edit: I compiled a corrected version and it works. ;D So what is this code doing, exactly?

It's an exercise, but it's now done, thanks to you :)

125
Humour and Jokes / Re: Look at that calculator!
« on: November 09, 2011, 09:22:35 am »
Who dat guy? (in the top pic) he looks familiar

No idea o.O

126
Computer Programming / Invalid array subscript
« on: November 09, 2011, 02:59:43 am »
Code: [Select]
#include <stdio.h>

using namespace std;

int main()
{
  int n;
  scanf("%d", &n);

  int avenidas[99];
  int ruas[99];

  int rua;
  int avenida;
  int pizzas;
  int i;
  for (i = 0; i < n; i++)
  {
    scanf("%d %d %d", &rua, &avenida, &pizzas);
    avenidas[avenida] += pizzas;
    ruas[rua] += pizzas;
  }

  int a = 7;
  printf("%d %d\n", avenida[a], rua[0]);
}

This is mostly C, but I'm using g++ to compile (I'll need C++ libraries later), and I'm getting this:

Quote
s.cpp:25:30: error: invalid types ‘int[int]’ for array subscript
s.cpp:25:38: error: invalid types ‘int[int]’ for array subscript

127
News / Re: Deep Thought becomes manager
« on: November 09, 2011, 02:58:00 am »
The Omnimaga team is pleased to announce that Deep Thought was promoted to manager, after being part of the Coders of Tomorrow team for about one year. He has been one of the most active contributor to the site over the last year and half and has released a bunch of good games and programs for the TI-83 Plus series too. His promotion brings the managers team to 6 and hopefully this should help the process of removing spambots, as there have been a recent wave of them in the past week or so (about 3 out of the 100 that register everyday usually make it through all our anti-spams).

Congrats to Deep Thought for your addition to the manager team! ;D

Congratulations Deep Thought! Well deserved promotion, in my opinion!

128
Computer Programming / Re: best way to learn C++?
« on: November 08, 2011, 04:40:53 pm »
Ok well the tutorial from cplusplus isn't working out for me as of this moment.. I gotten to as far as pointers with functions but then it just started to make no sense to me and i feel like it wasn't explained that thoroughly. It was "targeted" for people who had no prior coding experience but i don't think that is the case.. lol

I was already a programmer when I read it, and it was just fine, it's what made me understand pointers for life, and English isn't even my main language.

Secondly, if it was written for people with no prior coding experience (as you stated), then it should also be just fine for programmers. It would be awkward for non-programmers to read a text targeted to programmers, though.

Nevertheless, as HOMER-16 said, what didn't you understand? We might be able to explain more "thoroughly".

129
Humour and Jokes / Re: Look at that calculator!
« on: November 08, 2011, 03:16:02 am »
Where did you find this? O.o

9gag.com, don't visit it. It's addictive.

130
Humour and Jokes / Look at that calculator!
« on: November 08, 2011, 03:14:08 am »


The 84+!

131
Web Programming and Design / Re: My website project
« on: November 06, 2011, 02:36:57 pm »
Adding control-backspace and tab-completion would be neat ;)

Looking very good so far!

132
Web Programming and Design / Re: RFG Image Uploader
« on: November 05, 2011, 05:53:54 pm »
"Proudly hosting 2,997 images."

Wow, almost getting to 3000!

133
Computer Programming / Re: best way to learn C++?
« on: November 05, 2011, 11:44:43 am »
For a tutorial, I used LearnCpp.

For an IDE I used Visual Studio. Visual Studio works great if you are only going to develop for windows, if you are going to develop for other platforms, then code::blocks is probably your best bet. (Ha, now you can't yell at me)

As soon as I saw you replied I thought "Brace yourself, he just recommend Visual Studio!". But this time you did it well.

Another advantage of Code::Blocks is if you use it on Windows, and then have to use Linux or Mac for something else, then you are accustomed to the IDE already ;)

134
Computer Programming / Re: best way to learn C++?
« on: November 05, 2011, 11:19:24 am »
I also don't recommend DirectX because it's a Microsoft library that only works on Windows. OpenGL is a far better choice, due to having the same power and being cross-platform ;)

135
News / Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« on: November 01, 2011, 05:07:31 pm »
We should have an option whether to have More Effects or Less Effects for slower connections.

We have No Effects as of right now :/ We only want to add one, a very simple one, that's not slow at all.

Pages: 1 ... 7 8 [9] 10 11 ... 424