122 Topics

Member Avatar for
Member Avatar for nikzer

**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; …

Member Avatar for NathanOliver
0
216
Member Avatar for mrgreen

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.

Member Avatar for rubberman
0
179
Member Avatar for srinivas88

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 …

Member Avatar for ss125
0
320
Member Avatar for Jane Curtis

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 …

Member Avatar for Wil 0' Wisp
0
273
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
1
356
Member Avatar for blackrainbowhu

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; } …

Member Avatar for blackrainbowhu
0
213
Member Avatar for JavaGr33nh0rn

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; …

Member Avatar for JavaGr33nh0rn
0
254
Member Avatar for enkitosh

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 …

Member Avatar for enkitosh
0
307
Member Avatar for NoCodeMonkey
Member Avatar for code739
0
294
Member Avatar for mattboy64

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 …

Member Avatar for deceptikon
0
252
Member Avatar for NoCodeMonkey

{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 …

Member Avatar for NoCodeMonkey
0
238
Member Avatar for awaisahmad13

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] …

Member Avatar for rotenegg
0
213
Member Avatar for Cryptite

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 …

Member Avatar for CimmerianX
0
212
Member Avatar for vicky30312

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 …

Member Avatar for vicky30312
0
147
Member Avatar for PriteshP23

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 …

Member Avatar for PriteshP23
0
287
Member Avatar for xIXZeroIXx

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 …

Member Avatar for xIXZeroIXx
0
281
Member Avatar for kmlilo

#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( …

Member Avatar for deceptikon
0
277
Member Avatar for acerious

// #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" << …

Member Avatar for Gonbe
0
153
Member Avatar for will11600

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 …

Member Avatar for caperjack
0
261
Member Avatar for revelator

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??

Member Avatar for revelator
0
200
Member Avatar for JavaDroid

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. …

Member Avatar for JavaDroid
0
1K
Member Avatar for NoCodeMonkey

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 …

Member Avatar for JorgeM
0
257
Member Avatar for ibn_sumal

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 …

Member Avatar for donami
0
345
Member Avatar for 111100/11000

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]; …

Member Avatar for Schol-R-LEA
0
114
Member Avatar for MegaBlaze007

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 …

Member Avatar for caperjack
0
498
Member Avatar for calvinmicklefin

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 = …

Member Avatar for calvinmicklefin
0
181
Member Avatar for sinabug

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 …

0
88
Member Avatar for MysticalNomad

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 …

Member Avatar for Troy III
0
191
Member Avatar for tyu4

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 …

Member Avatar for NormR1
0
2K
Member Avatar for vampke

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 |--> …

Member Avatar for vampke
0
2K

The End.