//Programming in C
/*
* checking armstrong for n digits
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
Type: Posts; User: kdushyant297
//Programming in C
/*
* checking armstrong for n digits
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
What's the reason of the number 1045***
//Structures and unions
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char const *argv[])
{
union sample
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
//Frequency table of input
int main(int argc, char*argv[])
{
int counts[26] = {0};
int cypherChar = getchar();
Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
Here is my code to take 6 integers into an array (But taking 24 entries don't know how??):
#include <stdio.h>
#include <stdlib.h>
void main()
{
Concept cleared.
Thanks to all of u
Here is my code:
//Programming in C
/*
*
* @author Dushyant Kaushik
*
Here is my header file code (structure.h)
struct user {
int userId;
char firstname[20];
//Programming in C
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
int temp;
float amount = 0,tax = 0.12;
float resolver_Func(int temp)
{
In code::blocks when i run it
It runs fine with output having black text in white background
But in turbo c
It shows invalid color command and then shows normal text.
Here is my code:
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
main()
{
Thanks jimblumberg, problem solved.
Here is my code:
//Program showing factor of a number
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
Here is my code
/* A simple C program that takes
* two values and invoke a function with
* pass by value */
# include <stdio.h>
Yeah, Thaks man.
It all makes sense now.
Thanks everyone for your assists. I installed codeblocks, and looks pretty well to me.
And please help me out choosing a better IDE.
Thanks man. I am so silly that i didn't noticed that.
Here is my code :
//Program in C
/* Revising methods strch()
* and strcmp() with stricmp(). */
Then which IDE you suggest. Currently I am using Turbo C++ 3.0 Windows 7. And thanks for your help.
Thanks everyone! For helping me out. Actually for me replacing perror() with printf() did the job & also changing main() function's return value from 0 to 1 does the same.
Here is my code
//Program in C
/* Using strchr() & strcmp()
* function(s) to do some conditional(s) */
It's still not working showing only the else part irregardless whatever the input is:
Here is my code
15192
Please take a look, and give me the solution. It would really be appreciated.
Yeah sure i did that but when i do
strcmp(c, match)
Inside if test expression i get an compilation error saying the function strcmp should have a prototype.