Jump to content

ExplOregon

Member
  • Posts

    27
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Profile Information

  • Gender
    Male
  • Location
    Oregon
  • Interests
    Photography, Exploring, Gaming

System

  • CPU
    i5 4960k
  • RAM
    16 Gb Corsair Vengeance
  • GPU
    GTX 980
  • Case
    Phanteks Evolv
  • Storage
    1 Tb WD Black, 120 Gb 850 Evo
  • PSU
    EVGA Supernove 650G
  • Cooling
    H100

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ExplOregon's Achievements

  1. It's more of studying for my exam, but I'll try to write out a sentence and try to apply the chart to see if I can figure it out
  2. Hello all, I was given a question involving an implication and I'm supposed to show that it is a tautology by using equivalence. We were given a pretty simply chart for equivalences and I cannot see any applicable conversions to show that it is indeed a tautology. I attached the chart below. The question was A -> (B -> A)
  3. Yes that is what I mean but what return type would it be if I wanted to return that and if there is a struct that has the name and if theres a match I want all the stuff from the struct to be displayed how would I approach that?
  4. hello, I was recently given a problem that requires me to take in a search name from main and then supply it to a function that searches a circular linked list and then returns the match to main if there is a match. My issue is that I can't display anything from within my functions (data abstraction unit) and it has to be taken care of from main. I was wondering if anyone could show a little code example or some pseudocode as to how I would approach this. Thanks, Exploregon
  5. Thank you so much for all of your help, I appreciate it! I'll be sure to PM you if I still cannot figure it out after the videos, I've come across those videos before and they do a great job putting the concepts in simple terms. Thanks again!
  6. When I do it without the animalShelter:: it says it is not declared in this scope
  7. I got most of the error codes away now I'm just getting errors like this testingmain.cpp:29:29: error: cannot call member function ‘void animalShelter::displayAll()’ without object animalShelter::displayAll(); Here is a quick screenshot I realized the .h file names were wrong up top and made some other changes to call the functions in main
  8. .cpp file .h file main .cpp file These are what I currently have. You're saying I should move the namespace line to the main.cpp files
  9. Something like what I have in main in the far left one? http://imgur.com/xjBLCZd
  10. Those prototypes are actually gone now, forgot to say that. They were there for testing purposes. But, that still does not address what goes in main
  11. I am stuck on the concept of classes currently. Frankly I have no idea what code to implement into main Here's a screencap of what I have so far, if you need more of my code I can put it in pastebin, any help is greatly appreciated. http://imgur.com/2tw9pPs
  12. Could you possibly tell me what I should put in main to make this all work? http://imgur.com/oo5DRdG
  13. HALLELUJAH IT WORKS. Granted I made it all one .cpp file and my prof wants it in a class with two .cpps and a .h, now to get that figured out. Thanks for the help!
  14. So when you said this in your initial comment, would it go inside the addAnimal function I have at the bottom?
  15. This helped a lot, but since she wants it to only grow once something is added what would change?
×