This error comes to me in the first line;
"Something was not declared in this scope".
I know it's a very basic error, but I'm not realizing what I'm failing and why.
This is my code:
void funcion(Algo x){
x.b= 1 ;
}
int main(){
struct Algo{
int b;
};
Algo x;
funcion(x);
}