Search:

Type: Posts; User: waqas94

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,219

    So which function should i use ?

    So which function should i use ?
  2. Replies
    5
    Views
    3,219

    bubble sorting of strings

    Hey Guys! I have to read data from a text file, load it into an array and then bubble sort it! Here is my code:



    #include <iostream>
    #include <string>
    #include <fstream>
    using namespace std;...
  3. Replies
    5
    Views
    797

    Bro, I have initialized the object like u...

    Bro, I have initialized the object like u mentioned above but it gives an error:


    Person* person[10];
    for (int i=0; i<5; i++)
    {
    person[i] = new Student("waqas","waqas93","A");
    ...
  4. Replies
    5
    Views
    797

    Instantiating objects

    Hi There! I am facing problem in initializing the objects of a class. The question is :

    Make a Person Class that stores the name and email address of a person. Add any appropriate methods. Create...
  5. Replies
    9
    Views
    1,368

    Not working!

    Not working!
  6. Replies
    9
    Views
    1,368

    How to store No_Of_Players at a class level ??

    How to store No_Of_Players at a class level ??
  7. Replies
    9
    Views
    1,368

    dealing with dynamic arrays

    Hi there! I have a problem in dealing with dynamic arrays. I have initialized the objects and now i want to print them.



    // main
    char* namesList[] = {"Brad Shaw","Aimen Adams","Sal...
  8. Thread: constructors

    by waqas94
    Replies
    14
    Views
    1,657

    what should i do to the constructor in the main...

    what should i do to the constructor in the main function?
  9. Thread: constructors

    by waqas94
    Replies
    14
    Views
    1,657

    constructors

    Hi there! i am facing a problem when i call the overloaded constructor from the main function. For example:





    const char* namesList[5]= {"Brad Shaw","Aimen Adams","Sal...
  10. Replies
    5
    Views
    1,533

    Brother can u please tell a bit of syntax of the...

    Brother can u please tell a bit of syntax of the solution u have told me ? thank you
  11. Replies
    5
    Views
    1,533

    graphics in c++

    hey guys ! i am new to graphics in c++ .. i have to develop an application called " paint " . i have to implement it using classes ( and inheritance in classes ) . For example i have to draw a line...
  12. Replies
    3
    Views
    827

    Mouse programming has not been taught in the...

    Mouse programming has not been taught in the class . I searched it on google but couldn't find appropriate answer that's why i posted this question here .
  13. Replies
    3
    Views
    827

    graphics in c++

    hey guys !! I am new to graphics in c++ . the question says that your code should facilitate the user to draw different shapes using a mouse . for example if i have to draw a circle then how should i...
  14. Thread: linked lists

    by waqas94
    Replies
    7
    Views
    858

    the question says that this game can be played...

    the question says that this game can be played among any number of players and that would create unequal distribution of the cards .. i am actually trying to find out any algorithm for this but i'm...
  15. Thread: linked lists

    by waqas94
    Replies
    7
    Views
    858

    Ok then please help me in implementing the...

    Ok then please help me in implementing the function void Distribute_cards() .
  16. Thread: linked lists

    by waqas94
    Replies
    7
    Views
    858

    Bro , i have clearly mentioned above in my...

    Bro , i have clearly mentioned above in my question statement that i am facing problem in the distribution of the cards and i KNOW that nobody will post a complete solution for me as it is not useful...
  17. Thread: linked lists

    by waqas94
    Replies
    7
    Views
    858

    linked lists

    hey guys ! i am working on a card game in c++ . so far i have printed all the cards and shuffled them . now i have to distribute the cards among the players .. this is creating problems for me and i...
  18. Thread: classes

    by waqas94
    Replies
    1
    Views
    572

    classes

    Hey Guys ! i have a question related to classes ..
    s played using the standard French deck with 52 cards. Each card is from one of the 4 suits, clubs (♣), diamonds (♦), hearts (♥) and spades (♠)....
  19. Thread: classes

    by waqas94
    Replies
    1
    Views
    604

    classes

    Hey Guys ! i have a question related to classes ..
    s played using the standard French deck with 52 cards. Each card is from one of the 4 suits, clubs (♣), diamonds (♦), hearts (♥) and spades (♠)....
  20. Thread: filing

    by waqas94
    Replies
    3
    Views
    901

    ????

    ????
  21. Thread: filing

    by waqas94
    Replies
    3
    Views
    901

    filing

    hey guys ! i have been given an assignment as pasted below :
    You will be given two files.
    Grid.txt will contain a grid of letters (as shown below)


    j q v r l k u v e r s i o n l
    d v k e r n e...
  22. Thread: filing

    by waqas94
    Replies
    3
    Views
    963

    bro i have mentioned the exact location of the...

    bro i have mentioned the exact location of the problem and i know that nobody will download my code and compile it and try to sort out the problems.
  23. Thread: filing

    by waqas94
    Replies
    3
    Views
    963

    filing

    hey guys ! i have been given an assignment . the question is stated below :

    1. Create a struct Product with fields id (int), name (char*), price (double), and isAvailable (bool).
    2. ...
  24. Thread: filing

    by waqas94
    Replies
    4
    Views
    795

    how do i keep track of the rows and columns ?? it...

    how do i keep track of the rows and columns ?? it says that your program should be able to read the size of the grid ..
  25. Thread: filing

    by waqas94
    Replies
    4
    Views
    795

    filing

    hey guys !! i have been given an assignment and i dont know how to get started .. the question is :
    You will be given two files.

    Grid.txt will contain a grid of letters (as shown below)j q v r l...
Results 1 to 25 of 27
Page 1 of 2 1 2