CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: shivabharat

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    583

    Trigger Err.....

    Hi all,

    I am very new to oracle DB

    I was trying to write a trigger but got error.

    What I am trying to do is before insert of each row I would like to add the system date to a column.

    I...
  2. Thread: Date Diff

    by shivabharat
    Replies
    4
    Views
    1,857

    Hi

    Thanks for the reply but will I be able to diff two dates?

    Can you show me an example which can help me.
  3. Thread: Date Diff

    by shivabharat
    Replies
    4
    Views
    1,857

    Date Diff

    Hi all,

    I am trying to get difference between two dates

    I was trying to achieve this in oracle but couldnt find any function which does this.

    can anyone share idea on achieving this?

    Note...
  4. Replies
    1
    Views
    991

    Check process instance

    Hi all,

    How do I check for a process instance in UNIX?

    Regards
    Shiva
  5. Replies
    1
    Views
    538

    Getting command output

    Hi,

    I am trying to issue a command and would like to check the outcome of the command i issued

    for example

    if issue this command

    who -r
  6. Replies
    5
    Views
    2,887

    This did the trick Thanks for all your inputs...

    This did the trick

    Thanks for all your inputs

    #include <sys/types.h>
    #include <sys/stat.h>

    int main()
    {
  7. Replies
    5
    Views
    2,887

    getting file size in unix

    I am trying to get file size in unix environment how do I do it?

    can anyone put in a sample code if any?
  8. Thread: Winsock

    by shivabharat
    Replies
    0
    Views
    535

    Winsock

    Hi all,

    Is there any way to implement asynchronous socket in visual basic?

    Let me explain what I am trying to do.

    I have a server component which talks with a device and collect details. Now...
  9. Replies
    12
    Views
    1,252

    Adding this line will avoid the padding bytes ...

    Adding this line will avoid the padding bytes


    #pragma pack(1)

    :cool:
  10. Replies
    12
    Views
    1,252

    padding bytes

    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
    typedef struct {
    int a;
    int b;
    int c;
    char ch;
  11. Replies
    28
    Views
    9,597

    Let me put in some of my views As said by most...

    Let me put in some of my views

    As said by most of the members probelm solving approach is the main issue that is to be considered.

    If you are good in logical thinking and are aware of SE...
  12. Replies
    3
    Views
    743

    To add if you dont use it thsi way new...

    To add if you dont use it thsi way

    new MyPointer[512];
    some code...
    delete [] MyPointer;

    I dont think the compiler will flash error .......

    there is a chance of your heap getting corrupt
  13. Replies
    3
    Views
    595

    Virtual Class Size

    #include <iostream.h>

    class base
    {
    };

    class derived:virtual public base
    {
    };
  14. Thread: Modules

    by shivabharat
    Replies
    2
    Views
    379

    Modules

    This question was asked to one of my friend in the interview.

    How is inter module communication achieved?

    How do a module know that which module is calling it?

    Can any throw some light on...
  15. Replies
    8
    Views
    689

    There is something called "CONST Correctness" ...

    There is something called "CONST Correctness"

    "CONST Correctness" is using the keyword const to prevent const objects from getting mutated.

    So it always a good practice to use const whenever...
  16. Replies
    9
    Views
    699

    How about this ? #include ...

    How about this ?




    #include <iostream.h>
    #include <stdlib.h>

    class Base
    {
  17. Replies
    7
    Views
    594

    :D Yup I made a mistake...... :eek:

    :D Yup I made a mistake......

    :eek:
  18. Replies
    7
    Views
    594

    Try this class Mammal { public: virtual...

    Try this



    class Mammal
    {
    public:
    virtual void speak();
    .....
    };
  19. Replies
    6
    Views
    641

    #include class base { private:...

    #include <iostream.h>

    class base
    {
    private:
    base()
    {
    cout<<"Base"<<endl;
    }
  20. Replies
    2
    Views
    513

    Cool :cool: Thanks a lot for sharing Ideas :)

    Cool :cool: Thanks a lot for sharing Ideas :)
  21. Replies
    6
    Views
    641

    Private Constructor

    I am trying to use the base clss from derived. I was successfull in doing that using friend class but when I try the same using private inheritance I get errors. Can anyone show me how to use the...
  22. Replies
    2
    Views
    513

    C++ Questions

    1.Why would you wish to make a constructor private?

    2. What is a copy constructor? How do you prevent a class from being copied?

    3.What is singleton class? Why do you use it?



    Appreciate...
  23. Thread: Ipc

    by shivabharat
    Replies
    1
    Views
    448

    Ipc

    Quick Question

    I have a screen develpoed in VB 6.0

    Now I need to create an application which will actually extract certain value which appears on the screen.

    So how do I achive this?

    Can...
  24. Replies
    3
    Views
    526

    cool Thnx :)

    cool Thnx :)
  25. Replies
    3
    Views
    526

    printf("Hello "+ 100); I tried this and got...

    printf("Hello "+ 100);

    I tried this and got this :confused:



    ss a function call. This is usually a result of calling a function declared with one calling convention with a function pointer...
Results 1 to 25 of 69
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured