74 Topics

Member Avatar for
Member Avatar for adoleh

I have to create a program that asks a person to enter a 2 digit number (10-99) and convert it into words. I've been working on this for days and I still don't see what I'm doing wrong! PLEASE HELP ME!!! EXAMPLE: 27 twenty-seven [CODE]#include <iostream> using namespace std; int …

Member Avatar for emsmary
0
15K
Member Avatar for mattyd

I've just started a class to learn automation testing via Selenium. I'm using Firefox 61.0.2 (64-bit) I'm noticing a possible bug; not something major, but something that prevents efficiency: When attempting to load a saved project into the IDE via Open Project or through drag-and-drop, it does not load. Usually …

Member Avatar for rproffitt
0
452
Member Avatar for happygeek

Anyone who knows me will happily inform you that I am, as my username implies, rather tech obsessed. I'm not a happy geek when it comes to smartphone cases though, and it's been a long time since I've been able to say I've got the perfect case for my current …

1
952
Member Avatar for Borzoi

I got a new case (Thermaltake View 27) and I'm having trouble undoing the screw on the PCI shield thing where the GPU should be. I can undo all the other screws except this one. Can anyone provide tips on how I can go about getting it loose so I …

Member Avatar for Borzoi
0
635
Member Avatar for Papa_Don

Group, I've got a complex If/Then statement that may require the use of "Select Case". However I'm not familiar with how "Select Case" actually works. Needless to say, I'm not sure if you can use it within an "If/Then" statement. Here's what I need to do: If row > 7 …

Member Avatar for Reverend Jim
0
2K
Member Avatar for vegaseat

This time just a simple example of grading scores (0 - 100) with letters (A - F). Two approaches are presented, one using switch/case in an "on the fly" function, and the other uses the score as an index to a string of letters F through A.

Member Avatar for vegaseat
1
793
Member Avatar for Bchandaria

