Search:

Type: Posts; User: vinit

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: simple C program

    by vinit
    Replies
    9
    Views
    1,482

    Are u hitting enter key after pressing x???

    Are u hitting enter key after pressing x???
  2. Thread: please help

    by vinit
    Replies
    1
    Views
    1,125

    give ur try to t,before posting,where u've...

    give ur try to t,before posting,where u've stucked???
    All are here to help u but nobody gonna do assignment for u.
    post ur code
  3. Thread: simple C program

    by vinit
    Replies
    9
    Views
    1,482

    U have't accepted value for "keypress" Add...

    U have't accepted value for "keypress"
    Add statement scanf("%s",&keypress); after last printf(); then it should work
  4. Thread: ASCII Display

    by vinit
    Replies
    6
    Views
    1,889

    if u encounter /t then print it as printf("\t");...

    if u encounter /t then print it as printf("\t"); it will do fine.
  5. Replies
    7
    Views
    4,352

    @fnoyan : Yes ur right. But at any case an...

    @fnoyan : Yes ur right. But at any case an instance or a process exits OS cleansup it process space.
    So the answer to question answer should be yes.
    what say u?
  6. Replies
    7
    Views
    4,352

    On exit OS cleansup everything.

    On exit OS cleansup everything.
  7. I have'nt allocated memory for msg1,then also it...

    I have'nt allocated memory for msg1,then also it gives same output.As Im not accessing further elements from msg1 it works.
  8. No warning appeared to me.Im using gcc 3.4.3 on...

    No warning appeared to me.Im using gcc 3.4.3 on RHEL4,even I turned -Wall option.
  9. Thread: structs

    by vinit
    Replies
    21
    Views
    2,833

    try this...

    try this menu->headCategory->headitem->prices[index].dollars
  10. Replies
    2
    Views
    1,097

    Because statement printf("%d ",1[a]); is...

    Because statement

    printf("%d ",1[a]);
    is equivalent to

    printf("%d ",a[1]);
    & is valid statement in C
  11. Replies
    2
    Views
    1,767

    Agree to it but,thing is I want to take...

    Agree to it but,thing is I want to take experience of developing distributd application.I really dont have any specifics about it I just wanna try to develop it or help somebody to develop it thats...
  12. Replies
    2
    Views
    1,767

    small Distributed computing utilies

    Hi all,
    I am interested in development of small distributed computing applications or utilities for linux.
    I have heard of distributive make utility but its already developed.
    Yes ofcourse its not...
  13. Replies
    12
    Views
    1,729

    We are certainly not here for arguements,wll If...

    We are certainly not here for arguements,wll If I've said someting which is not right , then u can say "it was wrong" that will do,No need to use harsh words.Anyways thanks for correcting me,I've...
  14. Replies
    12
    Views
    1,729

    Well was really unnecessary.Im not master of...

    Well
    was really unnecessary.Im not master of all here,that was my opinion.Anyways Thanks for ur answer on Ex_oring. However I guess encryption are not done by single key all time,until & unless...
  15. Thread: punctuation

    by vinit
    Replies
    4
    Views
    1,219

    indeed buffer[0]=' \0'; causes buffer[0] to...

    indeed
    buffer[0]=' \0'; causes buffer[0] to content NULL character indicating end of string.So does fprintf(); cause to print nothing or blank as at very beginning i.e. buffer[0] it receives...
  16. Replies
    4
    Views
    1,515

    try putting temp_ptr = temp; before entering...

    try putting
    temp_ptr = temp; before entering while(1) loop.I guess That will do it.

    Thanks & Regards
    Vinit.
  17. Replies
    12
    Views
    1,729

    I know very simple & yet effective algorithm,...

    I know very simple & yet effective algorithm,
    Just Ex-Or input with known string & result will be encrypted string, on reception again Ex-or with same string to get original string.
    U can Ex-or it...
  18. Replies
    6
    Views
    2,860

    d = (x/y); instead of try this d =...

    d = (x/y);

    instead of try this
    d = (float)(x/y);
  19. Replies
    5
    Views
    1,297

    Jafet is right, just keep in mind about sign &...

    Jafet is right, just keep in mind about sign & unsigned
    e.g. if int is tored in two bytes then its range is "-32768 to +32767" (signed int) i.e 2^15
    if unsigned int then its "0 to 65535" i.e 2 ^ 16
  20. Replies
    3
    Views
    2,782

    Announcement: Forum Guidelines. Read before...

    Announcement: Forum Guidelines. Read before posting
    Announcement: Homework

    Refer to thread created by sherwi = How to create a FILE?newbie question.. its some what similar.
  21. Replies
    7
    Views
    2,396

    In that case U've to write code which will...

    In that case U've to write code which will include plenty of fseek(); to get to actaul position in file & replace them with new values of ur own.For that use file opening mode as "wb", so that U can...
  22. Replies
    10
    Views
    2,340

    mU can think of modifying ur function...

    mU can think of modifying ur function strtok(input, " "); as

    void strtok(input," ",char *dest) {
    /* Ur code */
    }
    call it by
    strtok(input," ",&cmd.command);
    strtok(input,"...
  23. Replies
    10
    Views
    2,340

    Pass address of cmd.command i mean string to...

    Pass address of cmd.command i mean string to function as follows
    something like



    strtok(char *p,NULL, " ") {
    /* char *p is pointer to cmd */}


    & u call it as...
  24. Replies
    10
    Views
    2,340

    cmd.command = strtok(input, " "); What value...

    cmd.command = strtok(input, " ");

    What value ur returning from strtok(); ??? If ur returning "char *" then obviously u'll get such error,cause ur returning "char *" which is local in strtok()...
  25. Replies
    7
    Views
    2,396

    If u want to replace some bytes then u can use...

    If u want to replace some bytes then u can use hex editor to edit samples.
Results 1 to 25 of 40
Page 1 of 2 1 2