Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Tbh wątpie :p
/**
* Return a pseudorandom int in range [0..high),
* and change the internal state.
* @return the pseudorandom int.
*/
public int nextInt( int high )
{
return (int) ( nextLong( ) % high );
}
class Foo
{
public:
Foo() { counter++; }
void foo() const;
private:
static int counter_;
};
w kodzie:
//blok A
{
Foo a;
Foo b;
}
//blok B
{
Foo a;
//Foo b;
}
Ostatnio zmieniony przez szulak : 13-10-2014, 11:18
Dreaming by drumming. ™
Dreaming by drumming. ™
#include<stdio.h>
#include<conio.h>
int main(){
int a,b,c;
printf("Podaj a:");
scanf("%d",&a);
printf("Podaj b:");
scanf("%d",&b);
printf("Podaj c:");
scanf("%d",&c);
if(a=!b,b=!c,a=!c)
printf("0");
else if(a==b==c)
printf("0");
else
printf("1");
getch();
return 0;
}
Ostatnio zmieniony przez sm0ku16 : 13-10-2014, 19:50
Ostatnio zmieniony przez 2cztery7 : 13-10-2014, 19:52
Problem z komputerem? Instrukcja diagnostyczna
Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat."Don't worry, I'm just a pervert"Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Ostatnio zmieniony przez 2cztery7 : 13-10-2014, 20:08
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki