Search:

Type: Posts; User: Fatima Rizwan

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Printing all the variable names in a program.

    Hello,
    I want to write a program that will print all the variable names used in that code. Just like "who" in MATLAB prints all the variables used in the program.
    Please guide me a bit.
  2. Replies
    6
    Views
    11,613

    #include using namespace std; ...

    #include <iostream>

    using namespace std;

    class Matrix
    {
    int rows;
    int columns;
    int **matrix;
    public:
  3. Replies
    6
    Views
    11,613

    Matrix operator + (const Matrix &a,const Matrix...

    Matrix operator + (const Matrix &a,const Matrix &b)

    Error:binary 'operator +' has too many parameters.
  4. Replies
    6
    Views
    11,613

    Matrix Class Operator Overloading.

    Hello, I am making a matrix class with basic operations like addition, subtraction, Multiplication.
    I have made a constructor that takes as input the rows and columns. I am done with
    most of the...
  5. Thread: WFA help

    by Fatima Rizwan
    Replies
    1
    Views
    1,766

    WFA help

    Before coming to the real problem. Let me tell you that I am a newbie to C#, I have C++ and OOP concepts.
    I am given a task (Not a homework assigment) to make a windows form application that takes...
  6. Replies
    1
    Views
    1,072

    How to Add a picture?

    I am working on Microsoft Visual C++ 2010.
    I have made a Win32 Console Application project. I just wanted to Know is there anyway to add a picture in the code. JPEG file etc etc.
  7. Replies
    4
    Views
    946

    Tree Search

    I am working on A tree search funtion. Currently I am just trying to see whether its working or not. Like I have added data in root node and now i am comparing it with the input. But the If condition...
  8. Replies
    6
    Views
    1,240

    Didn't get you , How to involve the root. Plus I...

    Didn't get you , How to involve the root. Plus I m making the tree of height 2.
  9. Replies
    6
    Views
    1,240

    Tree Insert

    I have made a class of tree with 12 children. I insert the data in the tree systematically, Like first root, then first children , second children, and so on.
    I am having problems in coding this...
  10. Replies
    3
    Views
    5,762

    Help -- Red Black Tree

    hello,
    I hope everyone is fine. =)
    I have made a red black tree code, with the basic functionalities of insertion, deletion and Search. Presently, I am not getting any error, but when the code...
  11. Replies
    6
    Views
    6,958

    Kindly Indent your code , and use code tags.

    Kindly Indent your code , and use code tags.
  12. Replies
    1
    Views
    1,080

    Postfix help!!

    I want to make a stack based Postfix to infix converter. I don't know how to start with it. Presently I have a class of stack. Thats all.
    Can anybody help me with the algorithm.
  13. Replies
    5
    Views
    2,631

    Ok thnks . And what about the second problem ...

    Ok thnks . And what about the second problem


    if (first->exponent == second->exponent )
    {
    result->coefficient =first->coefficient - second->coefficient;...
  14. Operator overloading Polynomials Doubly linked list

    Hi , I posted previously this problem, but dint get help , so i m posting it again , hoping i will be helped.
    I have created a doubly linked list of polynomials. Now I m done with the basics.
    I...
  15. Replies
    5
    Views
    2,631

    I have made a doubly linked list of polynomials...

    I have made a doubly linked list of polynomials and now i am using operator overloading to add two polynomials. The add function see its the exponents of the two polynomials are same and then add...
  16. Replies
    5
    Views
    2,631

    I dun know how to work with the templates i would...

    I dun know how to work with the templates i would be thankful, if u point out where my code needs to changed i would be thnakful.
  17. Replies
    5
    Views
    2,631

    Insertion sort

    void insertionSort()
    {
    node* temp=head;

    while(temp->next != NULL)
    {
    node* second =temp->next;
    if (second->exponent==temp->exponent)
    {
    temp=temp->next;
  18. Replies
    6
    Views
    1,450

    how ??

    how ??
  19. Replies
    6
    Views
    1,450

    void Sort() { node* first; node* second;...

    void Sort()
    {
    node* first;
    node* second;
    node* temp;

    first=head;

    while(first->next!=NULL)
    {
  20. Replies
    6
    Views
    1,450

    Linked List

    I have made a linked list with the following functions.

    class node
    {
    public:
    int data; node* next;
    };

    class linkedList: public node
    {
  21. Replies
    3
    Views
    1,764

    cout

    cout<<"Press number for required drive\n";

    cout<<"1:---------------- DRIVE C\n";
    cout<<"2:---------------- DRIVE D\n";
    cout<<"3:---------------- DRIVE E\n";
    cout<<"4:---------------- DRIVE...
  22. Replies
    3
    Views
    1,764

    How to move axis !

    Just wanted to know how to move the axis , I want my program text appear at the centre of the window, I m workin on visual C++ 2010 beta.
  23. Thread: Strcmp

    by Fatima Rizwan
    Replies
    16
    Views
    2,838

    string* getFname() { ...

    string* getFname()
    {

    if((hfile=_findfirst("C:/tr1/*.txt",&c_file))==-1)
    {}

    else
    {
    int position=0;
    str[0]=c_file.name;
  24. Thread: Strcmp

    by Fatima Rizwan
    Replies
    16
    Views
    2,838

    I have made the amendments now if I have found...

    I have made the amendments now if I have found the word required in file, i want to output its attributes. like file name, its location , time it was creatd , its size etc. Kindly help me with this.
  25. Thread: Strcmp

    by Fatima Rizwan
    Replies
    16
    Views
    2,838

    Ok, thanks Now if the given string is found in...

    Ok, thanks
    Now if the given string is found in the file. I want to print all the attributes of that file.
    Is there any function for this purpose?Any help!


    #include <iostream>
    #include...
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4