Member Avatar

hai, my project title is student's feedback generation vb.net is front end and excel as back end. i have one text box and combobox. to get row value from excel sheet and display into combobox when the text box value matches the cell value

Member Avatar
+0 forum 1
Member Avatar

Hi everyone, I am working on a project (just started) in PYTHON and I want to create a keylogger for 2 languages english and greek. For this I have created the below (it is under "construction") code. from pynput.keyboard import Key, Listener from langdetect import detect from pynput import keyboard def on_press(key): global string if key == keyboard.Key.esc: #if button escape is pressed close the program listener.stop() elif key == keyboard.Key.space: print(string) string="" else: string = ''.join([string,str(key).replace("'","")]) string="" controller = keyboard.Controller() # Collect events until released listener = keyboard.Listener(on_press=on_press) listener.start() I run it and all good until I change the …

Member Avatar
+0 forum 3
Member Avatar

Does anyone know a good Java machine learning library I can use for a commercial product? Weka and Rapidminer unfortunately do not allow this. I already found Apache Mahout and Java Data Mininng Package. Has anyone experience with them and provide some decision support? The task calls for clustering and classification algorithms.

Member Avatar
+0 forum 1
Member Avatar

I have a fully functional code that uses the random number generator to generate a set of random numbers. I'm trying to display "e" next to all the even numbers in the set, and then have a cout statement that tells the user how many even numbers there are in the set. Here's my code: #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; int main() { //I'm declaring my variables int numValues1, cnt = 0; //I'm declaring my symbolic constants. #define MAX1 500 #define MAX_VAL1 5 //I'm getting the random number generator ready and using 30 as my seed …

Member Avatar
+0 forum 1
Member Avatar

New to asking help but I'm desperate. I have most of the code I just need advice and also how to put the value from the file into the array and then pass to the functions without using any strings or string header. Basically trying to make this work and I'm stuck. #include <iostream> #include <iomanip> #include <fstream> //Array Size Set const int ARRAYSIZE = 25; using namespace std; //Declaring Function Prototypes char findComplement(char,char); char findmRNA(char,char); bool isPalindrom(); char displayResults(char,char,char); int main() { //Declaring Arrays with constant size of 25 char dnaArray[ARRAYSIZE]; char comArray[ARRAYSIZE]; char rnaArray[ARRAYSIZE]; int size=0; int i=0; …

+0 forum 0
Member Avatar

Inside of my Windows Form Application , I have a textbox that the user can enter numbers into. I also have an add button if they would like to enter a number and then add another they can hit the button. I'm having trouble with figuring out what you can use if you want to save the first number entered, and then the next and so on. I want to be able to use all of the numbers in calculations later but I'm not sure how to save each number they enter. Do anyone have any suggestions?

+0 forum 0
Member Avatar

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> TS file: showme : boolean = false;

+1 forum 0
Member Avatar

I have a database, where I store Job Openings, Where I store Job Descriptions with formats in RichText Box like: bullet points, ordered lists and bold text etc... But when I save data in MySQL Database and Retrive it from Database it comes format less. Can anyone help me regarding this issue?

+0 forum 0
Member Avatar

Hey! I am really stressed out about my TURBO CPP project. I wrote a program on periodic table using file handling. when i compiled it crashed and not the project is unusable. I want to submit it at the earliest. I was hoping some one might drop their out projects. Thanks.

Member Avatar
+0 forum 6
Member Avatar

