Search:

Type: Posts; User: rukshan

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,173

    still i cannot understand different between...

    still i cannot understand different between test1(int p) and test2(int& p).
    what is the different between int p and int& p which are passing as arguments
  2. Replies
    10
    Views
    1,173

    output :test - 2 test1 - 2 ...

    output :test - 2
    test1 - 2
    test2 -2


    Answer one is according to pointer Arithmetic .I can understand that.
    Answer 3 is according to normal integer passing.What i think...
  3. Replies
    10
    Views
    1,173

    below is my testing code.in here test will take a...

    below is my testing code.in here test will take a pointer as argument.but what is the different between test1 and test 2.both take integers as argument.i cant understand different between them.thank...
  4. Replies
    10
    Views
    1,173

    there is a different but i cannot...

    there is a different but i cannot understand.please someone help me with the explanation
  5. Replies
    10
    Views
    1,173

    different between passing a pointer

    lets take method test which returns int

    int test(int * p);
    int test(int& p);

    please can someone explain the different between above two stateme
  6. give me some link to reffer

    give me some link to reffer
  7. How to implement brk() system call from the scratch

    for my project i need to implement brk() system call.Is there any C/C++ code to implement that?please this is really urgent?

    Thank you
  8. Replies
    4
    Views
    1,934

    i searched but i couldn`t find a good one.There...

    i searched but i couldn`t find a good one.There are some jvm s with lots of code files which are not that much simple.please some body help.
  9. Replies
    4
    Views
    1,934

    Need a very simple jvm

    hi,
    i need a very simple jvm for my project(porting a jvm on a micro-kernel).for testing purpose it should be very simple.i mean the jvm.As a example a jvm which can run very simple java hello...
  10. Replies
    13
    Views
    1,073

    hope i got the answer .Thanx every one.

    hope i got the answer .Thanx every one.
  11. Replies
    13
    Views
    1,073

    actually this is my original problem.when i use...

    actually this is my original problem.when i use scanf



    int x
    scanf("%i",&x);//here we use &x as pointer to x


    but for below example
  12. Replies
    13
    Views
    1,073

    what is that mean can you explain it using a...

    what is that mean can you explain it using a example .
  13. Replies
    13
    Views
    1,073

    thanx memcpy.Then somebody can tell me how to...

    thanx memcpy.Then somebody can tell me how to print "a" variable`s address.(where "a" located ? i mean not a[0] just variable "a")
  14. Replies
    13
    Views
    1,073

    please sombody help me

    please sombody help me
  15. Replies
    13
    Views
    1,073

    doubt about char array(about pointers)

    hi,
    this is my simple code



    #include<stdio.h>

    int main()
    {
    char a[10];
  16. Replies
    3
    Views
    2,982

    hei thank you soooo much .i fixed it out

    hei thank you soooo much .i fixed it out
  17. Replies
    3
    Views
    2,982

    stuck with conflicting types for

    when i compile the code i get this error


    strlen.c:4:5: error: conflicting types for ‘strlen’
    strlen.c:13:5: error: conflicting types for ‘strlen’

    ...
  18. Replies
    5
    Views
    2,008

    thanx mr shashikumar.i jst saw it.i found it.any...

    thanx mr shashikumar.i jst saw it.i found it.any way thank you very much for the response.hope you l help in future also.
  19. Replies
    5
    Views
    2,008

    ok i found it.i included here string.h.it has...

    ok i found it.i included here string.h.it has same method called strcat().im new to C.i didnt know that.then i changed strcat to another name now it comp[iles properly.may be some newcommer like me...
  20. Replies
    5
    Views
    2,008

    please sombody help me

    please sombody help me
  21. Replies
    5
    Views
    2,008

    about conflicting errors

    i wrote programme to concatenate two strings.when i compile it it gives error:conflicting types for 'strcat'.please some body help me to solve it.
    my code is




    #include<stdio.h>...
  22. Replies
    7
    Views
    3,424

    thank you very much MR.fader.i got it.thanx again

    thank you very much MR.fader.i got it.thanx again
  23. Replies
    7
    Views
    3,424

    finally i found it.its about .thank you...

    finally i found it.its about <string.h>.thank you mr salem for the help.
  24. Replies
    7
    Views
    3,424

    i changed the code as follow.but it remains(i...

    i changed the code as follow.but it remains(i change '\0' to'\n').please some body help me.
    #include<stdio.h>
    #define MAX 100
    int strlen(char s[]);
    main()
    {
    char s[MAX];
    int c;
    ...
  25. Replies
    7
    Views
    3,424

    thank you mr salem .in c programming languages...

    thank you mr salem .in c programming languages book by kerninigan and ritche it says every string is array a of characters.so in their example is like this(to find length)

    int strlen(char s[])
    {...
Results 1 to 25 of 26
Page 1 of 2 1 2