Search:

Type: Posts; User: tvenki

Search: Search took 0.01 seconds.

  1. A C++ program in Solaris that cannot be ported to Linux

    Hi All
    Can anybody provide me links to some C++ programs in Solaris that cannot be ported to linux.

    Any help would be appreciated.

    Regards
    Venkat
  2. Thread: curses.h

    by tvenki
    Replies
    1
    Views
    1,554

    Could you please paste the code.I think if you...

    Could you please paste the code.I think if you could do that a lot of ppl here could help you out.
  3. Use a Comma Seperated File for the records and...

    Use a Comma Seperated File for the records and then using the comma and the newline operator as a delimiter you can read the data in.

    If you want to connect to the database directly there are many...
  4. Thread: alarm pipe

    by tvenki
    Replies
    2
    Views
    1,508

    Alarms are used in conjunction with signals to...

    Alarms are used in conjunction with signals to determine if an event has occured or not.

    If a signal triggers an event then it updates the alarmflag variable and the function alarm is used for...
  5. Thread: Keylock

    by tvenki
    Replies
    10
    Views
    1,715

    It is i would say OS specific.But if you intend...

    It is i would say OS specific.But if you intend doing it in DOS then you could use interrupts and scan codes for the keys to do this.

    Have a look here. http://vwop.port5.com/advanced/directkey.html
  6. Thread: Bus error

    by tvenki
    Replies
    6
    Views
    1,374

    Where is the code??? It seems from the errors...

    Where is the code???

    It seems from the errors you receive that there is a memory allocation problem somewhere.
  7. Thread: const var.

    by tvenki
    Replies
    6
    Views
    1,354

    I dunno how you got those results. I ran them on...

    I dunno how you got those results.
    I ran them on gcc on Linux and the results are as follows.

    In the first instance my complier gives me a error stating that l-value specifies a constant object....
  8. I would rather say that C is the best among the...

    I would rather say that C is the best among the programming languages out there.
    It makes a real man out of you.
  9. Replies
    9
    Views
    1,391

    It depends on the platform on which you want to...

    It depends on the platform on which you want to implement this.
    On Unix and associated flavors you could use a thread that starts at system startup and then forks a child process everytime a new...
  10. Thread: Help Needed

    by tvenki
    Replies
    2
    Views
    1,460

    Help Needed

    Hi all
    Just wanted to know if there are any specific C libraries that would help me in the development of intelligent agents.Specifically i am looking for some libraries that would help me in the...
  11. Thread: Listeners!!!!!

    by tvenki
    Replies
    8
    Views
    1,578

    One way you could do this is to implement a...

    One way you could do this is to implement a socket server that listens on that specified port and then based on the input it receives take appropriate action by executing the .bat file which could in...
  12. Thread: goto

    by tvenki
    Replies
    20
    Views
    4,417

    I absolutely agree with Hammer. There is a...

    I absolutely agree with Hammer. There is a classic paper in which the renowed computer scientist Dijkstra proves the harmful effects of GOTO and advocates the need to abolish them from all "higher...
  13. Thread: printf

    by tvenki
    Replies
    4
    Views
    1,118

    Yes.This is known as Variable argument lists...

    Yes.This is known as Variable argument lists functions.Please go through Lesson 17 in the tutorial section of this site for further clarifications.
  14. Replies
    4
    Views
    3,866

    I would rather prefer using calloc instead of...

    I would rather prefer using calloc instead of malloc.I have seen a number of instances when programmers use a combination of malloc and memset calls to allocate and initiliaze memory.I think of...
  15. I think that you could should use memset before...

    I think that you could should use memset before using memcpy.
  16. Replies
    13
    Views
    3,130

    Hi I think that you should use the MSDN Library...

    Hi
    I think that you should use the MSDN Library especially the Dr GUI articles.They would suffice i guess.The MSDN collection contains enough information about VC++.net i guess.

    Regards
    Venkat
  17. Hi Aarti I think u cud change ur code to...

    Hi Aarti
    I think u cud change ur code to something like this.Use a loop to find if any key is pressed and if that key is a direction key then take appropriate action required.Just use something like...
  18. Thread: UML Diagrams

    by tvenki
    Replies
    2
    Views
    1,233

    UML Diagrams

    Hi All
    I have a problem in determing class relationships. The use case is as follows.

    There is a machine which is controlled by a computer. The machine takes input parameters such as a beam...
Results 1 to 18 of 18