Help i need to have 3 login attempts then the program will lock down but the message box shows up 3 times consecutively, it will close then pops out it will do this for 3 times then it closes ... help pleassseee :( Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim un, pw As String Dim counter As Integer = 0 un = txtUsername.Text pw = txtPassword.Text Do If un = "student" And pw = "21217" Then Me.Hide() CourseStudy.Show() Else counter = counter + 1 MsgBox("Try again", MsgBoxStyle.Critical, "Acess Denied") txtPassword.Text = "" txtUsername.Text = …

Member Avatar
+0 forum 1
Member Avatar

package de.extrema.java; import java.util.Scanner; public class Pogramm { public static void main(String arrg[]) { try (Scanner scanner = new Scanner(System.in)) { double a , b , r , A , h; int number2; int number; System.out.println("Körper: "); System.out.println("Deine Wahl: "); number = scanner.nextInt(); number2 = scanner.nextInt(); switch(number) { case 1:{ switch(number) { System.out.println("Viereck: 1 Kreis: 2 Dreieck: 3 Trapez: 4 "); case 1:{ System.out.println("a: "); a = scanner.nextDouble(); System.out.println("b(a): "); b = scanner.nextDouble(); A = a * b; System.out.println("Fläche des Vierecks= " + A); break; } case 2:{ System.out.println("r: "); r = scanner.nextDouble(); A = Math.PI * r * r; …

Member Avatar
+0 forum 5
Member Avatar

I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png)

Member Avatar
+0 forum 6
Member Avatar

I am working on a problem for which i have already developed a solution, but i am new to OPP prgramming and started learning recently. Would request OPP Gurus to provide suggestions for the better designs, keeping scalability, extendability of (course readability) in mind. Also,I would like to extend the the current program for mutiple random players and winner is decided based on max number of votes. But there are rules: 1)Currently i have 6 players, out of which any number of players might contest(taken from std::input or cmd args) 2)Contestants are not aware of other contestants. 3)Each contestant has …

Member Avatar
+2 forum 1
Member Avatar

Hi everyone, I'm new to parallel programming, and my project is the two-dimensional matrix vector multiplication using mpi in C programming language. I have this multiplication function, but I don't know exactly how to run it with mpi. Can you help me, please? I write these commands, $ mpicc -g -Wall -o matrix2d matrix2d.c -lm -c $ mpiexec ./matrix2d.c But I get some errors. `mpiexec was unable to launch the specified application as it could not access or execute an executable: Executable: ./matrix2d Node: ubuntu while attempting to start process rank 0.` 2D Matrix-Vector Multiplication Function is below: #include <stdio.h> …

Member Avatar
+0 forum 1
Member Avatar

#include<iostream> #include<string> using namespace std; class stack { string item; int top; public: stack() { top=-1; } void push(char ch) { top++; item[top]=ch; } char pop() { char ele; if(isempty()) { printf("\n stack overflow!!"); return '@'; } ele=item[top]; top--; return ele; } char peep() { return(item[top]); } int isempty() { if(top==-1) return 1; return 0; } int priority(char ch) { if(ch==')') return 1; else if(ch=='+' || ch=='-') return 2; else if(ch=='*' || ch=='/') return 3; else return 4; } }; int main() { string infix,prefix; char ch,ch2,token,temp; int i,j=0,len; stack st; cout<<"enter the valid infix expression: "; cin>>infix; len=infix.size(); for(i=len-1;i>=0;i--) …

Member Avatar
+0 forum 4
Member Avatar

1/Write a TeachArithmeticFrame class that teaches children arithmetic. The frame uses a JLabel for a problem and a JTextField for the user answer. When the user presses the Enter key (while the JTextField object is active) or clicks the OK button, display a message stating whether the user’s answer is correct. When the Next button is clicked, display a new problem. The numbers are limited to two digits. Consider using a larger font for the JLabel and JTextField text. You can change the color of text by calling the setForeground method, for example. questionLbl.setForeground(Color.RED); 2/Extend the TeachArithmeticFrame class so that …

Member Avatar
+0 forum 1
Member Avatar

Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,)

Member Avatar
+0 forum 2
Member Avatar

Assume that you are the manager of a restaurant. Create an interactive program that allows you to manage the order from your customers and compute your daily sales. First create a text file that contains the menu of your restaurant. Arrange the menu such that the items are properly organized in different categories, for instance food, drinks and desserts. Your program should be able to read data from the input file. When the program started, the main menu should display the following options 1. Show the current order of the customer. If the order is empty, display ”Please select your …

Member Avatar
+0 forum 2
Member Avatar

MyMainWindow::createUI() { label = new QLabel("foo"); button = new QPushButton("Browse"); connect(button, SIGNAL(clicked()), SLOT(browse())); layout = new QHorizontalLayout(); layout->addWidget(label); layout->addWidget(button); setLayout(layout); } void MyMainWindow::browse() { QString directory = QFileDialog::getExistingDirectory(this, tr("Find Files"), QDir::currentPath()); if (!directory.isEmpty()) { if (directoryComboBox->findText(directory) == -1) directoryComboBox->addItem(directory); directoryComboBox->setCurrentIndex(directoryComboBox->findText(directory)); } } MyMainWindow::createUI() { label = new QLabel("foo"); button = new QPushButton("Browse"); connect(button, SIGNAL(clicked()), SLOT(browse())); layout = new QHorizontalLayout(); layout->addWidget(label); layout->addWidget(button); setLayout(layout); } void MyMainWindow::browse() { QString directory = QFileDialog::getExistingDirectory(this, tr("Find Files"), QDir::currentPath()); if (!directory.isEmpty()) { if (directoryComboBox->findText(directory) == -1) directoryComboBox->addItem(directory); directoryComboBox->setCurrentIndex(directoryComboBox->findText(directory)); } }

Member Avatar
+1 forum 1
Member Avatar

Hello. At work, I have to count about 5k in a day for products. When someone takes out or puts in products for example 450 I have to recount again. So I want to create a system that when someone puts some kind of product on the shelf they would enter the quantity they are putting on the stock. For example, TOM puts 150 pcs of -product1- in stock. Then Bill will take 50 pcs of the same product1. So the system would do the calculation: 150-50 = 100 pcs left in stock. When TOM will put again 110 pcs …

Member Avatar
+0 forum 2
Member Avatar

**Task** Your task is to write a program that will draw graphs and output them as coloured image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and display the harmonic components of a square wave. All sine wave harmonic should be displayed, each in a different colour – and the square wave that results from summing all the sine waves should also be displayed. The resultant waveforms should be output as a single file in the .ppm format. Initially, …

Member Avatar
+0 forum 27
Member Avatar

Hello everyone, I am Bastian, i would be very grateful if anyone could help me on this one. I want to self-study about creating a Hotel Management program in Netbeans but i am afraid that i just have a basic knowledge in Java. I studied Programming but unfortunately i have to stop due to my financial issues. So i am thinking if anyone could give me some tips and tricks in order for me to create a program. I want to learn by my own but i have no idea where to start. Thank you very much.

Member Avatar
+0 forum 1
Member Avatar

Hello everyone, I am writing this post again because there were ambiguities in the previous one. I need help with this task tomorrow. I will present what I have, what I got from you and ask which code is best to use to perform this task. I will start with the program I wrote to fill the 6x6 array with random numbers and display it on the console. The program displays random numbers stored in an array in the range of -5 to 64 ... I believe deeply that it contains no error. int x,y; int rand_tab[6][6]; int main() { …

Member Avatar
+0 forum 5
Member Avatar

I am new to code writing. How do I make it so this page stays centered in web browsers? What HTML code do I add and where? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Direct Selling Rumors & Gossip</title> </head> <body bgcolor="066082"> <TABLE align="center" class="" style="BACKGROUND-IMAGE: url(http://www.directsellinglive.com/Rumors/Rumors.jpg)" height="1067" width="1916"> <TBODY> <TR> </div></TD></TR></TBODY></TABLE> </body> </html>

Member Avatar
+0 forum 8
Member Avatar

Before anyone files a bug report, we are no longer pretty printing (using javascript to add line numbers & color coding) code snippets when on mobile browsers for performance reasons. It's not that it was particularly non-performant on mobile. It's rather just that I'm working hard to improve performance across a variety of devices, and I felt like it wasn't worth the trade-off, given it's an extra second or so of javascript parsing in exchange for making code not all that much more readable when on a mobile device.

Member Avatar
+0 forum 33
Member Avatar

Can I ask for a help? On how to program billing system with source code? I just need it for my case study.

Member Avatar
-1 forum 1
Member Avatar

HI everyone, _SBLOCK *allocateMemBlock(size_t size) [ _SBLOCK *block = (_SBLOCK*)sbrk(0); void *memadr = (void*)sbrk(0); void *allocate_mem = (void*)sbrk(BLOCK_SIZE + size); if(allocate_mem == (void*)-1) [ return NULL; ] else [ block->next = NULL; block->isfree = false; block->size = size; block->memoryAddress = memadr+BLOCK_SIZE; return block; ]

Member Avatar
+0 forum 8
Member Avatar

Hi All, I am trying to create multiple codeigniter sessons for multiple users. I will explain my scenario. I have developed an application using codeigniter and launched in an ecommerce platfomr so that many shop owners installed my application. Now from my admin front, I have access to check for each particular user's app interface using the session and redirect method. I want to make the sessions for all users open in different tabs, when I click on one button. I have used a for loop. The iteration works perfect and data are for each user are retrieved perfectly. But …

Member Avatar
+1 forum 6
Member Avatar

So, i'm having a bracket issue in line 83:9 or where the slashes are. it's telling me " error: expected identifier or '(' before '{' token", I don't understand how i am receiving this error. If somebody can explain to me how I'm receiving it, thank you. _Bool palindromes(char string[]) { int i = 0; while(string[i]=0 != '\0') { i++; int last_place = i - 1; for(int n=0; n<=last_place; n++) { if(string[n] == string[last_place]) { last_place--; continue; } if(n !=last_place) { return false; } } } } { //here is the issue while(string[i]=0 != '\0') int i=0; { i++; int …

Member Avatar
+0 forum 2
Member Avatar

Create a Project name Banking which will have the following classes with the given instance variables and the methods Create a class Account with first name , last name, address , phone number, balance (instance variables) Withdrawal and deposit methods Create checking account class extending the account class, Having additional instance variables monthly fees, over draft limit(OD), over draft active, overdraft fees Overriding the withdrawal and deposit methods Withdrawal method should check the over draft active or not if yes then should check the balance with the withdrawal amount and then perform the withdrawal, if withdrawal request is within the …

Member Avatar
+0 forum 1

The End.