Hello All,
I am trying to install the DEV C compiler of version 4.9.9.2.
after installation i am unable to compile the code.
i am getting keep on error "system cannot find the specified"
...
Type: Posts; User: shwetha_siddu
Hello All,
I am trying to install the DEV C compiler of version 4.9.9.2.
after installation i am unable to compile the code.
i am getting keep on error "system cannot find the specified"
...
Go throgh following code
int main(int argc, char* argv[])
{
int tmp = 0xffff;
printf("%d", tmp = tmp >> 15); //tmp >>= 15 same as tmp = tmp >> 15
return 0;
Hi it works, but i am wondering where do you need such applications?
its no of use.
Regards,
Shwetha
Just replace scanf_s ---> scanf.
it will work fine.
Regards,
Swetha
Dear All,
I am getting Run Time Error In Following code, what could be the problem?
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Dear All,
What is the meaning of following declaration?
[code]
#ifndef __FPS_CONFIGURATION_PROJECT_CDF_
#define __FPS_CONFIGURATION_PROJECT_CDF_
[\code]
Hello,
if (message[j] == 65+x || message[j] == 65+x+32)
{
Printf("TeDeNg\n");
counter[x]++;
x=27;
}
Dear All,
I am getting in following code..
char far *farther,*farthest;
printf("%d..%d",sizeof(farther),sizeof(farthest));
error i am getting is :-
nonstandard extension used : 'far'...
I think problem is char *dst[n]; with statement.
It requires constant expression same as switch statment.
Dear All,
I am trying to get current system time, so far i wrote as follows:-
#include <stdio.h>
#include <sys\types.h>
void main( )
{
i am sorry i directly copied that code from original post.
Regards,
Shwetha
Dear All,
How many bytes following peace of code will take?
char *num[10] = { "One", "Two", "Three", "Four",
"Five", "Six", "Seven", "Eight", "Nine", "Ten" } ;
#include "stdio.h"
#include "stdlib.h"
int main(void)
{
char word[20];
int i;
scanf("%s", &word);
char names = '@';
printf("names = %c \n", names);
Dear All,
First time i read above two functions. what is the function of those two?
int main()
{
volatile int b;
int a;
b =3;
a = 3;
Dear All,
I have one doubt in static variable:-
file 1:- BSISCOOR_Coordinator_COMMON.C contains one variable
{
STATIC UWORD gs_BSISCOOR_CvrtCycCounter_UW;
...
For copying the string from source to destination.
always better use strncpy --> so that overflow can be avoided.
There are couple of mistakes in your code:-
1. Don't use condition for both if and else
if you want check multiple condition better to use if and else if combination.
2. you trying to...
Dear all,
What is the standard file to use memcmp? i am getting repeatedly "memcmp is undefined."
Please refer following code:
to meet your requirement.
#include "stdio.h"
int qualityPoints(int);
int main() {
Dear all,
I am unable to rectify the error in following code:-
void Add_int(int, int);
int main(int argc, char* argv[])
{
int (*function)( int, int);
No it is not possible to assign constant value to pointer.
int *ptr = 10 Will not work. since 10 is not associated with address.
pointer is not just variable it is variable it can...
Hello All,
I have small doubt in pointer, doubt as follows:-
int a;
int *ptr;
ptr = &a;
printf("%d", &a);
Dear All,
i have doubt in working of scanf:-
void main()
{
int a,b,c;
scanf("%1d %2d %3d",&a,&b,&c);
printf("Sum=%d",a+b+c);
Remove while loop..
main()
{
int fact = 1;
int i;
Dear All,
While analysing project code..i am not able to understand following peace of code..code any body help me out this?
#ifdef QAC
#pragma PRQA_MESSAGES_OFF 3409, 3410
#endif