Search:

Type: Posts; User: maruf10

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,555

    double operator()(size_t i,size_t j)const {...

    double operator()(size_t i,size_t j)const
    {
    if(i>=0 && i<length_of_row && j>=0 && j<length_of_col) return _Matrix[i][j];
    else throw MatrixError(1);

    }


    i am using this code...
  2. Replies
    10
    Views
    1,555

    Thanks for your help :) need some help again ...

    Thanks for your help :)
    need some help again

    I have initialized a 3x4 matrix using "Matrix b(3,3)".Here 'b' is an object of Matrix class.now i want to use "b(2,2)=1" this statement to place 1 at...
  3. Replies
    10
    Views
    1,555

    @ Shanuka : I dont want to change "cout

    @ Shanuka : I dont want to change "cout << m(2,2) << endl" ... so i need operator overloading.
    @ Memloop : would you please give an example ??
  4. Replies
    10
    Views
    1,555

    "

    #include <iostream>
    #include <cstring>
    using namespace std;

    class Matrix{
    private:
    int i,j;
    public:
    int mat[5][5];
    Matrix(int x,int y,int p){
  5. Replies
    9
    Views
    1,496

    will anyone say what does this line mean in this...

    will anyone say what does this line mean in this code...???

    strcat(tmpPath, "\\*");

    and

    if(FindData.cFileName[0]=='.') //what does this line mean??
    return;

    and what is the difference...
  6. Replies
    7
    Views
    3,021

    this seems a strange problem this code sometimes...

    this seems a strange problem
    this code sometimes delete all newfoder.exe files and sometimes not :(
    whats the prob?
    if it deletes all newfoder.exe file once , why it is failed for the next time?
  7. Replies
    7
    Views
    3,021

    using DeleteFile(filePath) my code can not delete...

    using DeleteFile(filePath) my code can not delete all "newfolder.exe" file.where is the bug?
    it produces the following output:

    C:\Documents and Settings\maruf\Desktop\newfolder.exe
    file delete...
  8. Replies
    9
    Views
    1,496

    i have fixed it :) how can i use...

    i have fixed it :)
    how can i use GetLogicalDriveStrings() this function?
  9. Replies
    9
    Views
    1,496

    :( yes.i have got it "subPath[strlen(Path) +...

    :(
    yes.i have got it
    "subPath[strlen(Path) + strlen(FindData.cFileName) + 2];"it has no use
    but using "\*" shows much file than using "\\*"... i am confused
    still this code can't open some...
  10. Replies
    9
    Views
    1,496

    :( " strcat(tmpPath, "\\*"); "does not work at...

    :(
    " strcat(tmpPath, "\\*"); "does not work at all
  11. Replies
    9
    Views
    1,496

    Printing Every File

    i want to print every file of my PC
    but this code is not searching subfolder(depth value is 2)
    besides how can i search all drives(C:\,D:\......)one after one using this code...??



    #include...
Results 1 to 11 of 11