132,726 Archived Topics
Remove Filter ![]() | |
hey i am trying to find many attacks were logged per day per ip. i am reading from a syslog file. here a line couple lines am reading from [QUOTE]Jan 10 09:32:09 j4-be03 sshd[3876]: Failed password for root from 218.241.173.35 port 47084 ssh2 Jan 10 09:32:19 j4-be03 sshd[3879]: Failed password … Software Development python | |
This is probably kind of simple but trying to understand . When the button is press create a person or an employee based on the above checkbox. Put all of the form data into the class object using either the constructor or properties.Display all of the class information using a … Software Development | |
Hi , Anybody please help me in this ..it is an urgent for me. Actually i have a DataGridview in my window which should be with one fixed row and 2 fixed columns. Fixedrow is done in Datagridview with the headercolumn property. Now i need to add 2 columns as … Software Development c# ![]() | |
Hi again! I was hoping someone would be kind enough to throw some advice my way here. I'm working on an application (still) that I would like to provide "Wizards" in. I have a general idea of how I would like to implement something like this, but staying in line … Software Development oop | |
Hey all, admittedly this is some homework help. I'm trying to write a program which takes a string in of hex characters, calls an assembler function which gives me the decimal value of the hex string. That assembler function calls a "checker" function in C which makes sure each character … | |
Hello programmers!. Please help me. :( I have here a combobx1 that has a value of Mr.A and Mr.B. want that if i choose from my combobox1 the selected value will go to my sql database. | |
/** A programme which converts weight from pounds to kilograms and the height from inches to centimeters, then it calculates body mass index. @author */ import java.util.Scanner; public class BodyMassIndex { public static void main(String[] args) { Scanner BMI = new Scanner(System.in); System.out.println(BMI.nextLine()); double p, k, c, i, bmi; Scanner … Software Development java | |
Hello All, I am trying to read a short inventory list from a .txt file into a class of objects. To be plain and simple, I have no idea how to get the details in the file into objects to I can prompt for the pluCode and quantity to use … Software Development c++ | |
In my program, there is a button you click that brings up a new form. This form runs a process. On the form (second form) closing event, I have [CODE]e.Cancel = true; Hide();[/CODE] So now the form that runs the process is hidden. Now, the way i want it to … Software Development | |
Hi Guys i do not know how to create Array of object could you help me plese? Software Development java ![]() | |
Hi everybody I have a little question. I am using JFileChooser to open file and then process it.But the thing is its only works for txt file. What are the other ways to open all ither text files. Plus if would be really helpful if you would tell me how … Software Development java java-swing pdf | |
Hey Everyone, I'm new to JCreator and trying to compile this program, however I keep getting "missing return statement"...please help. import javax.swing.JOptionPane; public class DoCount { public static void main(String[] args) { String nString=JOptionPane.showInputDialog("Enter n:"); int n = Integer.parseInt(nString); factorial(n); } public static int factorial(int n){ int count = n; … Software Development java java-swing ![]() | |
Hi, I am trying to create a binary tree from a string read from a file. The string contains information that tells which is the new left and right nodes, and the node which new these nodes are to be added (assuming there is a root node in the tree … Software Development data-structure java ![]() | |
Hey guys, I was doing some basic bash shell script, as I am new to this, and I can't seem to pass over this error. Here is the code: [CODE] #!/bin/bash echo "Please, type in the day of the week." read Day if (($Day="Monday"));then Monday=date +%d Tuesday=$(($Lunes+1)) Wednesday=$(($Martes+1)) Thursday=$(($Miercoles+1)) Friday=$(($Jueves+1)) … Software Development shell-scripting | |
Hi, I Want a shell script, when i run it should print the current row & column number of the terminal in which is invoked , so how can i get the current row & column number in the linux . Thanks Srikanth M. Software Development shell-scripting | |
![]() | I'm trying to create an array of structs, of which the array size is defined by the user in the program. eg. p[0], p[1], p[2]..... [CODE] typedef struct { int score; }player; void main() { int numPlayers; printf ("\nEnter number of players (1 - 4)\n"); scanf ("%d", &numPlayers); }[/CODE] The … Software Development c |
I am writing a code and I am somewhat new and this is kinda throwing me off. Here is my code: [CODE]private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBox1.Checked) { textBox4.Visible = true; textBox5.Visible = true; } else { textBox4.Visible = false; textBox5.Visible = false; } } } }[/CODE] … Software Development c# | |
Hello I am new to Dani web but here it goes. I am trying to create a game that called Three button monte i am using graphics from zelle but and i will upload the proper code to go alone with mine. My problem is when it comes to checking … Software Development http-protocol legal open-source os-x python tkinter | |
Problem: "Error highlighting on the go" not working (Syntax, Semantic & Type errors). IDE: Microsoft VC++ 2010 Express Edition + MSQL Basic. So far: Googled & Went through options in Options>>Text Editor>>C/C++>>Advanced. So please help me.... How can i turn it back on??? | |
Hey guys i need to color code [CODE] printf("hello World");//how do i change this to green printf("How are you");//How do i change this to yellow or something [/CODE] How do i change the color of the text inside the printf Software Development c | |
hi everyone i have made a program which extracts information from an email account, it extracts the date, the sender, number of copies written in the body, and it extracts the pdf file from the email and puts it into a directory, it also counts the number of pages in … Software Development office-suite os-x pdf python | |
i'm writing a program in c++ using linux and i face the following issue: i want to tell the difference between a hard link and a file,given a path. To be more specific, i consider that it is the file itself when there's only one hard link pointing to the … Software Development c++ | |
[ICODE]#include <iostream> using namespace std; void GetRoomTiles(int WidthFeet, int WidthInches, int &TotalWidth, int LengthFeet, int LengthInches, int &TotalLength, int TileSize, int &RoomTiles); void GetTotalTiles(int RoomTiles, int &TotalTiles); void GetNumberOfBoxes(int TotalTiles, int TileBoxes, int &ExtraTiles, int &NumberOfBoxes); int main() { int NumberOfRooms; int TileSize; int WidthFeet, WidthInches, TotalWidth; int LengthFeet, LengthInches, … | |
I am trying to building this program to run 10 times and then calculate at the end with needHelp if 75% or more was correct or incorrect. For each random number multiplication question correct and incorrect messages come up. I have been working on this for 3 days and it … Software Development c++ | |
hi, I recently wrote this code to calculate the hamming distance between any two binary numbers... The program accepts the numbers in decimals, performs a bitwise XOR operation and returns the HD... However, it returns the Hamming distance in decimal... that is if after XOR it gets something like 0010... … Software Development c | |
Hello everybody, I am new to Java, I am creating a simple application that will insert into my database, but what I really want is, I have a class called product which contains the jTextfields of the product description and product qty and a button called test, and I also … Software Development java java-netbeans | |
This is what I need my program to do: 1. Ask the user to enter the number of points. 2. Ask the user to enter x and y positions for each point. Store the positions in a 2-D array. What should the dimensions of the 2-D array be? 3. Compute … Software Development java | |
Allo. I am finishing up my coding project and I am going nuts trying to figure out what I'm doing wrong. I thought I finished my ISBN checker code properly, but when I finish imputing the ISBN number that is valid, I get "The ISBN number is valid", but I … Software Development java | |
Hey all again, I'm just wondering how you could get a graph to represent your data file (Such as a ValueListEditor) as I've had no success in managing to read from it or how it can be done. Wanting something like this; Video(5) DVD(8) CD(2) Video..|----- DVD....|-------- CD......|-- ...........|____________ Many … Software Development pascal | |
Hi guys. I have an activex which was installed to my computer by an other application.. i will be clear, I DO NOT WANT TO "STEAL" their files etc.. So i made a project using "their" ocx and my project works fine. I copied their ocx file to my bin/debug … Software Development vb.net | |
Hi guys, I was wondering if this was a good place to use a goto statement? I know this will get stuck in an infinite loop eventually and I am working to fix that right now. However I wanted everyones views on whether or not this is acceptable, the goto … | |
Is there an easy way to modify the contents of a zip file inside the archive, without unpacking everything to a temp directory, making the change, then packing it all up again? I've got a whole bunch of zip files, each one with a bunch of plain text files (html, … Software Development file-system python | |
Dear All, I want to develop a network application in java based on HTTP.. In which one server and other is client application..... The problem is that, How can I check whether a server ip address is valid or not ? Please tell me... I am very thankful to you.... … Software Development client-server java | |
hello in DataGridView1 control there is 3 items i want when you for etc select item , "number 1" then do something like when i use listbox selected item [CODE] If ListBox1.SelectedItem = "1" Then textbox1.text="hello" end if[/CODE] if like if DataGridView1.selected item ? Software Development vb.net | |
Please, how to insert text in field in an existing PDF form template and print???? Software Development pdf | |
[B]I have a timer class that prints out a string every 5 ticks, and on the 6th tick it runs a random event. now what i want is to have the timer to restart from 9 ticks. As i tried to do with the else statement in the MyTask Class … | |
[QUOTE] 1. Print the following heading at the top of the output page: Miser Corporation Payroll 2. Read an unknown number of employee data records as shown below. Each group of data will contain an employee's name, hours worked, rate of page and age. A typical group of data will … | |
[CODE]info = '''<table> <tr align = "center"> <h1> Lachlan Osborn </h1> <p> Address: 5 Smith Street, Manly <br> Date of Birth: 26th April 1993 </p> <a href="semester.html"><b>My Semester Units</b></a> <p><b>Check out my <a href="hobbies.html">hobbies.</a></b></p> </tr> </center>''' def remove_html(text, info): import re text = re.sub(r'<.*?>', '', info) return text remove_html(text.strip())[/CODE] | |
My name is Leonard Norwood Jr. If anyone knows a program that will estimate the number of boxes of tile needed for a job. A job is estimated by taking the dimensions of each room in feet and inches and converting these into a multiple of the tile size (rounding … Software Development c++ | |
Hello to all i want to format usb drive in vb6 we use a drive box 1 command botton 2 labels 1 check box and 1 loading bar we want to do when i select a drive in drive box example: D:\ Drive the label caption show drive memory size … Software Development pc-peripheral visual-basic | |
hello there, I'm trying to sort a list according to the "length" paramter in ascending order, which represents the third coloumn. List elements are read from a csv file contains 9 coloumns, I only push 6 coloumns in "futurelist" which is the information i'm intersted in. //input csv data [CODE] … Software Development c++ file-stream | |
I want this program to read a text file then target and replace anything start with < and end with > for example it finds <html>, replace that into **** but somehow i tested it and it didn't work than i expected. any suggestions? [CODE]def remove_html(text): txtLIST = list(text) i … | |
Alright so I was not sure exactly how to say this, but here is the idea. I have a graph or table I guess you could call that looks like this. [CODE] print ''' ----------------------------- | | | |x | | | |----------------------------- ''' [/CODE] Then I want to make … Software Development python | |
Hey guys. I was running assembly lang on visual studio but when I debug it, the cmd prompt window doesn't stay on. It displays the output and disappears immediately giving you no chance to take a really good look at your output. How to solve it? Thank you. Software Development assembly visual-studio | |
Hello , I'm new here and new to c/c++ programming. Can you guide me how to extract user from path like : /home/[COLOR="Red"]user[/COLOR]/public_html Please help me , thanks a lot Software Development c | |
String sQueryShow = "SELECT SUM(pf5_showplaylists.runningtime) FROM pf5_showplaylists WHERE pf5_showplaylists.showID = " + ShowID + ";"; HOW CAN I GET THE RESULT OF THIS SQL STATEMENT INTO A VARIABLE SO COULD DISPLAY THE OUTPUT IN A MESSAGE BOX? (URGENT, REALLY URGENT..) | |
Well, My code is working fine I just need a way to reset the DataAdapter1 into 0 (like reset) So if the user hit the button search 2 times to shows up only 1 time the elements of database "product".. If i used the code below and hit 2 times … | |
Hey! So I've been playing around with OpenCl a lot recently and it's pretty impressive. The first thing I wanted to do was to make an mandelbrot set generator, so I did. It works wonderful and I am really amazed by the results, almost a thousand times faster than my … Software Development c++ | |
I have a homework. My teacher requires me to do a project which use Link base binary tree. I do almost all needed function but still remain print method. It throws StackOverFlow every time I complile project. I know since the print method but, I have a base case to … Software Development java | |
public MainPage() { InitializeComponent(); StreamReader read = new StreamReader("T1.txt"); string rr = read.ReadLine(); textBlock1.Text = rr; } } when it start debuging it's stop here: string rr = read.ReadLine(); it's give me an method ccess exception how can i solve this problem?? Software Development |
The End.