User Profile
Collapse
-
Do you mean that I assign each value of the (node_kind) field to an integer value and then compare using it or what !!?... -
using (char*) in switch statment
Hello everybody.
I am new in C programming language and have an (if satament) and need to transfer it into switch statment.
My problem is that I have a field named (node_kind) of char* type and I compare it's content in the if statment using (strcmp) but I don't know how to do that in the switch statment.
Would you plz tell me how ?
Here is a short quote of my program
Code:if (strcmp(node->node_kind, "VAR_TOKEN_e")
-
duplicate inheritance on methods with parameters
Hello
Would you please tell me how can I do the following
Abstract class A
{
public abstract void function( type a1 , type a2 )
}
class B: A
{
public override void function(type a1 , type a2)
{ }
}
Class C: B
{
public override void function(type a1, typea2(
{ }
}
Note: The problem is that class...
No activity results to display
Show More
Leave a comment: