Lurker > LookANinja

LurkerFAQs, Active DB, DB1, Database 2 ( 09.16.2017-02.21.2018 ), DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Board List
Page List: 1, 2, 3, 4, 5 ... 7
TopicTha Last Jedi is done done ded at the box office
LookANinja
02/20/18 8:02:04 PM
#33
wackyteen posted...
mew4ever posted...


For real. I was born in '95 so I didn't see it for real until well afterwards, but I and II are objectively horrible films. I just don't see any way someone could say with a straight face that TLJ is worse that those films.

I object to the term objectively horrible

but then again i may be biased

I did watch all 6 hours of AotC bonus features and have seen AotC more times than any sane human should

that Colosseum scene was awesome
---
TopicTha Last Jedi is done done ded at the box office
LookANinja
02/20/18 7:26:30 PM
#30
Don't theaters have to show at least 2 showings for 6 months after it comes out or they get penalized?
---
TopicHave you ever had to work a physical labor job?
LookANinja
02/20/18 1:48:36 PM
#12
shelf stocker.
also currently installing air filters with my gf's dad.
---
TopicHow big of a PSU do i need for my PC parts.
LookANinja
02/20/18 3:17:19 AM
#14
Oh yeah he said he has a couple of extra case fans too. I'll shop for 550 to 600w
---
TopicHow big of a PSU do i need for my PC parts.
LookANinja
02/20/18 12:58:19 AM
#12
Yeah i had been meaning to go back to my 500W one when this one started clicking, but my friend is selling me his old rig sans hard drive and PSU for $200 tomorrow, so i'll just slap the 500W in there, and transfer all the parts to the new computer.
---
TopicHow big of a PSU do i need for my PC parts.
LookANinja
02/20/18 12:01:26 AM
#5
Not sure if i intend to add a new GPU anytime SOON. Like two years maybe. (1070 should stay relevant for that time right?)

I've got a 550W PSU, that's kinda... clicking. Like it sounds almost like those wind up toys, but it's constant. Almost like something's hitting the fan, and it's too old to RMA it.
---
TopicHow big of a PSU do i need for my PC parts.
LookANinja
02/19/18 11:47:26 PM
#1
Assuming quality PSU (corsair bronze or something).

i5 4690
GTX 1070
2 Samsung SSDS
2 WD HDDs
1 PCie Wifi card (TP-Link)
1 PCie Sound card (xonar DGX)

is 500W enough?
---
TopicNvidia could be planning 'Turing' crypto-mining chips to ease strain on gamers
LookANinja
02/16/18 9:47:12 PM
#4
0AbsoluteZero0 posted...
brotrrwinner posted...
And when those mining cards go out of stock, miners will go back to purchase gaming ones. Good idea nvidia, that'll show'em!

This is an ignorant post. Even if their new chip cant fully meet the demand from crypto miners, it would at least alleviate a good deal of the demand for the GPUs, lowering the price.

Is this really true though? I'm not trying to bash you or anything, i'm just not sure if we can predict that.

I'm sure it'll alleviate it a bit, just not sure how much.
---
Topicwtf did they do to French Onion sun chips?
LookANinja
02/16/18 9:44:49 PM
#6
That also sounds delicious. Fuck this was actually depressing. I thought i was getting sick when i ate some, like my tastebuds weren't functioning properly, and then i ate a harvest cheddar one and it tasted so much better.
---
Topicwtf did they do to French Onion sun chips?
LookANinja
02/16/18 7:27:58 PM
#4
TopicDude wtf some guy was literally changing his diaper at work
LookANinja
02/16/18 7:27:44 PM
#15
He did something kinky for valentine's day man. Ease up.
---
Topicwtf did they do to French Onion sun chips?
LookANinja
02/16/18 6:59:34 PM
#1
TopicGot my new glasses today how do i look
LookANinja
02/15/18 7:26:36 PM
#28
TopicWhat kind of good pizza can you even make with just 2 toppings?
LookANinja
02/15/18 7:15:04 PM
#28
TopicDamn some of these premium videos are super nice!
LookANinja
02/14/18 8:43:59 PM
#2
Too bad there aren't more Harley Dean premium videos. Plenty of Karlee Grey though.
---
TopicWhich language would you choose knowing these
LookANinja
02/14/18 8:43:18 PM
#9
SamsSung posted...
Both languages sound beautiful. Which would you use like if you were choosing a gaming language

