- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Re:
This program generates different combinations of a number or a string as given by the user.just a simple implementation of arrays. |
|
Re:
I have encountered a problem with the following function when I use it. I do not know what is going on, and would like to ask for advise. The program compiles without any error, but when I execute it, it just freezes and exits. [CODE=c] typedef long long unsigned int … |
|
Re:
Can someone help me to make my function getbase2 to work? It needs to return a string value. [CODE]#include<stdio.h> char GetBase2(int iBase, int iNumber); int main() { int i; int number; printf("Enter number: "); scanf("%i", & number); printf("Enter base: "); scanf("%i", & i); printF("Conversion: %s\n",GetBase2(i,number)); } // Base 11 upwards … |
|
Re:
#include<stdio.h> void squeez(char s[],char z[]); int main() { char s[100] = "Hey wassup !!!!!!"; char z[100] = "Wow cool!!!!!"; squeez(s,z); return(0); } void squeez(char s[] , char z[]) { int j,dummy = 0,i=0; char x[100]; for(j = 0 ; s[j] != '\0';j++)/* the starting loop */ { while(z[i] != '\0') … |
|
Re:
Hi,am newbie to c programming.can u explain the above c program which reads a file more than its capcity.. i couldn understand more than this.. Thanks,Yasokrish.[code]#include <stdlib.h> #include <stdio.h> #include <string.h> int bof(FILE *badfile) { char buffer[12]; fread(buffer, sizeof(char), 40, badfile); return 1; } int main(int argc, char **argv) { … |