angular .module('abc') .factory('dashboard', dashboard); function dashboard($http, notifier) { var service = { getAllMasterJobsNames: getAllMasterJobsNames }; return service; function getAllMasterJobsNames(request) { return $http.post('/JSONServices/JSONCampusManagementService.svc/GetAllMasterJobsNames', request).then( function (response) { if (angular.isUndefined(response.data) || (angular.isDefined(response.data.IsException) && response.data .IsException)) { notifier.error('Error fetching the Active Events : ' + JSON.stringify(response)); } return response; }, function (response) { …

0
183
Member Avatar for olegb

SQL Gurus, help !! I have a table with 3 fields, ID, Answer_5, Answer_6. Answer_5 & Answer_6 both hold a date value, but the fields are defined as string (for other reasons). In Answer_6 it is possible to have the string of 'Now'. I am trying to do a simple …

Member Avatar for AleMonteiro
0
350
Member Avatar for Ryan_11

I have a table that logs customer data but i want to search for the customer, upon finding that customer i want to click on the name and find it in another table that store other data. But here is where i am stuck i want to check which table …

Member Avatar for tapananand
0
200
Member Avatar for Auroch

Hello everybody! I'm trying to count the number of occurrences of each word in a text file. Problem situation requires to realize menu using "switch" statement (If file exist or not). There are following errors in my program ("case b" and "default" is not working): **[C++ Error] 03_int.cpp(61): E2126 Case …

Member Avatar for Auroch
0
965
Member Avatar for k.vijayakumar

HI, I am writing unit test cases for silver light view model. When i am trying to mock edmx context, i am getting errors as in the screen shot. Please suggest how to solve the issue. ![9559cdb1d93cc91198a358bac62eeca5](/attachments/large/2/9559cdb1d93cc91198a358bac62eeca5.png "9559cdb1d93cc91198a358bac62eeca5") Thanks kvk

0
180
Member Avatar for happygeek

As I stated when [reviewing the Minisuit 3-in-1 Folio Case](http://www.daniweb.com/hardware-and-software/tablets-and-mobile-devices/reviews/477039/review-minisuit-3-in-1-keyboard-folio-case-nexus-7-2013#) for the Nexus 7 2013, the most important things a writer looks for in any keyboard are key travel, spacing and feedback. Obviously a travel keyboard throws some additional requirements into the mix such as weight, size and battery life. …

1
726
Member Avatar for happygeek

For a professional writer of any description, there are three things that matter when it comes to the keyboard that they are using: key spacing, key travel and key feedback. The Minisuit 3-in-1 Folio manages, as far as any such small keyboard is ever going to achieve, to get the …

1
672
Member Avatar for jason.allen.750331

I saw lots of old threads on this problem but could not find a solution so I thought I would share my experience and solution. Hi, I just had a problem that my cpu and case fans would not switch off after shutdown. It turned out to be a dvi-d …

3
196
Member Avatar for GeneClaude

So we were asked to reproduce the function generator and oscilloscope as a virtual instrument for our final exam. But I'd like to focus on the function generator. The audio generator GW Instek GAG-809/810 has only a single button for the waveform wherein the user would just press it repeatedly …

Member Avatar for Alberto Bucur
0
200
Member Avatar for kahaj

I only have experience using pretty basic Oracle. However, I'm now in need of a better understanding of SQL. I'm trying to write a query using CASE statements (as this seems to be the best approach), but am admittedly lost at the moment. Here is what I have as a …

Member Avatar for ugi.nagesh
0
334
Member Avatar for muhammad_43

Nice to meet you, i am a newbie i would like to ask a question that bothers me out : 1).How to add the decimal representation of N! (5 <= N <= 1,000,000) is simply the multiplicity of the prime factor 5 in N! to my script? 2). I wanted …

Member Avatar for JamesCherrill
0
244
Member Avatar for ishancoolstar

Diggit, is funded by the local authority in the Greenwich area. The project is to take young people who are seen at risk of offending and involve them in helping to look after the gardens of the elderly. A young person can be referred to the project from a number …

Member Avatar for ssj005
0
305
Member Avatar for red_ruewei

Hi, I'm sorry if I had post duplicate post. I had join this 2 table (dt_dict_tbl - store dictionary, sdn5_5 - store accumulate value for reporting). Here the table structure **dt_dict_tbl** CREATE TABLE `dt_dict_tbl` ( `dtDictCode` VARCHAR (30), `dtDictDesc` VARCHAR (600), `rptCode` VARCHAR (30), `rptSubCode` VARCHAR (30), `dtCreatedDate` TIMESTAMP , …

Member Avatar for red_ruewei
0
458
Member Avatar for klemme

Hi All, I am pulling out info from my db and need to tjeck if a column is 0, if it is then i need to SUM 3 other columns and pull out that total. I want to use the CASE keyword and tjeck for this, but am doing something …

Member Avatar for klemme
0
210
Member Avatar for admin-pc
Member Avatar for JySysAdmin

I am looking at http://www.w3schools.com/jsref/jsref_replace.asp and the specific example at: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_replace3 var str="Mr Blue has a blue house and a blue car"; var n=str.replace(/blue/gi, "red"); And the result of N would be: Mr red has a red house and a red car I want the result to be: Mr Red …

Member Avatar for pritaeas
0
233
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
353
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
250
Member Avatar for replic

Hello everyone, i am fairly new to shell scripting so please bear with me. The following script is supposed to read words from a file and depending on the word print different things. However it always prints the default value. It also refuses to work completely if the first line …

Member Avatar for replic
0
332
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
251
Member Avatar for ClientAlive

Hi, Please, this **isn't** about opinions on uml, it's usefulness (or lack thereof), it's standing, etc - please (I'm so tired)! I have a text usage case which main success scenario is thus: A) Two Players. B) Each player is prompted to enter their name C) Program randomly selects which …

Member Avatar for ClientAlive
0
349
Member Avatar for Prysm[VA]

So in my classes I've taken I was told by the teacher "case statements and if-else statements are the same things essentionally" so why learn both? and so I was not taught about cases. Besides the fact I should learn it anyway incase I need it for someone elses code, …

Member Avatar for mike_2000_17
0
321
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 WaltonPan

import java.util.Scanner; public class array_Project { int index; Scanner scan=new Scanner(System.in); System.out.println("Enter index number"); int[]Project={10,15,20,25,30,35,40,45,50,55}; } public class array2 { switch (int index) { case 1: if(index=0) { System.out.print(Project[0]); } break; case 2: if(index=1) { System.out.print(Project[1]); } break; case 3: if(index=2) { System.out.print(Project[2]); } break; case 4: if(index=3) { System.out.print(Project[3]); …

Member Avatar for aravind326
0
241

The End.