I respectfully disagree.

I think Korean, Thai, and Vietnamese are up there for the NASTIEST sounding asian languages (an argument could be made for certain chinese dialects)

Japanese is beautiful though.

Every other asian language is just kinda meh.
---
TopicDamn some of these premium videos are super nice!
LookANinja
02/14/18 8:19:10 PM
#1
TopicMissed the turn going to a dispensary...
LookANinja
02/14/18 3:11:18 PM
#1
ended up going into the little parking lot of a porn shop.

Who knew my favorite things in life were so close together?
---
TopicLooks like that site is finally dead...
LookANinja
02/13/18 10:17:14 PM
#26
TopicC++ Help again.
LookANinja
02/13/18 11:31:30 AM
#9
kirbymuncher posted...
yeah, having void in front of it is declaring the function, not calling it

also why getline sometimes and cin>> other times?

Idk I just thought i had to do with strings. Anyway I was able to get it last night. I'll post the code later. My C++ topics keep getting purged.
---
TopicC++ Help again.
LookANinja
02/12/18 11:42:01 PM
#3
I think i need a constructor? Is that my issue?

Main is working fine, but my function isn't displaying my entered values.
---
TopicC++ Help again.
LookANinja
02/12/18 11:20:21 PM
#1
Write a program that

- defines a class Employee with the following data members:

- Name

- Address

- Title

- Salary

- Age

- Department

- defines a function that displays the information stored in an Employee object using the following format on

2 lines on the screen

- Name (left,25), Address (left,25), Age (right,5)

- Title (left,25), Department (left,25), Salary (right,10)

- in main()

- instantiate an object of type Employee

- prompt the user for the information above (in the above order) and store it in the data members of

the object instantiated

- call the function to display the Employee information

#include<iostream>
#include<string>
#include<iomanip>
using namespace std;

class Employee
{
public:
string name;
string address;
string title;
double salary;
int age;
string department;
};

void DisInfo(Employee& emp1)
{
cout<<emp1.name<<emp1.address<<emp1.age<<endl;
cout<<emp1.title<<emp1.department<<emp1.salary<<endl;
}

int main()
{
Employee emp1;
cout<<"Please enter employee name";
getline(cin,emp1.name);
cout<<"Please enter employee address";
getline(cin,emp1.address);
cout<<"Please enter employee title";
getline(cin,emp1.title);
cout<<"Please enter employee salary";
cin>>emp1.salary;
cout<<"Please enter employee age";
cin>>emp1.age;
cout<<"Please enter employee department";
getline(cin,emp1.department);
void DisInfo(Employee& EmpInfo);
}


I think i'm close. (i know i gotta set the justification and stuff, but thats easy)
---
TopicMy girlfriend's aunts (very seriously) asked her if i was doing drugs other than
LookANinja
02/12/18 5:58:57 PM
#8
TopicMy girlfriend's aunts (very seriously) asked her if i was doing drugs other than
LookANinja
02/12/18 2:15:12 PM
#5
TopicMy girlfriend's aunts (very seriously) asked her if i was doing drugs other than
LookANinja
02/12/18 1:45:01 PM
#1
weed.

Because i've been losing so much weight.

