This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: something that would be nice


On Tuesday, November 11, 2003, at 02:49 PM, Matt Wells wrote:
My name is Matt Wells and I'm the sole creator of the internet's soon-to-be
largest search engine, http://www.gigablast.com/ .

:-) A bold claim. Presently you seem to be about 300x smaller than google. Impressive that you're that close. But bear in mind, you have to be about 10x better than them to displace them.


So my question is... would it be easy to make functions return multiple
values?

:-) Most of us have seen this type of request before. We'd just recommend that you use struct...


struct foo { int i; int j; } bar () {
  return (struct foo) { 1, 2 };
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]