Search:

Type: Posts; User: shwetha_siddu

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,338

    Regarding Installing Dev C++ compiler

    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"
    ...
  2. Replies
    4
    Views
    1,128

    Right shift by 15 times contents of tmp

    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;
  3. Replies
    4
    Views
    1,622

    It works..

    Hi it works, but i am wondering where do you need such applications?
    its no of use.

    Regards,
    Shwetha
  4. Replies
    35
    Views
    5,581

    Hello

    Just replace scanf_s ---> scanf.
    it will work fine.

    Regards,
    Swetha
  5. Replies
    6
    Views
    1,681

    Run time error?

    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>
  6. What is the meaning of following declaration?

    Dear All,
    What is the meaning of following declaration?

    [code]
    #ifndef __FPS_CONFIGURATION_PROJECT_CDF_
    #define __FPS_CONFIGURATION_PROJECT_CDF_

    [\code]
  7. Replies
    4
    Views
    2,713

    Confusion in code

    Hello,



    if (message[j] == 65+x || message[j] == 65+x+32)
    {
    Printf("TeDeNg\n");
    counter[x]++;
    x=27;
    }
  8. Replies
    2
    Views
    2,077

    Error while ' char far'

    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'...
  9. I think problem is char *dst[n]; with...

    I think problem is char *dst[n]; with statement.
    It requires constant expression same as switch statment.
  10. Replies
    1
    Views
    4,130

    Getting todays date in C?

    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( )
    {
  11. Replies
    14
    Views
    1,169

    i am sorry i directly copied that code from...

    i am sorry i directly copied that code from original post.

    Regards,
    Shwetha
  12. Replies
    2
    Views
    1,469

    Size of fixed size object?

    Dear All,
    How many bytes following peace of code will take?




    char *num[10] = { "One", "Two", "Three", "Four",
    "Five", "Six", "Seven", "Eight", "Nine", "Ten" } ;
  13. Replies
    14
    Views
    1,169

    Hi this could work for you

    #include "stdio.h"
    #include "stdlib.h"

    int main(void)
    {
    char word[20];
    int i;
    scanf("%s", &word);
    char names = '@';
    printf("names = %c \n", names);
  14. Replies
    1
    Views
    1,177

    Usage of setjmp(buf) and longjmp?

    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;
  15. Replies
    1
    Views
    3,918

    Static variable usage

    Dear All,
    I have one doubt in static variable:-

    file 1:- BSISCOOR_Coordinator_COMMON.C contains one variable
    {

    STATIC UWORD gs_BSISCOOR_CvrtCycCounter_UW;
    ...
  16. Replies
    5
    Views
    1,494

    Use strncpy.

    For copying the string from source to destination.
    always better use strncpy --> so that overflow can be avoided.
  17. Replies
    5
    Views
    8,547

    Replace else ---> else if

    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...
  18. Replies
    3
    Views
    2,518

    Where is the defination of memcmp?

    Dear all,
    What is the standard file to use memcmp? i am getting repeatedly "memcmp is undefined."
  19. Replies
    13
    Views
    5,890

    Please refer following code: to meet your...

    Please refer following code:
    to meet your requirement.




    #include "stdio.h"
    int qualityPoints(int);
    int main() {
  20. Replies
    2
    Views
    1,204

    What is the mistake in following code?

    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);
  21. Replies
    5
    Views
    1,982

    It is not possible to assign following way.

    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...
  22. Replies
    5
    Views
    1,982

    Doubt in pointer.

    Hello All,
    I have small doubt in pointer, doubt as follows:-




    int a;
    int *ptr;
    ptr = &a;
    printf("%d", &a);
  23. Replies
    2
    Views
    1,158

    Input doubt?

    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);
  24. Replies
    6
    Views
    2,554

    Remove while loop.. main() { int fact...

    Remove while loop..



    main()

    {
    int fact = 1;
    int i;
  25. Replies
    4
    Views
    4,343

    Meaning of Code Lines

    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
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4