199,114 Archived Topics
Remove Filter ![]() | |
Hello. I am taking a "Data Structures" class. I have to create a code that will print the following "Output": 8 6 4 2 0 6 4 2 0 4 2 0 2 0 0 I tried doing this code three different ways. Here is the first way. I did … | |
HI, I'm just new to c (programming in general), and I am wondering why getche() echoes every character that I type but not 'Enter' key. Isn't 'Enter' key a character? And also, why does getchar() **-which requires to press enter after typing a character-** echo the 'Enter' along with the … Programming c++ | |
I am new to jsp. I have created a simple login page. Now i want to save/retrieve the password in textfile. The following is my code to save the username and password. I have save one user and password. Now i want to append new users in the same file. … | |
hey i have been given a project need help in coding it **Project Problem:** A company wants you to create a program to manage records and do analysis regarding projects. The company stores all information in a file as follows: The PROJECT file contains project characteristics such as the … Programming c++ | |
I am making a ping pong game using JavaFX, but before I am going to make that, I like to test the KeyEvents. I made a simple ping pong game about 2 years ago, but I like to improve my game. And was pretty bad controlls back when I made … | |
validation is working fine for me but i cant submit please help me thanks here is my php | |
So, I made a simple server-client chat program, but I have a problem: if the server tries to message the client, the server lags or freezes a bit, same with the client. is there something that I do wrong? import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import … | |
I need to redirect users to two (2) different pages based on the roles given to them in the database. Only the email and password is submitted on the login page. I have to fetch the role from the database which looks like this: Email | Password | UserType aa@me.com … | |
I created a simple Point of Sale program without database in Visual Studio 2008 (VB.NET) and I want to output the number of money bills that are needed to complete the change of the customer This is the preview of my program - https://ibb.co/R94400g In the image, at the bottom … | |
So I am making a responsive audio waveform, if you don't know what that is, it is something like this: (btw this is my goal to make those audio waveforms). https://i.ytimg.com/vi/J7uN-SQtOYI/maxresdefault.jpg https://www.youtube.com/watch?v=OVMuwa-HRCQ https://www.youtube.com/watch?v=SCD2tB1qILc I don't know how to describe it, so just look at the videos and image. but my … | |
I have a problem with laravel and vuejs the code below is in my resources in test.blade.php, I don't see anything in the internet browsers <!doctype html> <html lang="en"> <!doctype html> <head>` <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet"> <!-- Style --> </head> <body> … | |
Hii Guys I am currently Devloping a Java Remote Desktop Software like teamviewer I would like know some guidelines about the tools I can use for client and server side I could create a GUI using Swing and add by using Robot class to imitate mouseactions and keyactions and by … | |
I have an issue when building for iOS in Xamarin Studio: I open Xamarin Studio and create a Single Project View App for IOS, I then run the project, but the project does not load onto the simulator all I get is the message "Waiting for the debugger to connect … | |
I use MampPro to setup my sites on the local server... all well and good. So, every time I fire it up I get the upgrade nag... so, I figure its time, and hit the upgrade... and it does its thing. BOOM, every database I had there - gone! GRR! … | |
hello dear community, first of all - i hope that my beginner-question will fit into this sub-forum. I hope so. Servo Control with Micropython - with the ESP 8266 ...- compared to Arduino I work with young kids and I'm always looking for economical platforms to build intriguing projects. While … | |
i've been tried some code : a.html : <div class="content"> <a href="howto_google_maps.asp">Google Maps</a><br> <a href="howto_css_animate_buttons.asp">Animated Buttons</a><br> <a href="howto_css_modals.asp">Modal Boxes</a><br> <a href="howto_js_animate.asp">Animations</a><br> <a href="howto_js_progressbar.asp">Progress Bars</a><br> <a href="howto_css_dropdown.asp">Hover Dropdowns</a><br> <a href="howto_js_dropdown.asp">Click Dropdowns</a><br> <a href="howto_css_table_responsive.asp">Responsive Tables</a><br> </div> b.html (1st trial), i got this from w3schools : <html> <head> <script src="js/jquery-3.3.3.min.js"></script> <script> function includeHTML() … | |
Hi there I’m learning vb.net and my main outcome is to be able to find out how to create from scratch custom GUI controls like 7 Segment displays in vb.net mind you and once I have accomplished that to be able to connect the hardware to a serial port like … | |
Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and … | |
Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and … | |
Hey I'm trying to make a sudoku solver. Im stuck at printing the sudoku elements using outtextxy. My command line is : for(i=0;i<w;i++) { for(j=0;j<w;j++) { if(A[i][j]==0) outtextxy(25+40*j,55+10*i," "); else outtextxy(25+40*j,65+10*i,A[i][j]); // outtextxy(25+40*j,55+40*i,"1"); } } where A[][]is the array in which sudoku is stored and the blanks are inputed as … Programming c++ | |
I've problem about using Genymotion Android emulator for xamarin development. I have intalled Genymotion desktop app and several Android devices within it. Whenever i run any of the installed device in Genymotion desktop app via start button, it works fine but there is no Genymotion emulator in the list of … | |
hi, I have a vb program that wants to retrieve data from MySQL dbase. this code is working fine : Dim vDATE As String vDATE = mDATE.ToString("yyyy/MM/dd", System.Globalization.CultureInfo.InvariantCulture) Dim connstring As String = "server=xxx.xxx.x.xx;database=dbname;uid=idko;Pwd=passko" Using con As New MySqlConnection(connstring) con.Open() Dim query As String = "SELECT issue_date, inc_date, exp_date, total … | |
I am making a program, and I don't know why my program becomes unresponsive, when I click the button ): I have a feeling its because of this: "connection = server.accept();" I don't know how to fix it. I am trying to recreate this: https://stackoverflow.com/questions/18505123/how-to-use-client-chat-on-different-pc but in javafx. package yeetYeet; … | |
Hello Everyone. I am trying to create a code to decode an PostScript RLE image and save it. However, my output is always invalid (the raw image). I try to open it on photoshop but its always an invalid image or something like that. I've wrote at least three versions … | |
JSP page: <div id="ADDBUTTON" style="vertical-align: bottom;margin-left: 10px;display: none;"> <label style="text-align: center;" class="titleblue_s4" >Add Part Description</label><br> <div class="Table"> <div class="Row"> <div class="Cell"><label class="graylabel2">Enter Part:</label><font color="red">*</font></div> <div class="Cell"><s:textfield cssClass="text" name="partEntered" id="partEntered" value="%{partEntered}" theme="simple" size="50" onkeydown="return validatetext(event);" onkeypress=" return validatetext(event);" /> </div></div><div class="Row"> <div class="Cell"><label class="graylabel">Part Description:</label></div> <div class="Cell"> <s:textfield cssClass="text" name="addpartdescrp" id="addpartdescrp" … | |
How can I get internal HDD_DETLAIS = SerialNumber, Model, Manufacturer,TotalHeads ...... etc. Please help me.. Now my problem is my code run ok, but when I insert external HDD or pen drive then showing the last counting device Details please help .... i want to show only internal HHD device … Programming vb.net visual-basic visual-studio | |
With this php code, I send a request for payment with Paypal sandbox account. However when I go to the submit page I cant see what amount I am paying: https://i.imgur.com/iTra1SQ.png -> here in the red shoulld be displayed - 10.00(amountPayable). How can I send it so it's showed? use … | |
Dear all, Am new programmers and I'm facing a problem on how I can draw a pie chart column-wise using PHP MySQL. Please see the MySQL table below; id Q1 Q2 Q3 1 Female No 30 2 Male Yes 40 3 Female Yes 50 4 Male Yes 60 What I … | |
My program fail to generate the auto ID on my text can help me. Private Sub getNextNumber() If Not app.State = ConnectionState.Open Then 'open connection app.Open() End If Dim da As New OleDb.OleDbDataAdapter("select top 1 ID from ADMIN ORDER BY ID desc;", app) Dim dt As New DataTable 'fill data … | |
CAPTCHAs, authentication codes, and click-throughs are the scourge of Internet users everywhere. Nobody wants to waste time filling out a form while they’re browsing the web, even if it takes just a few seconds. But although these systems may be a nuisance, they serve a very important purpose. Blocking bots … | |
I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F | |
I have been wrestling with this for two days now and getting nowhere. Something is broken, either the GridSizer control or me. I'm hoping it's me and someone can show me the problem. I've stripped my app of non-essentials. What I am building is a Sudoku app which consists of … | |
Hi! I am creating a simple python tkinter calculator. However when I was due to submit my code in my teacher said that my code is inefficient and recommended i change the following: 1.) Create buttons using a for loop 2.) have two classes - one of which is for … | |
Can anyone help me with this: I made a program where the user will choose a product from a menu and i want after the products that the user chosen will be output also below where there is like a "receipt-like" or a summary of what the user bought. I … | |
Hello all, I've actually seen a few posts floating around the web (most of which are rather old and none of which were solved) about the same question that I'm having which is this: I have a combobox that is populated with movies with a number corresponding to where it … | |
Hello, I have a ComboBox in my WinForm which has data from SQL server (used LINQ to bring up the data). I'd like to have an option just like AutoComplete in VB.NET but not only by the first letter but for a search LIKE. For Example: My ComboBox has there … | |
I have looked on the web for a solution to print scrollable panel larger than can be fitted on the screen but couldn't find any solution and it looks like that many people has this problem! PrintForm (printform powerpack component) can not do this because it only capture that part … | |
Newbie here, Final year student of Electronics, I am learning python and want to move in the direction of web development! sounds quite strange to the filed i am in. i have been geting interested in working with API's and learning frontend using tkinter in python. Thanks! | |
[B]I've highlighted the code in question in red. Can somebody tell me how the red code makes Pac man and the Ghosts move?[/B] [code]// // PacMan // Another 1 day game (created in 5 hours). // // (C)2000 // Brian Postma // [email]b.postma@hetnet.nl[/email] // [url]http://www.homepages.hetnet.nl/~brianpostma[/url] // import java.awt.*; import java.applet.Applet; … | |
I have an assignment to create a card game that compares to dealt cards between players to see who has the highest valued card. It must first be determined by the cards value, then only if it is tied, the suits value. The code below is what I have so … | |
I can't accomplish async and await in order to populate array and then show the end result. When I execute the code, firstly there is an empty array. When I go "refresh", then data is populated. Obviously async. But I don't know how to write the code The similar problem … | |
Hi! I am creating a simple python tkinter calculator. However when I was due to submit my code in my teacher said that my code is inefficient and recommended i change the following: 1. Create buttons using a for loop 2. have two classes - one of which is for … | |
hi brothers , i work on a ASP.NET MVC Project, please i try to get a cookie who created already using server side C# , and in a pure HTML page not .CSHTML i talk now about .HTML page , in this page i want to using javascript to read … | |
Hi guys, as part of an exercise I was involved with, I had to use the factory pattern to create a series of different objects, however I'd like to keep a list or map for what it matters of these objects and I'm getting a bit into troubles here. So … | |
hello, i recently joined the USACO's training gateway [url]http://ace.delos.com/usacogate[/url] I made the first problem([URL="http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride"]http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride[/URL]) and it ran successfully in my dev-cpp compiler. but the online grader threw some runtime error. it was like [COLOR="Red"]Compiling... Compile: OK Executing... > Run 1: Execution error: Your program (`ride') exited with signal #6 (abort()). … | |
Hi guys, Am developing a clinical management system in VB.net and using Microsoft Access for the database. Everything else is working very well. But the login code is not working. It's throing an error message "Object reference not set to an instance of an object" on line 12. Below is … | |
I got this assignment and I'm stuck. I have to write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. Can someone help? :confused: | |
class foo(object): __slots__ = ['__base__'] What's expected is for `foo.__base__` to be a member_descriptor object but instead what you get is: >>> foo.__base__ <class 'object'> >>> foo.__base__ is object True I guess something happens within the magic of class construction that makes use of `__base__` as an object. I stumbled … Programming python | |
**hello When I push submit the page refresh. Any suggestions to stop refresh ? I'm assuming it's something to do with the submit button but I can't figure it out this is my script :** <form id="form1" class="form-horizontal" method="POST" action=""> <input type="hidden" name="action" value="ajouter_reservation" /> <div class="modal-header"> <button type="button" class="close" … | |
#include <stdio.h> int main() int pv, cv, temp; temp = 15; pv = 1; printf("%d\n" ,pv); cv = 1 printf("%dn" ,cv); while (cv < 10) cv = temp; temp =pv; pv = cv; printf("%d\n ,pv); printf("%d\n ,cv); geche(); return 0; Programming python |
The End.