861 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for RJPII

I have been browsing the web for days now trying to find a solution to my problem and have yet to come up with anything so far so I figured I would ask some professionals. Basically I need to read a text file which contains records along the lines of: …

Software Development c++
Member Avatar for Syed Umair Mohsin
0
12K
Member Avatar for Climber Ty

So I am trying to wrap my head around link lists and the theory is there but the magic isn't (at least in my program)... my problem runs with the void traverseRecord() function. For some reason it automatically shows all the nodes. Maybe I haven't totally grasped the concept of …

Software Development c++
Member Avatar for JamesCherrill
0
6K
Member Avatar for smachee

I have written the code for the following problem and would just like some feedback before I move on. The problem states: [QUOTE]Write a class names TestScores. The class constructor should accept an array of test scores as its arguement. The class should have a method that returns the average …

Software Development java
Member Avatar for patrick_25
0
5K
Member Avatar for Shaitan00

First - so I don't get in any trouble - I've posted a similar question on other forums but have not gotten any responses so branching out in my quest for help as well as changing the question a little. Previously I was trying to find out why calling LoadUserProfile(...) …

Software Development c#
Member Avatar for Pooja_20
0
6K
Member Avatar for MagnusTheRed90

I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter …

Software Development asp.net c# html-css java javascript vb.net
Member Avatar for MagnusTheRed90
0
135
Member Avatar for kamilacbe

Hi , Am new to teamcity build configurations . so somehow i get a builderror when the source code js build for first time after rebuild its sorted in my local machine . Unfortunately the same happends in teamcity build where it cannot get the nugget package and it produce …

Software Development
1
33
Member Avatar for pROKO

I programmatically edit my datagridview cell values. I use the vertical scrollbar to find the row I want to edit, select the row then click an edit button that takes me to another form where changes to the record are made. I then click a button which saves the changes …

Software Development vb.net
Member Avatar for Trần Hoàng Sơn
0
5K
Member Avatar for monkey_boy_401

can you please tell how you would invert the mouse control so that up is down, left is right etc.

Software Development c++
Member Avatar for D_5
0
3K
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Software Development assembly c++
Member Avatar for Fatur_1
0
603
Member Avatar for ppel123

Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am …

Software Development python
Member Avatar for griswolf
0
383
Member Avatar for davidmoffitt1

Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if I meant ==, but still displays the output the way it should be.

Software Development python
Member Avatar for tinstaafl
1
302
Member Avatar for newcoder310

Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: …

Software Development java
Member Avatar for newcoder310
0
3K
Member Avatar for tony75

Hi Try to extract password from my chrome browser but I got this error below How can I solve this problem? Traceback (most recent call last): File "Chromer.py", line 13, in <module> password = win32crypt.CryptUnprotectData(website_data[2], None, None, None, 0)[1] pywintypes.error: (13, 'CryptProtectData', 'The data is invalid.')

Software Development python
Member Avatar for rproffitt
0
330
Member Avatar for janedelsantos

Help, how can I create a MULTILEVEL QUEUE ALGORITHM program? I tried it but it crashes, does not build... It would be okay if its in other language. HERE IS THE SNIPPET CODE SAMPLE (c++): --------------------------------------------- //Enter Number of Process cout<<"\nEnter the number of Processes:"; cin>>n; //INPUT Arrival, Burst, and …

Software Development c++ microsoft
0
132
Member Avatar for SoftBa

Hi, I have one Win Form app to load Excel data into DataGridView. I want to store DataGridView data into MS Access database. Everithing works great, but in some cases inside ExcelFile I have single quote mark, which breaks SQL Syntax. My question is, How to find & replace "'" …

Software Development vb.net
Member Avatar for AndreRet
0
88
Member Avatar for jliamnrich

Hello friends. I am new at programming and need to programm "X" as an assignment [](https://freeessaywriter.org/) (pic is attached) The "X" should be arbitrarily large or small and the edge length of the "X's" should be entered by the user. The code is below. Would highly appreciate any help: include …

Software Development c
Member Avatar for tinstaafl
0
82
Member Avatar for John_165

What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } }

