132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eng_m

Hi guys. so I have been trying to solve this problem and I wrote a program but it doesn't work for some reason I would apreciate a help from you guys. The problem: A palindrome is a word, phrase, or any other sequence of letters that can be spelled the …

Software Development c
Member Avatar for thines01
0
112
Member Avatar for erms

Hi, I'm using the getRGB function to get the color of a pixel of a BufferedImage. It returned a number like 2001231. What I want to do is use setRGB to set the color of this pixel to something so that getRGB returns 2000000 instead of the original value. How …

Software Development image java
Member Avatar for NormR1
0
287
Member Avatar for bantex07

I nid your help please for my Case Study thx a lot dude... :0

Software Development visual-basic webcam
Member Avatar for deepakbshitole
0
116
Member Avatar for peste19

I am reviewing material i have covered in c and i wrote up some notes and i am getting an error, i was hoping if someone could help me with this #include <stdio.h> #include <stdlib.h> #include <string.h> struct node{ int data; struct node *next; }; void addtobegining(int); void traverse(); struct …

Software Development c
Member Avatar for wahidbashacse
0
123
Member Avatar for weblover

hi i have an aligmenet file which contains 3 species generated from clustalx AAAACGT Alpha AAA-CGT Beta AAAAGGT Gamma i already sliced the aligment using the predefined indexing in biopython `align[:,:4]` but now when i print the result i get: AAAA Alpha AAA- Beta AAAA Gamma the questions is: how …

Software Development python
Member Avatar for weblover
0
287
Member Avatar for el33t

Hi, I am facing some problem dealing with the qsort funtion. Basically, the below program takes in a bunch of strings from the text file "word.txt" and then implements the qsort function for sorting the list alphabatically and then displaying the sorted list. However, after the sorting is done, all …

Software Development c
Member Avatar for el33t
0
121
Member Avatar for sonia sardana

I have added three images to ImageList..I want to show tooltip....On listview item... [code] Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ListView1.View = View.LargeIcon ListView1.LargeImageList = ImageList1 For lcount As Integer = 1 To 3 ListView1.Items.Add(lcount.ToString, lcount - 1) Next End Sub …

Software Development listview vb.net
Member Avatar for scstetro
0
2K
Member Avatar for newbieGirl

Ok, I am totally confused - probably because I've been staring at my computer for hours, but I need some guidance (not for homework, just my own personal knowlegde)... Here's the output I'm trying to achieve: 012343210 001234321 000123432 000012343 000001234 ...And I know I need to use a for …

Software Development java
Member Avatar for SoftEngr
0
248
Member Avatar for Mr_Man

hi, im making a program and i need it to start when the computer sarts could someone give me some guidance thanks for reading (and hopefuly answering) Jack

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for Signi

Hi, been working on this project and just confusing the heck out of myself. My project is Operation • This project simulates a simple robot that can move a given direction and distance. • To determine the direction the robot will move, the user clicks the N (North), S (South), …

Software Development
Member Avatar for Signi
0
583
Member Avatar for alexooi17

I had decided to use JcomboBox but it doesn't seems to work. It doesn't seem to be able to take the string in the JComboBox as a condition to log in. Previously with correct username and password, it will be able to log in but now with correct user and …

Software Development finance
0
55
Member Avatar for ashboi

I'm currently trying to extend my student class with a course class & by extending the driver.cpp to enrol 3 students into the course. However, i've gotten some errors & can't seem to figure whats wrong with them, i might have missed out something. I was hoping to get some …

Software Development c++
Member Avatar for Lerner
0
185
Member Avatar for henri18

So; I have to determine if there is a) 3 of a kind b)4 of a kind c)straight. I have put the 7 cards into a 1 dimensional array and sorted them but I also need a case for not being more than 4 cards. I don't need to include …

Software Development c c# c++
Member Avatar for Lerner
0
484
Member Avatar for Nicky1224

