Re: How to know some info?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is what I have. But there are some problems, I don't know how could I
know the number of parameters the function receives and the type of the one
returned...

int funcion (int** matriz, int valor)
{
	int i = 0;
	int j = 0;
	int a = 2;

	for (i = 0; i < 65536; i+=512)
	{
		for (j = 0; j < 128; j++)
		{
			matriz[i][j] = matriz[i][j] - valor;
		}
	}

	return a;
}


Andrew Haley wrote:
> 
> johncaponski wrote:
>> Thanks you guys, but I am still trying to make a C program that makes the
>> same as the asm code. Could you please help me a little? I know that it
>> is
>> not very difficult and I almost have it, but I am not completely sure
>> about
>> it.
> 
> Show us what you've got.
> 
> Andrew.
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-know-some-info--tp26157754p26264862.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux