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

Search:

Type: Posts; User: raju2001006

Search: Search took 0.04 seconds.

  1. VBScript Re: Can not connect to SQL Server using WMI Services to Remote Computer

    Thanks a lot for your comments. As I hardly have info on "double-hop issue" - let me dig a bit and I surely will keep this post updated.
    Or, if you post any basic info on this, it would be really...
  2. VBScript Can not connect to SQL Server using WMI Services to Remote Computer

    I have a VBScript using which I was trying to connect to a server and try to run an EXE - this executable internally is connecting to a SQL Server.
    When I run this from my local computer it failed...
  3. Replies
    2
    Views
    1,577

    Re: How Do I Get A System Email Sent To Me?

    these are really good examples... thanks...
  4. Replies
    5
    Views
    2,093

    Re: Storing 2D char array

    Technically speaking, s[3][2] is not illegal - it's just not good practice to use such invalid array counters.

    You can actually assign something in s[3][2]; - but the Stack around s may get...
  5. Replies
    5
    Views
    2,093

    Re: Storing 2D char array

    Yes, exactly. The code will not get compiled.

    Now, if you define 'r' and 'c' outside the first for loop, at this point it shouldn't show any specific values -
    cout << s[r][c] ;
    coz, at this...
  6. Re: Using fstream to open a file that is created only during runtime

    If you still don't find any answers, I think, it's the time you can start debugging your code - debug it line by line and check every data against every variable to make sure this is what exactly you...
  7. Replies
    9
    Views
    2,441

    Re: Final Class in c++

    That's really a good way to do - "How can I set up my class so it won't be inherited from?"

    Well, I also never tried in this way, but what I suspect is that -
    - because of the virtual private...
  8. Re: Using fstream to open a file that is created only during runtime

    I think the issue here is with the -
    fin.open(donefile.c_str(), ifstream::in);
    line.
    According to your code, you have assigned the first argument as -
    tfile.assign(argv[1]);
    So, tfile contains...
  9. Replies
    6
    Views
    1,532

    Re: size of Polymorphic class

    Yes, you are right -
    gcc/g++ -fdump-class-hierarchy source_file.cpp
  10. Replies
    1
    Views
    2,122

    Re: StringGrid,delete last row

    As you just want to delete the last row, you can just point your last Row to the Second Last Row - as you have done in your code -
    // (2) remove the last row
    StringGrid1->RowCount =...
  11. Replies
    6
    Views
    1,532

    Re: size of Polymorphic class

    Yes, we can take data alignment as our source of issue here.
    But, if we look at the points Rajesh1978 has mentioned here -
    - it's a linux g++ compiler
    - it's 32bit compiler
    linux g++ compiler...
  12. Replies
    12
    Views
    3,637

    Re: Variable assigned wrong value?

    As I was looking into your code, I have found this line bit strange -
    circles = (int)( *angle / ( 2 * PI ) );
    As I was debugging the data comes as -
    radians = temp * ( 45.0 * PI / 180.0 );...
  13. Replies
    3
    Views
    2,294

    Re: StringGrid,Memo

    It was just an example, you could have modified it according to your need;
    anyway, I have deleted some part of code to deal with the exact requirement you have here -

    "I took only the first...
  14. Re: Can someone please help me with this coding?? Plz plz need help!!!

    This is your homework - so why don't you do it yourself?

    Anyway, just some hints for you to carry on (Q 2) -
    Use -
    #include <iostream>
    #include <fstream>

    sample code to read files -
  15. Replies
    3
    Views
    2,294

    Re: StringGrid,Memo

    Yes you can do that using similar code to this -


    int k=0;
    for (int rowint=0;rowint<StringGrid1->RowCount;rowint++)
    {
    for (int colint=0;colint<StringGrid1->ColCount ;colint++)
    {...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured