Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.

Lv 167 points

Ike Stone

Favorisierte Antworten20%
Antworten10
  • How to concatenate a string and an int in C++?

    I am trying to concatenate a string and an integer (portnumber) in a C++ program, but I am confused about how to do this.

    Here is my code

    #include<iostream>

    #include<stdlib.h>

    #include<string.h>

    #include<stdio.h>

    using namespace std;

    int main()

    {

    char option;

    cout << "Network Security Commands" << endl;

    cout << "=========================" << endl;

    cout << "1. Display Current firewall Configuration" << endl;

    cout << "2. Block All Outgoing traffic by protocol port Number" << endl;

    cout << "Enter an option" << endl;

    cin >> option;

    switch (option)

    {

    case '1':

    system("iptables -L");

    break;

    case '2':

    int portnumber;

    cout << "Enter the Protocol Port Number" << endl;

    cin >> portnumber;

    string command;

    command = "iptables -A OUTPUT -p tcp --dport " + portnumber + " -j DROP";

    system (command.c_str());

    break;

    }

    return 0;

    }

    I know I have to so something with portnumber, but I am stuck.

    3 AntwortenProgramming & Designvor 5 Jahren
  • How do I convert dollars to euros in Ruby?

    I'm trying to write a program in ruby that lets me convert U.S. dollars to euros, but I have no clue how to do that.

    I think that the formula is the amount of U.S. dollars * 1.39540

    So far, my code is

    print " Enter amount in dollars: "

    dollars=gets.chomp

    euro=dollars*1.39540

    puts "The amount in euros is: " + euro

    1 AntwortProgramming & Designvor 5 Jahren
  • Attachment image

    What font is this?

    I'm trying to replicate the font listed in the screenshot that I have attached, but I do not know what kind of font it is.

    1 AntwortOther - Visual Artsvor 6 Jahren
  • Will a different power cord work for my tv?

    I have a Vizio tv (either model E241-A1 E291-A1), and I somehow lost the power cord for it. I found two other power cords in my house, but I don't know if they will work. I plugged in the both of them, and while the power light turned on, the tv screen remained black.

    I'm considering buying a replacement for the tv, but I would like to know if I can save some money by using a different power cord.

    2 AntwortenTVsvor 6 Jahren
  • How do I find the average in a dictionary in python?

    I'm trying to write a function that finds the average of two numbers in a dictionary

    quarterbacks = {'A235':['Patrick', 'Tom', 89.2, 92.4],

    'B456':['Simpson', 'Craig', 90.3, 92.6],

    'B321':['Smith', 'James', 43.2, 89.7],

    'C567':['Buntonhold', 'Peter', 78.4, 80.2],

    'X762':['Alexander', 'Michael', 87.9, 89.5]}

    I have def findavg(key) so far, but I don't know how to find the average of the two ratings.

    1 AntwortProgramming & Designvor 7 Jahren
  • Applying for my first big job?

    I received an e-mail from my school's career center about a company that is hiring for a part-time job.

    In the e-mail, I received instructions to contact someone for details, but I am unsure of what to ask.

    I've had jobs before, but they have been regular part-time jobs. This one, however, pays much more and would look great on my resume.

    So, what details should I ask about?

    I can only think of when will I hear back, what type of candidates they want, briefly mentioning why I should be considered, and saying thank you for their time.

    1 AntwortFood Servicevor 7 Jahren
  • Are there any examples of colonialism today?

    Does colonialism still exist? I know that some countries are still feeling the effects of colonialism today.

    6 AntwortenAnthropologyvor 7 Jahren
  • What is Aime Cesaire arguing in Discourse and Colonialism?

    I am writing a paper on the main points of Aime Cesaire's Discourse and Colonialism, but I do not understand a single thing. I tried asking my teacher, but he is unable to help since he has been very ill.

    As for the assignment itself, I need to find a global event that relates to the main points in the article, but I don't think that I understand Cesaire.

    I'm not writing about the entire book; instead, I am writing on a brief excerpt, which can be found here: https://dl.dropboxusercontent.com/u/212933712/From...

    Could someone tell me the main points? It seems to me that Cesaire is arguing that colonization is dangerous, that a country that would justify colonization is evil, and that the country being colonized is being harmed.

    However, I am not sure if I correct on the main points. I would like to know if I am on the right track or if I am missing something.

    4 AntwortenHomework Helpvor 7 Jahren
  • What kind of tv do I reed for a blu ray player?

    I am considering buying a blu ray player, though I am not sure if that would be a good thing for me.

    I have an hdtv that is 30 something inches (I think 32, but I don't know off of the top of my head) with an hdmi slot.

    However, I have read online that there is almost no difference between DVD and blu ray video/sound quality if your tv is not a certain resolution. Is this true? What size does my tv need to be if so?

    5 AntwortenTVsvor 7 Jahren
  • Is Kaspersky a better anti-virus than Norton (2014)?

    My Norton anti-virus license expired recently. I've had no problems with Norton, but I generally do not hear good things about it.

    I've been looking into Kaspersky Lab for an anti-virus software since a friend recommended it to me.

    Is Kaspersky a good anti-virus? What are the pros and cons of both Kaspersky and Norton?

    If both Kaspersky and Norton are not good anti-virus software, then what programs are?

    9 AntwortenSecurityvor 7 Jahren
  • Can my laptob use the HD PVR 2 ?

    I want to but a Hauppage HD PVR 2 Gaming Edition, but I don't know if I my laptop meets the system requirements. What would happen if I used the hd pvr 2 with my computer if it does not meet the requirements?

    From Hauppage's website, there are the system requirements:

    Laptop or desktop PC with 3.0 GHz single core or 2.0 GHz multi-core processor

    Microsoft® Windows® 8, 7 or Vista (32 or 64-bit), or Windows XP Service Pack 3

    HD PVR 2 GE Plus includes HDPVRCapture.com application which runs on Mac OSX 10.7 / 10.8 ( Intel 32/64bit only, no PPC support)

    TV set with HDMI input

    1 GB memory recommended

    Graphics card with 256 MB memory

    Sound card

    220 MB free hard disk space

    CD-ROM drive (for software installation)

    My Windows 7 laptop has 111 GB of memory, 2048 MB of RAM memory, and Celeron (R) Dual-Core CPU at 1.8 Ghz.

    Picture of my computer spec in case I described something incorrectly:

    http://www.flickr.com/photos/98628817@N06/with/924...

    3 AntwortenOther - Electronicsvor 8 Jahren
  • Is my laptop powerful enough for a HD PVR 2 Gaming edition?

    I want to but a Hauppage HD PVR 2 Gaming Edition, but I don't know if I my laptop meets the system requirements. What would happen if I used the hd pvr 2 with my computer if it does not meet the requirements?

    From Hauppage's website, there are the system requirements:

    Laptop or desktop PC with 3.0 GHz single core or 2.0 GHz multi-core processor

    Microsoft® Windows® 8, 7 or Vista (32 or 64-bit), or Windows XP Service Pack 3

    HD PVR 2 GE Plus includes HDPVRCapture.com application which runs on Mac OSX 10.7 / 10.8 ( Intel 32/64bit only, no PPC support)

    TV set with HDMI input

    1 GB memory recommended

    Graphics card with 256 MB memory

    Sound card

    220 MB free hard disk space

    CD-ROM drive (for software installation)

    My laptop has 111 GB of memory, 2048 MB of RAM memory, and Celeron (R) Dual-Core CPU at 1.8 Ghz.

    Picture of my computer spec in case I described something incorrectly:

    http://www.flickr.com/photos/98628817@N06/with/924...

    1 AntwortLaptops & Notebooksvor 8 Jahren
  • What is wrong with my Playstation 2?

    I have a slim playstation two, and for some reason it stopped reading discs about a month ago. I thought that if would start working again if I left it alone, but that didn't work well. My brother used it last while it was working, but he says that it suddenly stopped working. I don't know if he is telling the truth or not.

    Anyways, the console turns on as though it works, but it can't read any games. I can still use the menu, though. I don't know if my brother did something and is not telling me, or if something happened to the console. I've had this for years and have played it every now and then with no problems until recently.

    1 AntwortPlayStationvor 9 Jahren
  • What is the difference between the Hauppauge HD PVR and the gaming edition?

    I like to upload videos to youtube, and I want to upload some game footage. I hear good things about the Hauppauge, so I want to use that as a capture card. However, I don't know the difference between the normal edition and the gaming edition (besides the fact that the gaming edition is for games). Is one better than the other, and is there a difference in quality? I am tempted to but the normal edition since I might want to record something that is not a game in the future.

    2 AntwortenTiVO & DVRsvor 9 Jahren
  • What is discrete mathematics like?

    I am considering changing my major from anthropology to computer science, and Discrete Mathematics I and II are required for graduating. However, since it is near the end of the school year, I am not sure if I can meet with any advisors to speak about what computer science and discrete mathematics are like.

    So, what is discrete mathematics like, and is it hard?

    Also, if I eventually change my major and go into a computer science related job, will I use math alot?

    2 AntwortenMathematicsvor 9 Jahren