Search:

Type: Posts; User: dionys

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    3,416

    thanks my friend but is working for keys 1-90 ,...

    thanks my friend but is working for keys 1-90 ,
    for keys 91,92,93,94,95,96 i get chinese why? :confused:
  2. Replies
    10
    Views
    3,416

    p.s:i encode characters in the interval...

    p.s:i encode characters in the interval 32-127(ascii values)
    so an usnigned char array is useless...
  3. Replies
    10
    Views
    3,416

    i'm worried about the key..the key is any integer...

    i'm worried about the key..the key is any integer so i must use mod arithmetic
  4. Replies
    10
    Views
    3,416

    char *Ceasar_enc(char text[],int key) { char...

    char *Ceasar_enc(char text[],int key) {
    char *p=text;
    long int temp;

    while(*p){
    temp=(*p+key)%96+32;
    *p++=(char)temp;
    }

    return text;
  5. Replies
    10
    Views
    3,416

    no i dont understand :) sorry when the key...

    no i dont understand :)
    sorry

    when the key +ascii value are bigger than 127 then:result mod 96
    how i can get the original number?
  6. Replies
    10
    Views
    3,416

    Caesar's encoding problem

    I have an exercise that is based in Caesar's encoding method.
    I have to encode ASCII characters from:
    32 to 127 with any key.
    key may be [1, any integer].

    I made two functions one for encoding...
  7. Replies
    5
    Views
    1,074

    thanks a lot :) another thing... can you...

    thanks a lot :)

    another thing...
    can you implement int (*fuct())[20]
    in an example to understand what is going on(plz)?
  8. Replies
    5
    Views
    1,074

    question on recursive function

    Hi guys


    #include<stdio.h>


    void p(int n){

    if(n > 0){
    p(n - 2);
  9. Thread: linked lists

    by dionys
    Replies
    5
    Views
    1,111

    #include #include...

    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>



    struct lnode{
    struct lnode *next;
    int id;
    char *name,*address;
  10. Thread: linked lists

    by dionys
    Replies
    5
    Views
    1,111

    Re:

    I cant use this tip because the user must be able to create categories and give symbolic names not me.....
  11. Thread: linked lists

    by dionys
    Replies
    5
    Views
    1,111

    linked lists

    I have this prototype:
    struct node{
    struct lnode *next;
    int id;
    char *name,*address;
    char **phones;
    }
    the exercise says that the user must be able to create
    categories of linked lists
    i.e....
  12. question on linked lists(stack with linked lists)

    Hi Guys.I have some questions for this program.
    This program uses linked lists to construct a stack (lifo)
    I dont understand the bold part of the code:
    In general i dont understand why
    Pop()...
  13. Replies
    3
    Views
    1,332

    help on linked lists(structures)

    Hi guys ...can you tell me a good tutorial for linked lists(structures)
    because i'm very comfused.
  14. Replies
    2
    Views
    962

    problem with pointers

    THis is a program that splits a given string when it finds the
    delimiter.
    i.e this/is/a/boy/ delimiter is "/"
    this
    is
    a
    boy
    i dont know what is the error but is alocated in split()...
  15. thanks

    but you dont help a lot :)

    i tried but no results

    some source code will help a lot
  16. problem with pointers and strings (replace pattern program)

    Hi guys i need your help for this replace_pattern program.

    This is a program that takes a string
    i.e.:"The boy was sitting in the room"
    then it takes a string to compare
    i.e.:"the"
    Finally it...
  17. Replies
    0
    Views
    1,374

    problem on reverce polish notation

    This is a program for reverse polish calculator (K&R ch 4)
    This is a post fix calculator
    1.Additions deal with adding functions from math.h to the
    calculator.

    In anticipation of the following...
  18. Replies
    1
    Views
    2,808

    infix vs Reverse Polish notation

    Hi guys...

    I need your help...

    I have an assignment on reverse polish notation based on the
    K&R sec.edition book (chapter 4)

    Because i'm a beginner ...do you know where i can find any ...
  19. Replies
    2
    Views
    2,206

    Can find y this prog dont work properly?(plz)

    none
  20. Salem what is wrong?

    #include<stdio.h>
    #define WIDTH 25
    #define HEIGHT 15
    int main(void)
    {
    char star='*',space=' ';
    int y,x,c;
    double y_spot,x_spot;
    char my_graph[WIDTH][HEIGHT];
    for(y=0;y<HEIGHT;y++)
  21. Sorry

    sorry ! :)
    I REALLY APRECIATE YOUR HELP SALEM
    THANKS A LOT ):
  22. explain

    Draw it in memory before you draw it on screen

    Code:
    char paper[25][80];

    Start by filling this with spaces

    Then do
    paper[y][x] = '*';
    at the points you want to plot
  23. problem with plot a linear graph on the command line

    /*This program produce real numbers,x and y.
    The minimum number for x is 1,... and the maximum
    number is 14{...decimal places}because C is 15 spaces " "
    The minimum number for y is 1,... and the...
  24. Replies
    4
    Views
    10,339

    thank you all :) i will start to do all the...

    thank you all :) i will start to do all the things you set to me :)
    i have a long way....i'm a biginner
    :)
  25. Replies
    4
    Views
    10,339

    start printing my graph starting from the left down corner

    --------------------------------------------------------------------------------

    How i can start printing my graph starting from the left down corner
    and not from the top left corner?
    ( (0,0)...
Results 1 to 25 of 35
Page 1 of 2 1 2