Search:

Type: Posts; User: kjayasekhar

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,098

    how does c function knows

    how does c function knows which function has made a call to it..

    Is there a way??

    just curious to know..

    thanks
  2. Replies
    1
    Views
    992

    C++ project

    Hello,

    I have been doing for the past 2 years some C programming and basically into system side. Now recently started learning C++ and want to do a simple project in it (just for practise).

    I...
  3. Replies
    7
    Views
    1,735

    Do like this: U will understand the problem. ...

    Do like this: U will understand the problem.

    Enter first no: Enter any thing here (let 2)
    Enter second no: Y /* Enter 'Y' Here*/

    2 * 0 = 0

    Try Again? Y/N
    Enter First No. :
  4. Thread: bit fileds

    by kjayasekhar
    Replies
    1
    Views
    916

    bit fileds

    hello,

    I my program I wanted to use bitfileds. each member in the structure has to take 2 bits and I wanted use 16 such members. Since every member requires 2 bits I tried to do like this:


    ...
  5. Thread: licensing

    by kjayasekhar
    Replies
    2
    Views
    1,652

    licensing

    How to write a licencng program.

    Let us say if I want to sell a product to a perticular customer and wants that product shud be expired after a month.
    how I can do this.
    If program checks local...
  6. Replies
    8
    Views
    6,071

    Infact u can reduce the no of iterations of for...

    Infact u can reduce the no of iterations of for loop:


    #include<math.h>
    int j;

    j = log10(target)/log10(2); /*gives no of bits required to store target*/
    for(i=(j-1);i--;){
    if(target & (1 <<...
  7. Replies
    5
    Views
    1,393

    I thought its better to post my doubt in this...

    I thought its better to post my doubt in this thread rather than going for another...well,,,

    U do one-way encryption or whatever to store the expiry date.
    And what i understood is ultimately this...
  8. Replies
    4
    Views
    1,034

    thanks for ur reply... here what i want to...

    thanks for ur reply...

    here what i want to know is

    whether "argc" and "argv" are keywords...or I can use any names....
    I got this doubt just now and I dont have C compiler to test it.

    thanx
  9. Replies
    4
    Views
    1,034

    command line args

    Hi,

    every where I see



    int main(int argc, char *argv[])
  10. Replies
    2
    Views
    3,119

    I guess its just like %3d, %4d...we write for...

    I guess its just like %3d, %4d...we write for decimals...
  11. Replies
    11
    Views
    1,315

    #define PH_NO_LENGTH int main() { char...

    #define PH_NO_LENGTH
    int main()
    {
    char *ph_no;
    char responce;
    printf("Do u want to know ur ph no: "Y" or "N" ");
    scanf("%c", &responce);
    if(responce == 'Y' || responce...
  12. Replies
    11
    Views
    2,087

    here's ur mistake

    chars once it is incremented..must be reset back to 1..to get the expected output...

    do it and run...
  13. Replies
    2
    Views
    1,407

    hellow world

    How u write Hello world program without using semicolons (;) in ur program....

    Hello i wanted u to write in C... I mean C compiler has to accept ur code.....
Results 1 to 13 of 13