Software Development java
Member Avatar for John_165
0
1K
Member Avatar for subhraakasuny

Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code …

Software Development image java microsoft-office
Member Avatar for GovindSharma
0
4K
Member Avatar for Mike Bishop

I normally use SQL as the backend database however for a new project I need to use MSAccess. I am trying to insert a new record, this works fine if I only have on fielid on the row but as soon as I have a second field I get an …

Software Development microsoft-access vb.net
Member Avatar for SoftBa
0
746
Member Avatar for ADeen02

A detective has interviewed four witnesses to a crime. From the stories of the witnesses the detective has concluded that if the butler is telling the truth then so is the cook; the cook and the gardener cannot be be telling the truth, the gardener and the handyman are not …

Software Development
Member Avatar for Shashikala_1
0
511
Member Avatar for Georgi_1

Hello, Can someone assist me how to create here buttons - Button7 - First - Button5 - Next - Button6 - Previous - Button8 - Last To search in database and display the results. Here is my project until now: - Also if there are mistakes or suggestions to make …

Software Development gui microsoft-access vb.net
Member Avatar for SoftBa
0
399
Member Avatar for RedWGS

So i need to make a program to my final year of college which will count on the grades and it is obligatory, im doing a program to search for recipes in a access database trough its ingredients, what i mean by this is selecting some ingredients and in a …

Member Avatar for Santanu.Das
0
202
Member Avatar for Reverend Jim

I have a Chromecast that I use to stream video from my laptop to our TV. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, I am limited to streaming files in the mp4 format. Fortunately, ffmpeg allows me to convert other formats to mp4. …

Software Development vbscript video
Member Avatar for gladisfogson
1
2K
Member Avatar for ZZMike

This is Python 3.4.2 The documentation says that s2 = s1.strip('a') will strip out all the 'a' in s1. When I run it, only the leftmost character - and only if it is 'a' - is stripped. The default s2 = s1.strip() takes out all whitespace. PS: I understand that …

Software Development python
Member Avatar for tinstaafl
0
13K
Member Avatar for brettw02

Love the idea of the program. Im quite interested in seeing how to get something like this to work. Is there any chance someone could add a working version to the code snippets section or possibly send me a working snippet in PM? Im trying to educate my self and …

Software Development c++
Member Avatar for Jaynish
0
3K
Member Avatar for Fiascor

Hi there folks, kinda new too C# and want too show or hide a button using a checkbox and after trying i just gave up haha so here is the quastion! how do you do that because i am really lost here.. would show you the code. but i kinda …

Software Development
Member Avatar for JamesCherrill
0
1K
Member Avatar for Vegito1991

I was doing GUI based application, when i run the MyChatPage particularly, it able to send the text to the server and send to the client textarea, which is my objective, but if i run from MyChatIP class and create new object to open the MyCHatpage frame, it will hang, …

Software Development java
Member Avatar for Muhamad_5
0
505
Member Avatar for sujoy98

import java.util.Scanner; class bank{ public void termDeposit(){ int principle; double rate,years; Scanner sc=new Scanner(System.in); System.out.print("Enter Principle Amount : "); principle = sc.nextInt(); System.out.print("Enter rate od interest : "); rate = sc.nextDouble(); System.out.print("Enter time period in years : "); years = sc.nextDouble(); double maturityAmount = (principle*(Math.pow(1+(rate/100),years))); System.out.println("Maturity Amount after " +years+ …

Software Development java
Member Avatar for sujoy98
0
200
Member Avatar for MagnusTheRed90

I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream …

Software Development asp.net c c# c++ java javascript vb.net
Member Avatar for MagnusTheRed90
0
96
Member Avatar for Ninja_1

How can I show a div when menu item is clicked in angular? The Div show fine when I click list item, but dsn't disappear when I navigate to other menu items. <li><a class="nav-link slots" (click)="showme = true" >Slots</a> <div ng-hide="showme"> <div class="ribbon" *ngIf="game.categories[0]"> <span>TOP</span> </div> <div class="ribbon" *ngIf="game.categories[2]"><span>NEW</span></div> </div> …

Software Development
Member Avatar for Akash_26
1
606

The End.