Click here to Skip to main content
16,021,112 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Can anybody tell me what is the alternative of c=~c; in C language?
Posted
Comments
OriginalGriff 24-Mar-12 5:06am    
That is going to depend on what language you are starting from: '~' has a different meaning in several languages.
nv3 24-Mar-12 6:08am    
I guess you mean: What other way is there in C to express the statement c = ^c; well, I don't think that we would do you a favor to answer that question. Your C language text book will easily show you the answer and searching for it is part of your education. If you don't find it after 10 min. of searching, we will give you a hint.
sonigaurav1 24-Mar-12 10:43am    
Don't get..... pls
Sergey Alexandrovich Kryukov 25-Mar-12 5:21am    
Just tell us what exactly do you mean by '~', descriptively.
--SA
sonigaurav1 27-Mar-12 11:24am    
SAKryukov ...... I mean I want to store complement without using ~ operator.
Means c=~c
Now got... ?

1 solution

Based on the context, the answer varies. But, in general, alternative languages for C, are C++ and C#. Again, itz all 'C' family.

C# is a nice language that fits your requirements, and it is definitely suited for graphics, thanks to the efforts of Microsoft to provide it with great tools and libraries like Visual Studio and XNA.
 
Share this answer
 
Comments
sonigaurav1 27-Mar-12 11:24am    
SAKryukov ...... I mean I want to store complement without using ~ operator.
Means c=~c
Now got... ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900