Search:

Type: Posts; User: nadji

Search: Search took 0.01 seconds.

  1. Thread: char

    by nadji
    Replies
    2
    Views
    808

    char

    hello friends


    int main()
    {
    char*p;
    p="23";
    printf("%c",p[0]+p[1]);
    }
  2. Replies
    6
    Views
    1,994

    [code]#include #include main() { int i,j; ...

    [code]#include
    #include
    main()
    {
    int i,j;
    int array[n][m];
    n=6;
    m=8;
    clrscr();
    printf(" Enter i and j : ");
  3. Replies
    2
    Views
    1,002

    the correct code: scanf("%d",&array[i][j]);...

    the correct code:

    scanf("%d",&array[i][j]);
    printf(" Output = %d",array[i][j]);
  4. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    you can doing this with preview post

    you can doing this with preview post
  5. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    using separate text editor it doesn't work and ...

    using separate text editor it doesn't work and how i can change the line endings to windows style
  6. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    I'm writing my code using textarea provided by...

    I'm writing my code using textarea provided by the forum and i'm using linux ( debian)
  7. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    I'm using google chrome

    I'm using google chrome
  8. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    thank you grumpy but javascript enabled and the...

    thank you grumpy but javascript enabled and the problem not solved
  9. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    thank you AndiPersti but even when i press enter...

    thank you AndiPersti but even when i press enter after each line the code appear in the same line
  10. Thread: separate line

    by nadji
    Replies
    14
    Views
    1,918

    separate line

    hello, i want to know how to separate the line because when i put my code between the code tag all code appear in the same line like this
    int main(){printf("hello world");}
  11. Thread: protocol

    by nadji
    Replies
    1
    Views
    1,099

    protocol

    hello friends,when I want to create new socket i use the function socket defined as
    int socket ( int domain , int type , int protocol ) ;the problem i found three protocols:
    IPPROTO_IP=0and ...
  12. Thread: the socket

    by nadji
    Replies
    2
    Views
    960

    the socket

    hello, I want to develop a program that interact with the browser using the socket but I can't understand the difference between the two structure
    struct sockaddr { }and
    struct sockaddr_in { ...
  13. Replies
    6
    Views
    1,994

    thank you Salem but i don't understand why tab...

    thank you Salem but i don't understand why tab and tab* give the same result (with static two dimensional array)but with dynamic two dimensional array the result is quite different tab it give the...
  14. Replies
    6
    Views
    1,994

    thank' Matticus but tab is pointer to pointer...

    thank' Matticus but tab is pointer to pointer (tab pointer to *tab) and *tab is pointer to first element of tab (pointer to tab[0][0]) that's true?
  15. Replies
    6
    Views
    1,994

    two dimensional array

    hello friends and thank you in advance .I have declared two dimensional array
    int tab[2][2]={1,2,3,4};printf("%p",tab);printf("%p",*tab);the question:why tab and *tab give the same output result ...
  16. Thread: char error

    by nadji
    Replies
    4
    Views
    1,185

    thank's friends for help i will better in next...

    thank's friends for help i will better in next time
  17. Thread: char error

    by nadji
    Replies
    4
    Views
    1,185

    char error

    [code]int main(){int i,n;char c;int j,m,d;j=0;char**tab;printf("enter the value of n:\n");scanf("%d",&n);l;tab=(char**)malloc(n*sizeof(char*));for(i=0;i
  18. Thread: code error

    by nadji
    Replies
    4
    Views
    1,551

    code error

    [tag]
    int main(){int i;int*p;i=5;int &r=i;printf("%d",r);}[\tag]friends when i try to compile this code i get this errorerror: expected identifier or ‘(’ before ‘&’ token
  19. Thread: casting

    by nadji
    Replies
    4
    Views
    789

    casting

    struct student{int*f;};
    int main(){
    struct student*student;
    int*p;
    int i;
    i=9;
    p=&i;
    student->f=(student->f*)p;
    }
  20. Thread: socket

    by nadji
    Replies
    2
    Views
    848

    socket

    suppose the code



    #include
    #include
    #define a printf("\n")
    struct teacher{int id;};
    struct student{int id;char*name;};
    int main(){
  21. Thread: socket

    by nadji
    Replies
    2
    Views
    848

    socket

    I'm very confused the difference between :struct student*stud=(struct student*)&teach;and struct student*stud=(struct student*)teach;
Results 1 to 21 of 21