122 Topics
|
|
**hi! i need help on fixing this program i made it seems that i can't let it run. Can someone give me some advice on what errors i have made and how i can fix it. thanks ** #include <iostream.h> #include <conio.h> void main () { int i; int j; … |
|
I was just curious to see if anyone has dealt with HP Procurve switches (preferably 8200zl or similar). If so do you know of any tools to practice configurations? I have found several config examples on HP's website, but they are pretty basic and don't go into too much depth. |
|
Suppose I have a set of machines whose ip addresses are changing, say every 10 mins, then before making the tcp connect call (from a client) how do I make sure all the switches and routers have updated their mac Address and Ip Address mapping correctly and that it is … |
|
I have a very old Vaio laptop (PCG-Z505JE). Has had very few problems but the two it did have were fixed by great help here at DaniWeb. As of this morning, for the first time, the on switch on the right side did not turn it on. I think the … |
|
I have no problem of putting a break statement in the default option of a **switch case** statement, just wondering why it is needed. Anyone any ideas? int a = 42; switch (a) { case 1 : case 2 : //statements for case 1 and 2 break; // probably more … |
|
Hello! I have a problem about creating a menu, the switch statement doesn't break. Could somebody please help? The code is: do { /* ...get input... */ switch(choice) { case 1: submenu(); break; case 2: submenu2(); break; case 3: printf("\nThe program quits.\n"); exit(0); default: printf("\nNo such menu item!\n\n"); break; } … |
|
import java.io.*; import java.util.*; import java.util.Scanner; public class cooperativeCanteen60 { static Scanner console = new Scanner(System.in); static Scanner sc = new Scanner(System.in); public static void main(String[]args) { //throws java.io.IOException { Scanner in = new Scanner (System.in); int type; int discountRange; int discount; int customerType; int number; int rtotal; int vtotal; … |
|
Hey everoyne. I'm wondering If it's possible to construct a switch statement which takes in a character and determines weither that character is a number or not, or an alphabetical number. switch(i) /*character*/ { case '0': /*ok it's a number, doesn't have to be zero, any number from 0-9*/ case … |
|
Is a Network administrator assistant a good job for a student and what do they do? |
|
There is a small problem i have there is a small error that i didnt use to have with the boorland compiler I'm using xcode these days and in my switch case im trying to execute a function (as you can see, the "main" function) however it says that it … |
|
{R1}========{R2} / \ / \ / \ [S1] [S2] / \ / \ VL10 VL20 VL10 VL20 Ok so I'm trying to make VLANS in one broadcast domain communicate with VLANS in the other broadcast domain, what do I do? The vlans in their own broadcast domain can communicate together … |
|
This is the code do look at it. I just want change it in switch statement. will stuck in it. it is unix code. commands[0] = (char *)"ls"; params[0] = (char*)0; commands[1] = (char *)"who"; params[1] = (char*)0; commands[2] = (char *)"date"; params[2] = (char*)"+%d/%m/%y"; commands[3] = (char *)"ps"; params[3] … |
|
I posted this over on CGTalk and was also redirected here to ask about the following which, if you'll excuse my lazyness, is a bit of a copy/paste: This is a call for advice on switch traffic theory for a small-sized (~13 artists) VFX studio. For the most part, we … |
|
I cant figure out why my second switch stament is not working. Can you please help? I am still new at this still. // Project 8.4. Guesses the number the user enters between 1-100. #include <iostream> #include <ctime> using namespace std; char H,L,Y,N; int UsersNum, YesNo, HighLow, Re_Use; int n … |
|
I would like to know the best way to manage the two drop down menu on the PHP page. 1st menu : Select Type of House (House1, House2, ) 2nd menu : Select Number of Rooms (1,2 .. 12) The system should be displayed price based on selected items. Need … |
|
hello everyone, im having a headache with this error im getting, im trying to read a number from a file but inside a Switch(case) statement but im getting alot of erros only inside the case and i cant figure out why if my open file code is correct (as far … |
|
#include <iostream> #include <cmath> #include <string> #include <fstream> #include <windows.h> using namespace std; struct Grade{ int getA; int getB; int getC; int getD; int getF; float marks[100]; }; void init( Grade* student ){ student->getA=0; student->getB=0; student->getC=0; student->getD=0; student->getF=0; for( int i=0; i < 100 ; i++) student->marks[i]=NULL; } int readFile( … |
|
// #include <iostream> #include <iomanip> using namespace std; int main() { float assign1, assign2, assign3, assign4, examScore; float assignWeight; cout << " Welcome to UOW Score System" << endl; cout << " " << endl; cout << "Enter the scores for Assignment 1 / 2 / 3 / 4" << … |
|
Hello Computer gurus!!! i have a problem with my vaios wifi switch, its well broken the light is off even when its switched to the on position and none of my wireless networks are working ive been forced to use a realy long ethernet cable ITS DRIVING MY CRAZY!!! so … |
|
Hi friends, i am doing a basic menu based Car rental system in C. i have a doubt regarding switch... do C permit us to use multiple switch case? or a Case within a Case?? |
|
Hey, new to java, but trying to build a text-based adventure game similar in gameplay style to the original Zork series. http://pot.home.xs4all.nl/infocom/zork1.html This is not homework. It started as a way to practice what i've learned, but now I am determined to make this work with the simplest code possible. … |
|
Picture: http://i1144.photobucket.com/albums/o493/NoCodeMonkey/SAM_0069.jpg Ok so Im confused, In the pic I have 2 vlans (VLAN2, and VLAN3) and the network address of this network is 192.168.0.0. Router has an ip address of 192.168.0.1 for fa0/0, and is connected to VLAN1 (the default) to f0/5 with an ip address of 192.168.0.2 for … |
|
Hello guys i'm currently having difficulties with pinging different vlans whether they are on the same switch or not. I have 3 vlans: vlan 30, vlan 40, vlan 50. I have 1 switch which I use as the VTP server and 7 switches connected to it which I use as … |
|
|
When it gets to cout << "Chose direction of rotor 1:" << endl; cout << "*(i.e.:enter 1 for left and 2 for right)" << endl; and i enter 1 or 2 it couts "Wrong choice" #include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; … |
As the title says, my motherboard won't boot up but randomly boots up by itself! Now a detailed explanation. Firstly my motherboard is [Asus P5GC-MX/1333](http://www.asus.com/Motherboards/Intel_Socket_775/P5GCMX1333/). When I first got it, I had a 20-Pin PSU of 300W and I've used it for about 2 weeks. Then one day, when I … |
|
I have the following code ... <?php // test $item_101_product_title = "MGT-101"; $item_102_product_title = "MGT-102"; $item_103_product_title = "MGT-103"; $item_104_product_title = "MGT-104"; $item_105_product_title = "MGT-105"; $item_106_product_title = "MGT-106"; $item_107_product_title = "MGT-107"; $item_108_product_title = "MGT-108"; $item_109_product_title = "MGT-109"; $item_110_product_title = "MGT-110"; $item_111_product_title = "MGT-111"; $item_112_product_title = "MGT-112"; $item_113_product_title = "MGT-113"; $message = … |
|
Hi all. Maybe someone can help me here. I have a pagination document in php to paginate a large mysql table. This pagination document (by Jatinder Singh Thind, www.phpsense.com) "includes_once" another pagination document that has functions to handle the page links. The functions return a link. I'm trying to get … |
|
My project requires that I have several arrays defined in javascript such as: var d1 = new Array(2,17,18,19,20); var d2 = new Array(2,18,19,20); var d3 = new Array(2,18,21,19,20); var d4 = new Array(2); var d5 = new Array(2,18,19,20); var d6 = new Array(2,18,21,19,20); etc I have a `<select>` element which … |
|
I'm completely lost with this assignment code. The objective is to modify this program that originally asked the user for an input 1-12 for a month, and it outputs the number of days in that month. The modifications would make it so that the user inputs the name of the … |
|
Hi guys, I am trying to connect my PC to my NAS by using a network switch. My previous setup worked like a charm: switch |--> router --------|--> NAS --------|--> PC I could connect from PC to NAS without any problems. My new setup is no longer working: switch |--> … |
The End.