[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.4277531 [View]
File: 76 KB, 590x568, const.jpg [View same] [iqdb] [saucenao] [google]
4277531

>a hard feel
>hard enough to break diamond

>> No.4204405 [DELETED]  [View]
File: 76 KB, 590x568, costanza2011.jpg [View same] [iqdb] [saucenao] [google]
4204405

>> No.4186850 [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
4186850

>> No.4142277 [View]
File: 76 KB, 590x568, 1323816974216.jpg [View same] [iqdb] [saucenao] [google]
4142277

>humans
>smart

Wanna try again?

>> No.4135816 [View]
File: 76 KB, 590x568, costanza2011.jpg [View same] [iqdb] [saucenao] [google]
4135816

>breathing

>> No.4106344 [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
4106344

>that pic
>excluding the most potent one:
>orgasm

>> No.4085391 [View]
File: 76 KB, 590x568, 1319223890491.jpg [View same] [iqdb] [saucenao] [google]
4085391

oh and
>putting lines through your zero's
>ISHYGDDT

>> No.4079794 [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
4079794

>>4079759
>believing animals CAN'T be programmed
>thinks we have free will

Lol free will fags

>> No.4071237 [View]
File: 76 KB, 590x568, 1320355949416.jpg [View same] [iqdb] [saucenao] [google]
4071237

Well I'm probably gonna mess this shit all over so forgive me if you think you're reading something a monkey typed.

I'm learning how to program functions on C, using Dev C++, I was doing my first exercise (to make a function that does the same that the function pow(x,y) does) and after trying to compile this code:

main()
{
float base, pot();
int exponent;
printf("Type base and exponent");
scanf("%f %d",&base,&exponent);
printf("\nThe power is %f\n",pot(base,exponent));
system("PAUSE");
return 0;
}

float pot(a,n)
{
float a;
int n;
if (n<1)
return(a*pot(a,n-1));}

I get these error messages from the compiler:
In function pot:
a redeclared as different kind of symbol
previous definition of a was here.
And the same for n.

Can someone tell me what does this mean, why does it happen and how to fix it? Also if you could tell me if my recursive approach is right (which I doubt) I would thank you a lot.

>2011
>C
Pic related

>> No.4009875 [View]
File: 76 KB, 590x568, 1319829267674.jpg [View same] [iqdb] [saucenao] [google]
4009875

>2011
>it's 2012 in less than two months
ISHYGDDT

>> No.3992778 [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
3992778

>> No.3979136 [View]
File: 76 KB, 590x568, 1319829267674.jpg [View same] [iqdb] [saucenao] [google]
3979136

>>3979106
>he can't just derive trig identities from the unit circle as he goes along

>> No.3966009 [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
3966009

>cold fusion

stopped reading there

>> No.3934652 [DELETED]  [View]
File: 76 KB, 590x568, 1316140354862.jpg [View same] [iqdb] [saucenao] [google]
3934652

Did it.

>Philosophy, art, engineering, and social studies are more important than science

>putting engineering in the same cluster with art

ISHYGDDT

>> No.3744623 [View]
File: 76 KB, 590x568, costanza4.jpg [View same] [iqdb] [saucenao] [google]
[ERROR]

>not picking number one
>not letting me do your homework for you

>> No.3696046 [View]
File: 76 KB, 590x568, costanza4.jpg [View same] [iqdb] [saucenao] [google]
[ERROR]

>>3696035
>thinking biology is a soft science

Navigation
View posts[+24][+48][+96]