Joined
Last Seen
-2 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #44.3K
3 Posted Topics
Re: help me..
char char1; int i1; printf("Enter character :"); scanf("%c", &char1); i1 = (int)char1; if(i1>=97 && i1<=122) { i1 -= 32; } if(i1>=65 && i1<=90) { printf("%c",i1); } else { printf("invalid char"); }
Re: C Programming
you can cast the entered value to int (this is the ascii code of that character) like below. int i1 = (int)char1; int i2 = (int)char2; then you can compare i1 and i2. if i2 is upper than i1 you can continue. and you can control the ascii table, the …
Hi, i'm trying to include a c# dll in c code. i have created the tlb file , registered the dll but i couldn't load it. but i could load in c++. is there any way to achieve this or equivalent of below c++ code ? Thanks ******** C++ Code …
The End.
sercanparlak