Search:

Type: Posts; User: 14341

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,399

    Thank you for the reply........ I once again...

    Thank you for the reply........

    I once again checked the two cases and i see that the result is inconsistent. Sometimes the output file is not blank and output's the result after sed's...
  2. Replies
    5
    Views
    1,399

    I need to write a shell script that automatically...

    I need to write a shell script that automatically changes the header file in a given list of files.

    I will be given a list of files containing "from.h"

    They will provide another header file say...
  3. Replies
    3
    Views
    2,409

    Is there any possibility to solve the above...

    Is there any possibility to solve the above problem using awk?
  4. Replies
    3
    Views
    2,409

    kidding uh! Dude i don't want to do it...

    kidding uh!

    Dude i don't want to do it manually.

    As a work around a c/cpp program can be written which can do the job. But i just want to know if i can achieve this with inbuilt unix tools or...
  5. Replies
    3
    Views
    2,409

    Joining consecutive lines

    Hi *,

    Can anyone tell me if there is an unix utility to join two consecutive lines ?

    ex:

    $ cat file
    a
    1
    b
  6. Replies
    5
    Views
    1,399

    Interesting question on sed

    Hi All,

    I have the following file.
    $ cat test
    #include "asd.h"
    #include "awr.h"
    #include "asfa.h"

    case 1:
  7. Thread: Poll event loop

    by 14341
    Replies
    2
    Views
    6,434

    It will execute inner while loop until...

    It will execute inner while loop until SDL_PollEvent(&event) is false.

    In the If conditions you are assigning values, you are not branching out.

    BTW, are you sure that event.type will always be...
  8. Thank you once again....... This means we...

    Thank you once again.......


    This means we will still get a warning ['function xxx' defined but not used] for the unused static methods defined in header files if they are unsuitable for...
  9. Thank you for the quick turn around....... ...

    Thank you for the quick turn around.......


    Nope, i don't have any such [ same name, namespace, and arguments] functions in my header file.

    Some of the functions in my header file are static....
  10. Thank you for the response........... ...

    Thank you for the response...........

    Substituting the static keyword with inline worked for me.

    I am not a big fan of using the attributes (compiler specific).

    i have one more doubt.

    Is...
  11. Help to remove the warning "x function defined but not used"

    Hi all,

    I need a small help in removal of the warning "Function xxx is defined but not used".

    Actual Problem:
    =============
    There is a header file (say a.h) in which some functions are...
Results 1 to 11 of 11