Search:

Type: Posts; User: g33k

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    890

    Pointer Question..

    Here is my code


    int main()
    {
    int m, *k;
    m = 10;
    k = &m;
    printf("Address of m is : %d %d %d",&m, k, &(*k));
  2. Thread: fgets ?

    by g33k
    Replies
    2
    Views
    1,018

    The stuff is executed only if fgets() gets a...

    The stuff is executed only if fgets() gets a non-null value from the standard input.
    If you want some error to be printed in case a null string was input try this :


    if(fgets(mychar,...
  3. Replies
    3
    Views
    17,314

    Try this link :...

    Try this link : http://ocw.mit.edu/OcwWeb/Global/OCWHelp/help.htm#26
  4. Replies
    12
    Views
    2,560

    Just use a getchar...

    Just use a getchar (); before the return statement in main()
    I think orange already showed that in code !!


    int main()
    {

    /* Your code Here*/

    getchar(); // The program waits for a user...
  5. Replies
    9
    Views
    41,901

    if you wanna intergrate a polynomial then do the...

    if you wanna intergrate a polynomial then do the following:

    store f(x) in a linked list..with the index of each term..and the coefficient of x


    struct poly
    {
    int val; // to store the...
  6. Replies
    3
    Views
    1,458

    For advanced graphics, go for OpenGL...

    For advanced graphics, go for OpenGL..to use opengl in dev-cpp, here is a tutorial ZeusCMD OpenGL Tutorial..
Results 1 to 6 of 6