Forum: C Dec 23rd, 2008 |
| Replies: 7 Views: 747 //... memcpy...
//... use memcmp(...,...,...);
//...
//...to compare two string :
int s_compare(const char *str1, const char *str2)
{
if (strlen(str1) != strlen(str2))
return 1;... |
Forum: C Dec 22nd, 2008 |
| Replies: 9 Views: 752 char T[25];
fgets( T,25, stdin);
work fine with my cmplr... |
Forum: C Nov 24th, 2008 |
| Replies: 6 Views: 1,762 You guyz talk to much..She just want the codes..So!!... |
Forum: C Nov 11th, 2008 |
| Replies: 1 Views: 452 //...
flush(stdin);
operation = (bit)(getchar() == (int)'+');
//... |
Forum: C Nov 7th, 2008 |
| Replies: 5 Views: 506 #include <stdio.h>
int main()
{
int toonie, dollar, quarter, dime, nickel, cent;
float amount, change, cchange;
char ch='Y', N, Y;
while(ch=='Y'){
//-- init /... |
Forum: C Nov 7th, 2008 |
| Replies: 10 Views: 815 1. nop..
(char) max size = 16 bit
(int) max size = 32 bit
(__intn) max size = 8,16,32,64 bit
(float) max size = 32 bit
2. use static for global variable or global function... |