199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sgw

Why doesn't the code (2) below produce the same output as the code (1)? Let's say you entered "4" as input: (1) int x; cout << "enter integer: "; cin >> x; cout << x++; cout << ++x; cout << x; The output of the above is "**466**" (as expected). …

Member Avatar for sgw
0
592
Member Avatar for phphp

Dear Sir, I am using following codes on EVERY textbox. private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { char ch = e.KeyChar; decimal x; if (ch == (char)Keys.Back) { e.Handled = false; } else if (!char.IsDigit(ch) && ch != '.' || !Decimal.TryParse(textBox1.Text + ch, out x)) { e.Handled = true; } …

Member Avatar for Reverend Jim
0
214
Member Avatar for Jim_21

This is a fingerprint verification application. When verifying,it loops through the table. if the current fingerprint template is the first one on the table row it verifies it correctly. But if the current fingerprint template is located on the 2nd or later rows, it loops through the table and at …

Member Avatar for demon916
0
293
Member Avatar for Online Check

I have a website name onlinecheckwriter.com which helps my client to print check online. Right now I'm facing one problem that I didnt find any vendor that provide offical routing never verification api. Right now our customer add routing number but I need cross check it with bank . So …

Programming api mssql php
Member Avatar for rproffitt
0
675
Member Avatar for davy_yg

How to take part of url and store it into a variable? For example: /home/pages/id --> I want to take id out and store it into $id. How to do that?

Member Avatar for diafol
0
377
Member Avatar for monem_1

I want to edit the following code where I want 1. Convert the print from left to right 2 - Modify the contents of the print down the data grid so that the contents of the lily "We are happy to use your software" appears below the last row of …

Member Avatar for rubberman
0
516
Member Avatar for farzane_1

hello freinds i have put an image (self.image) on my window background now, i need to put another image(mi_but1) on this window.. my problem: image mi_but1 is put on window with a gray square behind it(a gray square between image mi_but1 and window's background) .the final gui doesnt look nice.i …

0
140
Member Avatar for spades0001

Greetings! I am trying to connect my android application to a MySQL database. The app serves as a tool for lawyers providing them features such as: - a calendar wherein they can add and view events -an agenda list wherein they can see a list of their agendas -a notification …

Member Avatar for HitsuGaya198
0
4K
Member Avatar for Jim_21

Here is a sample of my code where I retrieve a fingerprint template stored in mysql database. I have stored the fingerprint template as BLOB type. I have a table with two fields or columns, CaseFileNumber and FingerP. I have stored the fingerprint template in the FingerP column and also …

Member Avatar for cereal
0
2K
Member Avatar for Siberian

I need some help why can't I create an instance of the child class without an error ? class tv(): def _init__(self,color,screen,frame): self.color=color self.screen = screen self.frame = frame def DesOfTV(self): info = "The TV has a"+self.color+"and a"+self.screen+"screen" return info class retroTV(tv): def __init__(self,color,screen,frame): super().__init__(color,screen,frame) oldertV = retroTV("black","tuber","wood")

Member Avatar for AndrisP
0
248
Member Avatar for nadiam

Hello. I have a project to develop a tool that reads Windows 7 raw memory dump. My lecturer says that he'd rather we use python or c coz that's his specialy but we can choose whatever. We chose python (bcoz i feel like its an opportunity to further learn about …

Member Avatar for rproffitt
0
473
Member Avatar for nadiam

Hello, i know this question has been asked a million times but I just cant seem to get it right. I googled and found [this](https://stackoverflow.com/questions/19611599/html5-phone-number-validation-with-pattern#19611675) and tried to use the pattern given but still the pop up still shows. I don't know what im doing wrong but its getting frustrating …

Member Avatar for diafol
0
412
Member Avatar for borgyborg

newbie here! I am working with a simple PHP form with few fields and few uploads. I want to use the Modal pop up form for this. Below codes are working fine. I was able to insert the fields into MYSQL successfully but I don't know how to add file …

Member Avatar for diafol
0
3K
Member Avatar for Sinisa_1

Good day to everyone. I need help. Have to make more of these and need someone to show me how. My code doesn't work the way it should. It would have to * wait for you to click jbutton and then: - disable jbutton - roll die, then start timer …

Member Avatar for Sinisa_1
0
1K
Member Avatar for Hawkeye249

The following works to calculated the date for Easter any given year. I don't understand why it works ... =FLOOR.XCL("5/"&DAY(MINUTE(YEAR("1/1/2017")/38)/2+56)&"/"&YEAR("1/1/2017"),7)-34 I'm a novice - in the above, "1/1/2017" is used to provide a year. That could be done a number of ways, and is not the same way I have …

Member Avatar for rproffitt
0
388
Member Avatar for Sarah_23

A children's game of 'count out' is played as followed. '40' children are arranged in a circle, a sentence containing of 'm' words is used to eliminate '1' child at a time until '1' child is left. Starting at child '1' the children are counted from '1' to 'm' and …

Member Avatar for rubberman
0
320
Member Avatar for Prathamesh_1

THIS SOURCE HAS printf STATEMENT WHICH IS TO BE REPLACED WITH cout STATEMENT. PLEASE HELP ME....... :) #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<time.h> int a[9][9],b[9][9],r[60][2]; int row, col, icount, mode; char solh; void main() { void readvalues(void), display(void),generate(void); int solve(),checkmat(), checkrow(), checkcolumn(),check(),isfixed(); int i,j,error; char c; clrscr(); prinf("\n\t\t\t SUDOKU GAME by:\n\n\t\t\t \n\t\t\t …

Member Avatar for rubberman
0
498
Member Avatar for Saanvi
Member Avatar for xrjf
0
521
Member Avatar for vin_1

This is not working, what I wanted to do is to check if there's an active account before I log in,if so, then there's a prompt that will pop up to tell me that there's still an active account that needs to log out.. TIA bool isActive = false; string …

Programming
Member Avatar for rproffitt
0
256
Member Avatar for Patiodude

I run a website where I periodically post articles. I'd like to add a timestamp/datestamp to each article showing the post date (the upload date, I assume, would be the logical choice). I had already asked for advice on this topic; unfortunately, the result is a blank. Literally. Here's an …

Member Avatar for Ty omotayoo
0
728
Member Avatar for සශික

I'm developing some kind of web application simillar to forum. I want to show comments under which it belongs to. I currently used bootstrap, php, mysql for this. Here I post my code.... <div class="col-md-7"> <div class="col-md-12"> <form action="insert_post.php" method="post"> <div class="input-group"> <p><b>You Are Posting As : </b></p><h4><span class="label label-default"><?php …

Member Avatar for diafol
0
509
Member Avatar for Sajjad_4

import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; public class MatrixPath { static List<String[]> obstacles = new ArrayList<String[]>(); static String[] size = new String[2]; static String[] startingPoint = new String[2]; static String[] endPoint = new String[2]; static int sizeOfRow = 0,sizeOfCol = 0; char one = ' '; …

Member Avatar for JamesCherrill
0
456
Member Avatar for Stat_1

I tried to popup partial view, but its not working ,this is my link <a id="id1" href="@Url.Action("index", "versus", new { matchid = c.MatchID })" target="_blank" data-toggle="tooltip" data-placement="top" title="@homeMLName - @awayMLName"> @homeMLName - @awayMLName </a> And this is my script: <script> $('a#id1').click(function (event) { event.preventDefault(); window.open($(this).attr('href'), '_blank'); }); </script> It opens …

Member Avatar for Stat_1
0
764
Member Avatar for Shulc
Member Avatar for RainaAnja

I am developing a website that gives statistics for soccer games,and i want to convert the schedule of the match depending on the time zone. I created this function but it seems not to be working. public static DateTime UtcToLocalTimeZone(DateTime argDateTime,TimeZoneInfo argTimeZoneInfo) { try { return TimeZoneInfo.ConvertTimeFromUtc(argDateTime, argTimeZoneInfo); } catch …

Member Avatar for JamesCherrill
0
1K
Member Avatar for naheedkassam

Dear all, I have a scenario, where I have a single table with all my users listed in them. Each user also has a field indicating the user they report to. UserID UserDisplayName UserReportsTo ----------- ------------------------------------------------------------ ------------- 8 Anthony Karimi 3 9 naheed kassam 8 1 Administrator 1 3 Ramakrishna …

Member Avatar for naheedkassam
0
447
Member Avatar for KING_9
Member Avatar for Keven_1

the code will show you what im trying to do, I hope you understand im new to programming but know the basics of java and im trying to add Object Oriented Programming to my apps so its not procedural thanks , if you need more info to understand just ask …

Programming java xml
Member Avatar for JamesCherrill
0
3K
Member Avatar for Ivan_17

I use jQuery UI .droppable for dropping elements to divs. Now I need to prevent dropping to divs with class .box if they are not empty. if ($('.box').is(':empty')) { $(".box").droppable({ }); } But this makes all .box divs non-droppable whether they are empty or not.

Member Avatar for Ivan_17
0
439
Member Avatar for jeffersonalomia

Hi, I would like to ask for help with regards on my problem on my phpmyadmin - mysql database. I am using wamp server 2.5. So here's the scenario, I try to insert data on two tables (accounts, user_info) on mysql @ phpmyadmin using php ajax. Now the problem is …

Member Avatar for diafol
0
262
Member Avatar for eoop.org

Hello, I have been strugling with this for a while. Is it possible to create a loop that will make this function run automaticly. I want to type in how many times it should repeat the pattern. For example, i want to run to $sum20 Please help me out! <?php …

Member Avatar for diafol
0
400
Member Avatar for Hamsterking

hello danibe's friends i hope you all are doing well, i always had a question that i never asked so i would like my image to be full width not full screen just the width on any screen how can i do that without deforming the original image, have i …

Member Avatar for diafol
0
375
Member Avatar for davy_yg

Anyone knows how to work with Gitlab or Github? What's the difference. Also, how to install Gitlab so that you can collaborate coding with your coworkers for free. Is that possible? Thanks.

Member Avatar for pty
0
277
Member Avatar for Jason_24

Hi everyone, I am having some problems with this problem. I know I am almost there but I think I am not quite getting it. I get this error when I run it. Exception in thread "main" java.lang.NullPointerException at Newspapers.Subscribers.main(Subscribers.java:14) Can you guide me to the right direction. Thank you. …

Member Avatar for stultuske
0
4K
Member Avatar for karmatech

I want to know how to make contact us Page in Html. I don't have clear idea regarding this because I am new in this field. Please notify me as soon as possible.

Member Avatar for davy_yg
0
320
Member Avatar for RainaAnja

The model item passed into the dictionary is of type 'System.String', but this dictionary requires a model item of type 'BetGuns.Web.Models.Home.VM_HotGames'. How to fix this error @foreach (var c in Model.Mathes) { decimal res1 = 0; decimal resx = 0; decimal res2 = 0; string proposal = string.Empty; string proposal2 …

Member Avatar for hericles
0
456
Member Avatar for Thomas_36

I am trying to create a header file that contains several global variables. At the moment, the Globals header file looks like this: This is Globals.h #ifndef GLOBALS_INCLUDED #define GLOBALS_INCLUDED #include <string> std::string DRIVE="HELLO!!!!!"; #endif To go along with this, I have a cpp and h file the contain a …

Programming c++
0
144
Member Avatar for Matth963

Hi, I'm doing a simple study planner in java. Obviously I need to do a timetable generator. The program works like this: 1. The user enters the start time of school and the length of each breaks (Done) 2. The user enters the lessons(Done) 3. When the user presses next …

Member Avatar for Jhonathan_1
0
5K
Member Avatar for luke_8

G'day everyone! I'm fairly new to C++, so bear with me if this is painfully obvious. I'm trying to get a user to guess a string, which is just a vector containing random capital letters. That random letters part works great, however I can't figure out how to get my …

Member Avatar for David W
0
1K
Member Avatar for davy_yg

I also wonder when I press the add category button the button disappears: <div class="tab-content backend-detail slimScroll"> <div role="tabpanel" class="tab-pane active" id="articles" style="height: 100%"> <br><br> <div class="form-body create-article"> <a href="{{ route('home-addpages')}}" class="btn btn-green btn-act-edit" data-id="" data-tittle="" data-content="">Add Category</a> <div style="color: white;">Category: <br><br> Category #1 <a href="#" class="btn btn-green btn-act-edit" data-id="" …

Member Avatar for davy_yg
0
265
Member Avatar for stefy14

I want to my program to prompt user to input a number with three or more integers I need the program to output a space between each numebr example: cin>>3334; i want the output to show 3 3 3 4 each with a space and then i also need to …

Member Avatar for amisha_1
0
58K
Member Avatar for Mehidy_1

Hi I'm trying to update my DB table with below code.When I select all row or only 1st row its working fine, but when I select 2nd row or another row, its updating the 1st row value to my DB table. Please see & try to help me. update.php <table …

Programming mysql php
Member Avatar for hericles
0
417
Member Avatar for davy_yg

Hello, I have two files with slightly different codes from two different programmer. Me and the other guy. And I would like to move part of the working feature from one file to the other codes. Any software that could compare php / laravel codes and highlight the difference? Something …

Member Avatar for Reverend Jim
0
731
Member Avatar for MUHAMMAD AHMAD_1

Write a C++ program that takes in text from the user and prints the total Number of spaces used in the text. Kindly, use #include<iostream> and #include<conio.h> only. while loop is more preferable than for or do-while.

Programming c c# c++
Member Avatar for Reverend Jim
0
348
Member Avatar for heo

how can i make toupper global so that all variable in char will be all upper?

Member Avatar for DavidB
0
155
Member Avatar for harsha_6

#include <iostream> using namespace std; int main() { int passwoard; cout << "enter ur passs...."; cin >> passwoard; return 0; } if(passwoard == 100) cout << "i loveu ";

Programming c++
Member Avatar for DavidB
0
163
Member Avatar for Mooyeon

I made first board, but when I use function next_generation, it prints wrong result. For example, since first board is 01000 00100 11100 00000 00000, next one should be 00000 10100 01100 01000 00000 . But my program prints 00000 00100 01100 00000 00000. Here is my code. #include <stdio.h> …

Member Avatar for JamesCherrill
0
377
Member Avatar for zebnoon1

Dear Friends, i Developed a C# Project with SQL Server Database (Database is not LocalDB) and i want to create a setup file to install on client system havin windows xp 32bit. Please suggest me how to do it ?

Member Avatar for rproffitt
0
557
Member Avatar for bhuvi_2

hi i want to know how to delete duplicate rows in imported csv files in phpmyadmin in php..below is my code to import csv file in php,i want to delete duplicated rows in my imported csv files which is in database of xampp(phpmyadmin)can anyone add thecode for it <?php $user …

Member Avatar for cereal
0
339
Member Avatar for rpv_sen

Hi i am having 3rd party csv file. i am having php uploading script to upload the datas into my table. while uploading datas into my mysql Table mean while it has to remove duplicate entries rows from CSV file. Please help me

Member Avatar for bhuvi_2
0
9K

The End.