They're crazy. I've gone from like 180 to 150 in like... 4 years. Although the last year people have been really talking about how much weight i've lost. Maybe it's because i've been working out so i just seem more lean? I've been doing 0 cardio...
---
TopicToday is literally National Pizza Day
LookANinja
02/09/18 7:29:58 PM
#37
My friend went to Domino's the other night to get a personal pizza for dinner. They told him they have a carryout large pizza deal for 7.99. He was like "nah i'll just get the personal."
"the personal is 9 dollars"
"yeah gimme the large"
---
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 7:14:05 PM
#23
That one scene they did with blair using a plunger was pretty hilarious.
---
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 6:06:52 PM
#20
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 5:58:14 PM
#18
tremain07 posted...
This sounds unintentionally hilarious, I think I'll watch this how long is it?

I believe its 10 episodes. forgot how long they are though.
---
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 4:38:40 PM
#15
There was a battle of the sexes one where the girls had to try to make guys finish..
---
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 2:24:32 PM
#13
Basically its a contest and whoever wins becomes the next big porn star. I remember the local CE porn expert saying that most of the people on the show had already been in porn so it was misleading.

I found it mildly entertaining.
---
TopicThe female winner of the sexfactor porn show has a lot of videos now...
LookANinja
02/09/18 11:06:37 AM
#1
blair williams

I wonder if theyre gonna do a season 2..
---
TopicBe advised, this is also an image dump.
LookANinja
02/08/18 7:15:28 PM
#45
TopicSo its official, all the girls in my classes are either in a relationship...
LookANinja
02/08/18 3:14:29 PM
#3
TopicWhat would Jurassic World 2 even be about?
LookANinja
02/08/18 1:56:38 PM
#7
It's gonna be dino human hybrids.

Played by BD Wong and Kingpin.
---
TopicMy buddy is offering my a steal on his old PC rig.
LookANinja
02/06/18 4:32:03 AM
#9
I think i'll throw him an extra $50 for being a homie.
---
TopicMy buddy is offering my a steal on his old PC rig.
LookANinja
02/06/18 3:33:11 AM
#5
GODTIER posted...
How much porn does it come with

oh thats right now HDD or SSD either.
---
TopicMy buddy is offering my a steal on his old PC rig.
LookANinja
02/06/18 3:31:37 AM
#3
Nah he sent me pics of his new rig which got the conversation going. Hell i'll be happy if the CPU and RAM are intact, thats already like $300 at least.
---
TopicMy buddy is offering my a steal on his old PC rig.
LookANinja
02/06/18 3:21:25 AM
#1
i5 4690
corsair aio water cooler
8gb g.skill ram
gtx 9(something)
a couple of fans
Corsair carbine 450d case

$200

Just needs a PSU.
---
TopicC++ class Blog topic.
LookANinja
02/05/18 10:02:16 PM
#38
TopicC++ class Blog topic.
LookANinja
02/05/18 6:33:18 PM
#36
And finally the study guide for exam 1 on thursday.

These are the concepts that you should be familiar with for Exam #1.

Preprocessor directives:

- #include <iostream>

- #include <iomanip>

- #include <string>

Namespace:

- how to make objects from the std namespace available

I/O streams:
- cout

- default device its associated with

- default justification

- default precision
- cin

- default device its associated with
- << (stream insertion operator)

- stream it's used in conjunction with
- >> (stream extraction operator)

- stream it's used in conjunction with

- limitations in terms of strings

- how it handles white space

Manipulators (what they do, parameterized , single-use or persistent):
- endl
- fixed
- left
- right
- setprecision
- setw

Functions and methods used on/with streams:
- getline()

- cin.getline()

- cin.ignore()

- when is this used?

Variables:

- definition of different types

- normal, pointer, reference

- what is necessary when defining a variable that is a reference

- scope

Control structures:

- if and if / else statement

- while loop

- do while loop

- for loop

Operators (relational, equality, assignment, etc.)

Functions:

- Declaration

- function prototypes

- Definition

- the actual function code

- Calling / invoking
- Argument passing

- different methods

- by value

- by pointer/address

- by reference
- Inline

- what makes a good candidate for an inline function

- Overloading