hi there i cant seem to figure out how to print each name and letter grade of each person once and my program displays a indexStringoutofBound execption please help solve my problem heres my codes. ackage project; import javax.swing.JOptionPane; public class DoingATest { public static void main(String[] args)throws StringIndexOutOfBoundsException { …

Software Development java java-swing
Member Avatar for sciwizeh
0
163
Member Avatar for sciwizeh

Hello all, been a while since I've asked a question. I'm working on a project just to practice and for fun and I've run into a snag. I'm working on a painting type program and I'm trying to get a generic Buffer class for the images so I can use …

Software Development java user-interface web-design
Member Avatar for sciwizeh
0
2K
Member Avatar for jrosh

I want to implement mouse over event on a image in WPF. But it seems to be there is no event for that in WPF. How can I implement that. I tried with a trigger . But only the property is available. <Image.Triggers> <Trigger Property="IsMouseOver" Value="True"> </Trigger> </Image.Triggers> But the …

Software Development
Member Avatar for Sahil89
0
239
Member Avatar for FraidaL

The code is really long so I don't want to post all of it, but I'm posting the part I'm having an issue with. This is part of a fraction class I'm writing. Most of it is working but for there is something wrong with the istream because when I …

Software Development c++
Member Avatar for FraidaL
0
137
Member Avatar for Lucaci Andrew

OK, so here's the deal. I'm trying to create 2 programs, a server and a client, which communicates between them. I'm working on Ubuntu, throughout FIFO. So, 1st of all, I create 2 FIFO's: $ mkfifo pipe $ mkfifo pipo Ok, and after that I create the client and the …

Software Development c client-server objective-c ubuntu
Member Avatar for Ancient Dragon
0
257
Member Avatar for king03

Hi there guys may I ask if there's anyone here who has a complete guide or maybe just a guide on how to make the tetris game in c#? Thank you very much I really need your help.

Software Development c c# c++
Member Avatar for lxXTaCoXxl
0
2K
Member Avatar for kumarprashant

can anyone kindly help me in writing a program for creating an address book. Its kinda urgent and I ll be really grateful. program description: develop a program for an address book.single entry in an address book is called a contact, which can have any of the following fields, 1. …

Software Development visual-basic
Member Avatar for JGorard159
0
245
Member Avatar for millroy

hi is there any way in java programming to make a compass which shows directions if please tell me how to get the coordination of lattitude so that the needle of the compass can point to the appropriate direction with respect to these values

Software Development java
Member Avatar for JGorard159
0
191
Member Avatar for vinnitro

I new to java's applet programming & there is a problem in my program This is my program: import javax.swing.*; import java.awt.*; import java.awt.event.*; /*<applet code=Rect height=600 width=800></applet>*/ public class Rect extends JApplet implements ActionListener { JLabel jl1,jl2,jl3,jl4; JTextField jt1,jt2,jt3,jt4; JButton jb; int x1,x2,y1,y2; public void init() { Container c=getContentPane(); …

Software Development java java-swing
Member Avatar for vinnitro
0
205
Member Avatar for bobbysony

I am looking for a way to give each user in my VB program privileges. So for example admin would be able to add and edit staff records while a normal user could not. this would all be based on a login for each user (and yes its a database …

Software Development visual-basic
Member Avatar for JGorard159
0
153
Member Avatar for StateUnknown

Hey guys. I'm new to this vb.net programing, and was trying to build an Email-client where you can change the SMTP server, adress and password and then it saves it to a config. But my problem is right now that, the textbox wont accept any inputs. So if anyone could …

Software Development client-server vb.net
Member Avatar for StateUnknown
0
104
Member Avatar for vinnitro

I am not getting this program since i beginner to applet programming import javax.swing.*; import java.awt.*; import java.awt.event.*; /*<applet code=Login height=500 width=300></applet>*/ public class Login extends JApplet implements ActionListener { JLabel jl1,jl2,jl3,jl4,jl5; JTextField jt; JPasswordField jp1,jp2; JButton jb; public void init() { Container c=getContentPane(); c.setLayout(new FlowLayout()); jl1=new JLabel("Username : "); …

Software Development java java-swing
Member Avatar for vinnitro
0
5K
Member Avatar for abc_123abc

hi all.. i have the option to save the contents of the listview that was saved into text file. now i would like to load the text file into datagridview in vb.net but i have no idea how to do it as this is my first time in doing it …

Software Development listview vb.net
Member Avatar for Begginnerdev
0
3K
Member Avatar for IcyFire

I have to write a program that does BFS traversal. My code is mostly correct but i have an error somewhere. it prints repeated numbers in some cases and it's not supposed to. i'm not sure exactly what the problem is. I really hope someone will be able to help …

Software Development c seo
0
163
Member Avatar for SCass2010

Hi everyone, I'm currently trying to do a bit of java programming after not looking near it for almost a year. Most of what I've been doing has been C/C++, and I was just wondering - in C++ you could have a header file with functions only in it, say …

Software Development java
Member Avatar for SCass2010
0
442
Member Avatar for desijoker

hey guys .i am trying to write a lc3 assembly language program that takes two input numbers and prints out "x * y = z". i can get it to work for numbers 0-9 however any numbers above that i get weird letters or symbols. ^^ Also how i can …

Software Development assembly
Member Avatar for TrustyTony
0
3K
Member Avatar for thanadaray

I am trying to update into table if score > 0 but nothing display into table. if score > 0: note = "more" update = "UPDATE Sentence SET Note = %s WHERE score = %s" c.execute(update, (note[0], score)) Did I miss something?

Software Development python
Member Avatar for thanadaray
0
84
Member Avatar for thanadaray

I have many single float but how I can make then to be list of float?

Software Development python
Member Avatar for HiHe
0
201
Member Avatar for Nicky1224

Hi there im in need of a java project that takes in a memo of string letters and persons name and String letteranswers to 10 multiple choice questions and compare the memo with each students answers and disply the students name and how many letters he/she got correct without using …

Software Development java
Member Avatar for Ezzaral
0
90
Member Avatar for honeybee2090

how to filter textbox text? i use this code to copy webbrowser text in textbox3 TextBox3.Text = WebBrowser1.Document.Body.InnerText it show all text in textbox like this crypo.freeforums.org Advanced search Board index ‹ Socks Change font size E-mail friendPrint view User Control Panel (0 new messages) • View your posts Arcade …

Software Development vb.net
Member Avatar for thines01
0
417
Member Avatar for thanadaray

import MySQLdb import csv import sys db = MySQLdb.connect("host","username","password","dbname" ) c = db.cursor() select_pos_score = 'SELECT score FROM Sentence' c.execute(select_pos_score) I use MySQLdb. I want to display all score that are selected from table "Sentence" but I do not know how to display it. Any suggest for me to display …

Software Development display python
Member Avatar for thanadaray
0
95
Member Avatar for kumaresen

i have a error in this program...i m tryin to write a java GUI program that converts character to corresponding integer and vice versa...tis is my code...can anyone help me solve the error???the error is : 1 error found: File: C:\Users\Kumaresen Nair\Desktop\Conversion.java [line: 58] Error: The local variable word may …

Software Development gui java java-swing
Member Avatar for NormR1
0
243
Member Avatar for triumphost

I'm trying to convert My Console classes to .Net classes because I can't use std::vector or anything like that in WindowsFormsApplications. So I decided to convert all Vectors to Lists and I thought that the classes work the same but my code below throws a massive amount of errors and …

Software Development c++
Member Avatar for triumphost
0
186
Member Avatar for swink

Write a simple SMTP server that is able to establish an SMTP connection with the client and receive the email sent. The SMTP server should reply the client with the appropriate reply code based on the following SMTP commands. Command Reply Code DATA 354 HELO 250 MAIL FROM 250 QUIT …

Software Development client-server java
Member Avatar for NormR1
0
90
Member Avatar for hypernova

Hi all!! See the following code: #include <stdio.h> int main() { union a { int i; char ch[2]; }; union a u; u.ch[0]=1; u.ch[1]=0; printf("%d %d %d\n",u.ch[0],u.ch[1],u.i); getch(); return 0; } The output that I get is: 1 0 2130509825 Why am I getting this number? What I think the …

Software Development c
Member Avatar for hypernova
0
261
Member Avatar for Johannady2

After setting the time where it should start, you enter "y".. the timer will start.. It's supposed to stop whenever you want it to by pressing "n" but I don't know how.. The only way I know how to get it to ask for "y" or "n" again is to …

Software Development java
Member Avatar for JamesCherrill
0
413
Member Avatar for rony.united7

Can anyone help me with how to work on Eclipse C++ IDE? I need a clear set of instructions on how to connect server and database as well as how to compile and run standalone codes?

Software Development c++ ide
Member Avatar for DeanMSands3
0
164
Member Avatar for breakzzzz20

i have encounter problem on my java file,i can't find the solution..just only one error.. here is the java file and it give me an error of error: "reached of end of file while parsing in line 137" can anyone help me please?thanks in advance.. import java.io.*; import java.util.*; public …

Software Development java
Member Avatar for behemothdave
0
439
Member Avatar for noscimo

Hello ! I'm writing a program in C++ and I use a struct definition named Contact. In a function in my program that returns an item of type Contact,i face the problem below: Contact getContact(){ Contact c; //do things if(condition) //assign c else //c is not assigned return c; } …

Software Development c++
Member Avatar for noscimo
0
279
Member Avatar for yongj

So let me start by saying that I am a complete beginner when coding in C++ windows/forms program. I was able to get my SQL database connection up with my program. I've ran some simple tests and it looks like my program is able to do simple queries such as …

Software Development c++ microsoft mysql
Member Avatar for thines01
0
795
Member Avatar for sinnebril

Hi there! I have been searching on the forum and google, but I can't find a clear answer to my problem. What I can find is how to read data from a file, but not from specific cells in Excel. A small example of the [B]input[/B] Excel file: [CODE] An/gene …

Software Development file-system python
Member Avatar for pk87
0
3K
Member Avatar for stereomatching

#ifndef EXAMPLE_HPP #define EXAMPLE_HPP #include <memory> #include <boost/gil/gil_all.hpp> #include <QtGui/QApplication> #include <QtGui/QHBoxLayout> #include <QtGui/QImage> #include <QtGui/QLabel> #include <QtGui/QWidget> //#include "image_details.hpp" static void x_gradient(boost::gil::gray8c_view_t const &src, boost::gil::gray8s_view_t const &dst) { for (int y = 0; y != src.height(); ++y) for (int x = 1; x != src.width() - 1; ++x) dst(x, …

Software Development algorithm c++
Member Avatar for stereomatching
0
304
Member Avatar for kumarprashant

can anyone kindly help me in writing a program for creating an address book. Its kinda urgent and I ll be really grateful. program description: develop a program for an address book.single entry in an address book is called a contact, which can have any of the following fields, 1. …

Software Development c++
Member Avatar for deceptikon
0
4K
Member Avatar for ippo

So I'm trying to make a lottery program which outputs up to 6 sets of 6 random numbers using only 2d arrays and arrays for my project. No arraylists are allowed. Here is what i have so far, but it's not running because I don't have a main file?. Someone …

Software Development java
Member Avatar for ippo
0
153
Member Avatar for ippo

Hi all, I'm new to java and here is my code. It runs, but the output is not what I wanted. This project allows the user to enter up to 6 lottery tickets and I have to generate random numbers 0-49. The number generate fine, but the number of tickets …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for The Blacklist

#include<stdio.h> #include<stdlib.h> struct student{ char *name; int number; }; struct class{ char *name; struct student *st_array; // pointer of array of students int size; // All students free places int current_size; // Occupied places }; struct student make_student(char name[100], int number){ struct student st; st.name = name; st.number = number; …

Software Development c
Member Avatar for TrustyTony
0
291
Member Avatar for sammoto

I just started learning java a week ago, and I'm trying to make my first program - a simple grade calculator for a class I'm in - and I can't get it to compile for the life of me. I've finally gotten it down to one error ("Comp202Grader.java:60: variable letterGrade …

Software Development java
Member Avatar for jalpesh_007
0
131

The End.