Search:

Type: Posts; User: ubmattpangolin

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,418

    Decrypting Ciphertext

    I'm supposed to decrypt a message, however I'm having a hard time finding what kind of cipher is being used. Anyone any ideas from the image attached?
  2. That works I tried it via protected, however part...

    That works I tried it via protected, however part of instructions is information hiding so I wanted to access the private variables via public funtions.
  3. Apologies for the spaces missing withing data...

    Apologies for the spaces missing withing data types and variable names, i'm not sure why the post got messed up with the code tags.
  4. Accessing private QString with public function via inheritance

    Why aren't my public functions from vehicle accessing my private Qstring on my class Truck that inherits from Vehicle. It should work, am I missing something.



    #ifndefVEHICLE_H...
  5. Replies
    0
    Views
    301

    Android Life Cycle States

    Can anyone help me distinguish the android states based on the image attached. I thought I was going good until I saw question five.

    1.Compare the states of page1 before and after the...
  6. Replies
    2
    Views
    340

    Hey thanks a lot laserlight! The getter functions...

    Hey thanks a lot laserlight! The getter functions worked! I'll have to look into your recommendation as polymorphism is also a requirement for the project, but haven't gotten to that chapter as yet....
  7. Replies
    2
    Views
    340

    Output overloading

    I have and Insurance class which is composed of a date object, and a vehicle class which is composed of both a date object and insurance object. Finally I have a Car class which inherits from...
  8. Hey laserlight, I found the issue... When i...

    Hey laserlight,

    I found the issue... When i removed the delete section in my Insurance destructor in the insurance class that defined the insurance type like this...


    ...
  9. Issue creating objects using composition and inheritance

    Hi, I'm trying to use both composition and inheritance as part of a learning project. I have a class Vehicle which uses composition to create objects of type date and insurance as part of its type....
  10. Replies
    0
    Views
    512

    Subnetting Jumping to new block

    How should I approach this if my last subnet's broadcast from a /30 ended in 10.122.18.71 and the next block has a prefix of /23 because there are a total of a 127 hosts that are required.

    Should...
  11. Hey laserlight, class object would be something...

    Hey laserlight, class object would be something like this. I removed all other uneccessary stuff.



    classObject{

    public:
    Object();
    ~Object();
    //other function prototypes here
  12. Help Me Understand Destructor Function in Vector

    myString is of type vector i get the constructor and I have struct Node, can someone help me visualize what happens in the destructor function. How does that work, it's one line of code but I'm not...
  13. That is true, I never thought of it that way. But...

    That is true, I never thought of it that way. But I guess that would be when you're really getting into real software development. I assume for this practical assignment they're not expecting us to...
  14. Thanks Salem, i guess I'll just have to hardcode...

    Thanks Salem, i guess I'll just have to hardcode it. I wanted something unique but qt creates the exe in another directory and even more so when moving the program from one pc to another I wouldnt...
  15. C++ getting current directory of .cpp files

    Hi, I have a textfile with words in my directory whereby my .h and .cpp files are located. I've been trying to get the current directory, but my function takes me to the directory where the .exe is...
  16. Replies
    3
    Views
    439

    wordslist is of type vector...

    wordslist is of type vector<Myobject *> mywordslist
  17. Replies
    3
    Views
    439

    File I/O Reading from file

    Hi, what am I doing wrong I'm reading from a file with words and trying to get the output properly. I know it's reading, and counting the amount of words in it. But when I try to output I get a bunch...
  18. I know, I'm talking about the use of its...

    I know, I'm talking about the use of its functions. A push function from stack could be used for insertatfront for a linked list etc... Am i making sense?
  19. Creating Linked List using inheritance or composition?

    I know I can create a stack or queue from my base class of a linked list through composition or inheritance. My question is can I do this the other way around, I know most functions can be done, but...
  20. Hi Laserlight, I appreciate it a lot!!! Using...

    Hi Laserlight, I appreciate it a lot!!! Using what you said got rid of all the errors :) Maybe you're a bit busy, but I'll still ask. Could you explain to me or break it down in small understanding...
  21. Hi laserlight, I belive I fixed the formatting

    Hi laserlight, I belive I fixed the formatting
  22. fpermissive compilation error using inheritance

    I'm new to C++... I have list.h file containing functions for linked lists, and then I have a queue.h that uses inheritance to use functions from the list.h... The errror below occurs while...
Results 1 to 22 of 23