- how the compiler checks the validity of an overloaded function

- Default parameter values

- what condition must be met when these are used?

- Templates

- syntax

- benefits of using them
---
TopicC++ class Blog topic.
LookANinja
02/05/18 6:32:03 PM
#35
My solution for problem 1.

//Using an overloaded function for different types of inputs and outputs
#include<iostream>
#include<string>
using namespace std;

int add(int x,int y)
{
return x+y;
}
float add(float f,float g)//function with same name has different parameters
{
return f+g;
}
string add(string s1, string s2)
{
return s1+s2;
}
int main()
{
int x,y;
float f,g;
string s1,s2;
cout<<"Enter two integers"<<endl;
cin>>x>>y;
cout<<add(x,y)<<endl;
cout<<"Enter two floats"<<endl;
cin>>f>>g;
cout<<add(f,g)<<endl;//function of same name with different output types
cout<<"Enter two strings";
cin>>s1>>s2;
cout<<add(s1,s2);
}

And heres problem 2

//Creating function template for add to find the sum of two ints, floats, and strings
#include<iostream>
#include<string>
using namespace std;

template<typename T>
T add(T x,T y)//template parameter list
{
return x+y;
}

int main()
{

int x=3,y=4;
float f1=3.2,f2=3.3;
string st1="duck",st2="bill";
add(x,y);//function is called
cout<<x<<" + "<<y<<" = "<<add(x,y)<<endl;//test values are displayed along with function
add(f1,f2);
cout<<f1<<" + "<<f2<<" = "<<add(f1,f2)<<endl;
add(st1,st2);
cout<<st1<<" + "<<st2<<" = "<<add(st1,st2);

}

thoughts anyone?
---
TopicC++ class Blog topic.
LookANinja
02/05/18 6:29:08 PM
#34
Alright guys heres the homework assignments for the week.

Write a program that prompts the user to enter integers, floats, and strings and displays the results of 'adding' them by calling an overloaded function called 'add'.

- main()

- prompt the user for 2 integers

- call the add() function

- display the result

- prompt the user for 2 floats

- call the add() function

- display the result

- prompt the user for 2 strings

- call the add() function

- display the result (concatenate)

- overloaded add functions

- one function to handle integers, one for floats, one for strings

- use the '+' operator with the 2 arguments passed in as operands

Note: The '+' operator is a valid operator for two strings as operands. The result is the

concatenation of the two strings.


And here's the second problem. I have them both solved on my laptop.

- a function template for the function add (HW 3.2)

- in main() use the function template by calling the add() function with

- integers

- floats

- strings

No user entry is required, test values can be hardcoded.

Display the test values and the result after calling the function.

*** Note: Strings have to be variables and cannot be string literals.

---
TopicC++ class Blog topic.
LookANinja
02/04/18 3:32:28 AM
#29
TopicC++ class Blog topic.
LookANinja
02/02/18 5:08:13 PM
#23
Damn teacher still hasn't put up the study guide for the exam next week nor opened up the homework for submissions.
---
TopicWe regret to inform you that Rugrats now has a porn parody
LookANinja
02/02/18 2:29:16 PM
#19
TopicC++ class Blog topic.
LookANinja
02/02/18 2:23:32 PM
#21
I gotta remember to post my homework assignment here when the teacher has it up for us to submit.

I finished it, and it works, but i like the feedback.
---
TopicCurrently watching Legends of Tomorrow season 2... *ongoing spoilers*
LookANinja
02/02/18 12:53:06 AM
#4
TopicJust saw the movie Wonder
LookANinja
02/01/18 11:28:28 PM
#2
For some reason i thought of Glow with Alison Brie's tatas.
---
TopicWho should play Wolverine after Hugh Jackman?
LookANinja
02/01/18 11:26:14 PM
#23
Dafne Keen (the girl from Logan). It would be interesting if they somehow bring her back in time.
---
Board List
Page List: 1, 2, 3, 4, 5 ... 7