2,987 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Xeros606

Not an ArrayList. An Array. For some reason, my teacher (or rather, the lesson plan we are using) requires that we make a program that takes an array of integers and removes all the zeroes. So far I have: [CODE] public void remove(int index) { for(int i = index; i …

Member Avatar for JamesCherrill
0
3K
Member Avatar for saadbangashh

I am beginner and still learning c++. So this was a question in my assignment to make a horizontal bar chart something like this, Example: Input: N1=>8 , N2=>6 , N3=>2 , N4=>10 , N5=>9 10 * 09 * * 08 * * * 07 * * * 06 * …

Programming c c++
Member Avatar for dbfud1988
0
1K
Member Avatar for ssharp77

In need of some help with a programming project which reads text from one file and places it in a 2nd file, which will be identical to the first file with the exception of any string of two or more consecutive blanks being replaced by a single space/blank, eliminating extra …

Member Avatar for Dhushanthan
0
936
Member Avatar for Adolfo_1

I have three tables in mysql which make up the dropdown menu, as below code. I would like to get a $ breadcrumb variable with link from this menu. Example: Home / Woman Home / Woman / Clothes Home / Woman / Clothes / Women T-Shirth-2 It is possible?? <div …

Member Avatar for Adolfo_1
0
445
Member Avatar for Mark_118

Hi, I have a coding project due in 12 hours and I'm having a really hard time with programming. I came across this website because of my desperation for help. These are the requirements to pass the project: Create a basic Restaurant Point of Sale software using C-Language. Your restaurant …

Programming c++
Member Avatar for rproffitt
0
239
Member Avatar for FoxyBit

Hi all, I am working on a website that requires two queries from a table at the same time. They must select a row based on the id, and then another random one not including the row just selected. I currently have: $query = $pdo->prepare('SELECT title, content FROM cards WHERE …

Member Avatar for FoxyBit
0
214
Member Avatar for Manggala

I need help for my code after the user done register for their new account in my system. Here is the verification link that the user will receive via email for him/her to verified the email: `http://localhost/staff/email_verification.php?activation_code=49024f2e7b8c05dc1g66005g780g6060 ` But, when the user click on above link, I notice based on …

Member Avatar for Dani
0
149
Member Avatar for radhika_3

$text = "#########################\n"; $text .= "xxxxxxxxxxxxxxxxxxxxxxxxx\n"; $text .= "-------------------------\n"; $text .= " \n"; $text .= "-------------------------\n"; $text .= "Cultivate Orderly Queuing\n"; $text .= "Thank you for your visit\n"; $text .= date("d/m/Y h:i:s")."\n"; $printer = printer_open("EPSON TM-T82II Receipt"); //open printer printer_set_option($printer, PRINTER_MODE, "RAW"); printer_write($printer, $text); printer_close($printer);

Member Avatar for rproffitt
0
147
Member Avatar for bruce.hagen

I have a Python file with 50+ frames. Each frame has 5 radio button and 1 textbox. Each radio button has a pre-determine numeric value that will print to textbox. What I would like to do is replace the radio buttons with a combobox. the combobox is set up with …

Programming python
Member Avatar for pollybarker419
0
112
Member Avatar for Haswanth

Simulate an ATM machine. Program should able to do the following operations: A. Create accounts for the users. A user account is created using User ID and Password. Every user has unique User ID and Password. B. A user should able to login using his User ID and Password. C. …

Programming c++
Member Avatar for rproffitt
0
102
Member Avatar for Noor_26

#include<conio.h> #include<cstdlib> #include<windows.h> using namespace std; oustrup"<<endl; cout<<"b) Dennis Ritchie"<<endl; cout<<"c) Ken Thompson"<<endl; cout<<"d) Brian Kernighan"<<endl; choice=getch(); if(choice=='A'||choice=='a'){ cout<<choice<<" is correct Answer"<<endl<<endl; st.marks++; } else{ cout<<choice<<" is incorrect Answer"<<endl; cout<<"The corrent answer is a"<<endl<<endl; } break; case 4: cout<<i+1<<") A language which has the capability to generate new data types …

Member Avatar for rproffitt
0
99
Member Avatar for LZS_405

Using Java 2 method and basic dialog Create Best Pharmacy Billing System

Programming java
Member Avatar for jwenting
0
91
Member Avatar for panda32

Hi guys, i am looking for new hosting for a website i am building. I have checked a few companies on this site, https://www.superbhosts.com/ but can't make my mind up? By the way its a wordpress site. Needs to be good fast hosting.

Member Avatar for pollybarker419
0
89
Member Avatar for Ace_806

Hi! I found this code in one of the threads [here](https://www.daniweb.com/programming/software-development/threads/125119/auto-generate-id-number#post611289) I converted it into an access kind of code(?) and unfortunately, it won't increment, nor find the top/max in my database. Someone please help? ` Private Function GenID() As String Dim dr As OleDbDataReader Dim com As OleDbCommand Dim …

Member Avatar for tinstaafl
0
76
Member Avatar for Artiuh

#include <iostream> #include <fstream> #include <string> #include <conio.h> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <unistd.h> using namespace std; // Subprogram pentru Admin void Login(string& admin ,string& password) { string Users[200]; string Pass[200]; bool valid = false; void AdminOptions(); int x = 0; ifstream UsFile; UsFile.open("admin.txt"); UsFile >> Users [x] …

Programming c c++ database
Member Avatar for rproffitt
0
66
Member Avatar for Rober

Create the following table using SQLite database The basic building block of the system. Book: Every book will have BookID, BookTitle, Author, ISBN, Publishers. Employee : Every Employee will have EmployeeID, EmployeeName, FatherName, Designation, Salary Student: Every student will have Registration, StudentName, DOB, Program, Term Create table for issue and …

Member Avatar for Dani
0
41
Member Avatar for Dani

I've tried absolutely everything!! How can I flush the output buffer in CodeIgniter from within either my controller or my view?? They use some weird double/fake output buffer or something. Grrr!

Member Avatar for Dani
1
4K
Member Avatar for geetajlo

Hi every1 i have a form with a textboxid, buttonAdd, ButtonSave on it , when i click on the btnAdd it must show the id and when i click update it must really Save . I want to auto generate the id through codes ... can any1 help... I don't …

Member Avatar for Ravi_79
-1
9K
Member Avatar for pdk123

Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same place where the exe is stored for the c++ . int main() { Py_Initialize(); // Create some Python objects that …

Member Avatar for pdk123
1
840
Member Avatar for WolfShield

Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = …

Member Avatar for Ajeet_8
0
10K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Member Avatar for Dani
0
6K
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Member Avatar for Dani
0
1K
Member Avatar for Madhvi_1
Member Avatar for Dani
0
200
Member Avatar for Hope_9

(a) Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date of birth, gender, location and initial number of livestock (cattle) turned in. Include a constructor that initializes each field to appropriate default values. Also include methods to set and get …

Member Avatar for rproffitt
0
145
Member Avatar for lilindiekid

Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any …

Member Avatar for JamesCherrill
0
141
Member Avatar for eman_12

[You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit and credit cards in Egypt. This means that vendors accepting payments through these cards need to have a way of …

Member Avatar for rproffitt
0
140
Member Avatar for lilindiekid

1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender or both of them is/are reduced to 0 …

Member Avatar for rproffitt
0
105
Member Avatar for clife

Hi , I am new to python. I am trying to have a logrotate feature and also try to print the logs in formatted fashion. So I have created two handlers one for log roataion and other for log formatting. The log rotation is working fine as alone, but as …

Programming python
Member Avatar for rproffitt
0
98
Member Avatar for Ayshhh
Member Avatar for adisharma

Hello All, I just want to know what the average salary of python developer in india and Can anyone know which country gives the most salary?

Programming python
Member Avatar for rproffitt
0
84

The End.