132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alhaji.m.kanu

Hello, I'm writing a program where I take a prewritten text file and a. convert it into binary, b. write text to that binary file, c. display an output report and d. sort by employee name. I can do a,c and d, but I am having a hrad time with …

Software Development c++ ios
Member Avatar for ravenous
0
186
Member Avatar for Violet_82

Hi guys, I am not sure this is right or not. If I have one variable whose value is true or false and I want to use it in an if statement I could easily do if(variable1){ //do this and that } but I want to check 2 variables I …

Software Development java
Member Avatar for Violet_82
0
195
Member Avatar for Rabastan

I have a form with nothing but a combobox and go button. The combobox is populated by the "Name" field in the table. What I want to do, is populate text fields on a new form with the rest of the information in the table, based on what selected in …

Software Development vb.net
Member Avatar for Begginnerdev
0
171
Member Avatar for joeydal

I need to be able to display whether or not a person searched for "is a friend" if found in the file and "isn't a friend" if not found in the file. I also need to continue processing names until "END" is typed in. Any help would be appreciated! #include …

Software Development c++ seo
Member Avatar for tinstaafl
0
190
Member Avatar for yobotiks

Hello Everyone, I have two form. First is main form which is display the data. Second is a another form which users input the values to the textboxes. I would like to make that When a user type something in textboxes in second form, these data will be shown in …

Software Development listview
Member Avatar for ddanbe
0
2K
Member Avatar for tensity

I am trying to force the user to input a polynomial in the following format: (num)x^2+or-(num)x+or-(num) I have labeled my error messages with 1 2 3 and 4. When I input something like 3204723094823094823094829, I do not get an error and I should, due to not finding "x^2" in the …

Software Development c++
Member Avatar for Moschops
0
116
Member Avatar for kay19

Well i'm having trouble with this code with the following lines: return new AccountID(this); return new Customer(this); ^These two from the clone method. Customer myCustomer = new Customer(newBank.Find(myAccountID)); ^Not sure what i'm doing wrong here, it is on 4 different methods of deposit, withdrawal etc. Not only that, but my …

Software Development java
Member Avatar for kay19
0
210
Member Avatar for tensity

I am having trouble trying to get my code to work. If I pick selection 1 or 2 the cout statements execute but it does not wait for the cin and the program closes. #include <iostream> #include <cstdlib> #include <string> #include "poly.h" using namespace std; void enterPoly1(Polynomial&); void enterPoly2(Polynomial&); void …

Software Development c++
Member Avatar for tensity
0
255
Member Avatar for pc20912

How to create array textboxes in Tab page. From Input Box user will change TextBox Count and Tab Page count

Software Development vb.net
Member Avatar for tinstaafl
0
240
Member Avatar for nitin1

actually, I am trying to do digital watermarking. can you please giv me some hints of algos which i can use to do watermaking on numbers ? like i have array of numbers, then i want to water mark them with some kind of algo and also want to save …

Software Development c
Member Avatar for gusano79
0
109
Member Avatar for Jdan2388

Hey all im working on a program that has gives you the option of converting a message(string) into 3 different schemes: Prime Shift Encoding scheme, Shifty Encoding Scheme, and a Reverse Encoding scheme. I have figured out how to encode and decode the prime shift scheme and reverse scheme, but …

Software Development c c# c++ file-stream
Member Avatar for plenty.groover
0
363
Member Avatar for moha_1990

hey guys this is the question compile shuffleUniqueRandomNumbers.c and run the exe file to generate n number of random numbers. The program asks for three (3) parameters: generated number, lower bound and output file name. For example if you input 100 as generated number, the program will generate 100 numbers …

Software Development data-structure java
Member Avatar for jwenting
0
235
Member Avatar for sai.aleenus

if f(x,y) be a function (x^3 * y^-4) + (x^-2 *y^3) with 2<x<10 and 1.1<y<3.5.f(0,0) = f(9,1.2). how do you develop a c program of loop(x decremented by 1 unit) with in which another loop (y incremented by 0.8(K) initially and then as the y reaches a value where incrementation …

Software Development c
Member Avatar for sai.aleenus
0
224
Member Avatar for mzee.1997

A teacher inputs the grades of his students. (Store the grades in an array). Output the mean, median, mode and the range. In addition, output the data graphically using a histogram. Use functions for the mean, median, mode and the range.

Software Development c++
Member Avatar for umarqasimmalik
0
123
Member Avatar for salathia

I am using gridview to load the data from the database. I have done correctly with databind. But this time i am trying to display data by filling the values of cells in rows... My code is like this:- Public Sub grid_init() dim index_flag as integer = 0 curr_user = …

Software Development vb.net
Member Avatar for salathia
0
179
Member Avatar for renzlo

Hi, All, I am just wondering is this is doable. I've tried searching it in google but still no luck. I want to merge my 2 CSV files by column. For example: File: coded.csv "Header A","Header B","Header C" "Data A","Data B","Data C" "Data A","Data B","Data C" "Data A","Data B","Data C" …

Software Development vb.net
Member Avatar for renzlo
0
1K
Member Avatar for Kesarion

I have an array of objects that I need to iterate through in order to get three items. The parts of the object important in this context are: value and type. I need to find the first three items from the array that have the greatest value sum and are …

Software Development c++ seo
Member Avatar for Kesarion
0
265
Member Avatar for codys21

I am getting an error when I run my program that says: Exception in thread "main" java.lang.NullPointerException at defaultpackage.GradeBook.setName(GradeBook.java:25) at defaultpackage.GradeBookDemo.readFromFile(GradeBookDemo.java:52) at defaultpackage.GradeBookDemo.main(GradeBookDemo.java:23) I've looked through my program and cannot figure out what is actually wrong. The first class is GradeBook and the second is GradeBookDemo. I have to use …

Software Development java
Member Avatar for bguild
0
500
Member Avatar for Translucentbill

How would I make an Image work like a button? I need it for a yahtzee game. I want it so that after i roll the die and the image is displayed i want to be able to select the die i wish to keep and then re-roll the ones …

Software Development java
Member Avatar for goodtaste
0
2K
Member Avatar for kS_100

Dear all, in order to fulfill my report on how to improve the performance of non-recursive binary search in MIPS, I need the code for a non-recursive binary search in MIPS. please help me with providing either the code or any source i can utilize to aquire the code. big …

Software Development assembly
Member Avatar for venom61991
0
735
Member Avatar for arudhumbu

visualbasic assignment how to draw a multicolored worm! pliz help

Software Development vb.net visual-basic
Member Avatar for ddanbe
0
173
Member Avatar for TUNG810810

Anyone can help me to finish this c++ question? Please contact me by email. UNO UNO is one of the world's most popular family card games, with rules easy enough for kids, but challenges and excitement enough for all ages. In this assignment, we will program a simplified version of …

Software Development c c# c++
Member Avatar for Ezzaral
0
544
Member Avatar for Sneaky Pete

Hello everyone, Can somebody help me with Visual Studio 2008 Express Edition? I've already have THE 2010 version but I need to have the 2008 version for programming for a specific program. I've already searched om the net but there are no good downloads avalible. The ones all gave an …

Software Development vb.net visual-studio
Member Avatar for tinstaafl
0
490
Member Avatar for adem87

i have a project that it find the shortest bakery in c# . i written a program that save vertex and edge and drowing when opening the program. bu i need a code that find the nearest bakery. please write the needing code below this. i have this vertex.id vertex.x, …

Software Development file-system
Member Avatar for ddanbe
0
251
Member Avatar for Vasthor

[Click Here](http://s16.postimg.org/rjkqfahp1/faulty1.png) I thought after the function call of gen_aux before the loop, the static call on the type for r should have make it declared. but why not? how static really works? this is what it's explained in the books:- static type variable; For local declarations, declares variable with …

Software Development c++ storage
Member Avatar for sepp2k
0
230
Member Avatar for Violet_82

Hi, when I started to look into programming, one of the things I remember many programmers are quite keen on are setters and getters. I totally understand the importance of them but there is one thing that isn't really clear to me. If I have a class with some private …

Software Development java
Member Avatar for Violet_82
0
173
Member Avatar for Violet_82

Chaps, I am having some problems with a return statement in a function. I have this situation: public boolean isFine(){ for( int i = 0; i < myarray.length; i++ ){ for(int j = 0; j < myarray[i].length; j++ ){ if( myarray[i][j] == myEnumeration.FRIDAY ){ return false; } else{ return true; …

Software Development java
Member Avatar for Violet_82
0
172
Member Avatar for jared.j.roberts.7

Hiya, I am new to java, I have a very fast paced class and I am learning as much as I can as quickly as I can. I have previous experince with C++ but it will not help here. My Question: **WHY WILL MY PROGRAM NOT RUN!!??** *It compiles and …

Software Development java
Member Avatar for radhakrishna.p
0
187
Member Avatar for spowel4

I am opening a tab-delimited file in Excel 2010; the delimited file displays correctly in Excel but when I do a save as, to save it as a native Excel 2010 format, the resulting saved file is empty. The resulting saved file generates no errors when debugging and saves with …

Software Development file-system microsoft-office
Member Avatar for spowel4
0
314
Member Avatar for Na'Vi

Hi, so I'm having a strange problem right now when I'm initializing an array that is a double pointer. The line that is causing me problems is lines->list = malloc(num_elements * sizeof(char *)) Lines is a struct, and list is a double pointer to a character. So char **line All …

Software Development c
Member Avatar for Ancient Dragon
0
336
Member Avatar for NidhiSree

I have created a custom control like below. public partial class TextBoxEx : TextBox { public TextBoxEx() { InitializeComponent(); Font = Utility.normalFont; } protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); } } //A utility class to initialize font. class Utility { internal static Font normalFont = new Font("Arial", 18); } …

Software Development
Member Avatar for Ketsuekiame
0
1K
Member Avatar for Ayesha_2

1. Create the HTML document using Notepad for Figure 1.1 (page 2) by following instructions: • Use the following DTD <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> • Just below the html opening tag, add the following details as comments using the eg. <!-- This is …

Software Development html-css xml
Member Avatar for Schol-R-LEA
0
143
Member Avatar for andyshera

Hello everyone my name is andy... is anyone know how to make a simple data entry worksheet in excel 2007? i noticed that excel 2007 have a form control inside the developer tab i can add input text box and command button in sheet1 but i dont know what syntax …

Software Development microsoft-office
Member Avatar for jwenting
0
245
Member Avatar for die_windoze

hi all.... I'm hoping someone can shed some light onto a project I'm working on. I have an Mdrive 23 step motor that works with a serial terminal. The whole serial terminal is new to me and I'm confused by what it means. I have been able to make the …

Software Development python
Member Avatar for die_windoze
0
302
Member Avatar for LeNenne

Hi and thanks. I am wondering if there is a way to clear the screen before the program is loading. Lenny

Software Development visual-basic
Member Avatar for rishif2
0
787
Member Avatar for GeoEqual

.ConnectionString = "Driver=MySQL ODBC 5.2a Driver; SERVER=localhost; UID=asdsadafg; PWD=sadsadsJFKSKF9; DATABASE=SampleDB; PORT=3306; OPTION= 1 + 2 + 8 + 32 + 2048 + 16384 can anyone explain the OPTION, what this connetion string will do... i have no idea.. please explain

Software Development visual-basic
Member Avatar for imBaCodes
0
197
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Software Development listview vb.net
Member Avatar for Hazuan Nazri
0
459
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Software Development mathematics vb.net visual-basic
Member Avatar for SLMQC
0
421
Member Avatar for Octet

I am attempting to learn Python, to add to my collection of languages and to get at least one programming language under my belt. So far I've only done the basics, and to test what I've learnt I made an extremelly simple calculator: #PyCalc Version 1.0 Loop = 0 print("-------------------------------------") …

Software Development python
Member Avatar for Octet
0
429
Member Avatar for waqas.zafar.125

hey guys !! I am new to graphics in c++ . the question says that your code should facilitate the user to draw different shapes using a mouse . for example if i have to draw a circle then how should i get started ?

Software Development c++
Member Avatar for Ketsuekiame
0
237
Member Avatar for Violet_82

Chaps, sorry I have a silly question. I am not quite sure if this is right, but what is the differenct between the two below: public class myclass{ public static void main( String args[] ){ boolean variable1 = false; boolean variable2 = false; ... System.out.print(variable1 + " and " + …

Software Development java
Member Avatar for Violet_82
0
183
Member Avatar for beginner91

i'm trying to create a program that will run another program. but the program i want to run has a gui and i don't want the gui to be visible, i just want the program to run in the background. **But i have to do it without editing the gui …

Software Development c++ gui microsoft
Member Avatar for Ancient Dragon
0
492
Member Avatar for Nebil

it's me again i had a code that searches a record based on user option.And i had the idea of creating a single function that accepts a query statement and execute and return it to the caller but i can't come up with anything(not make the code bulky).i have 3 …

Software Development database-design vb.net
Member Avatar for Begginnerdev
0
197
Member Avatar for ansumariyam88

Imports System.Data.OleDb Public Class Form3 Dim cmd As New OleDbCommand Dim rdr As OleDbDataReader Dim strmsg As String Dim db As New mydb1 Dim da As New OleDbDataAdapter Dim dset As New DataSet Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load db.dbconnection() strmsg = "select Class …

Software Development dataset vb.net
Member Avatar for Reverend Jim
0
212
Member Avatar for NiescierJ

I am trying to set "myimage" as the background for my GUI but having problems with self.canvas.create_image(myimage,750,450) def __init__(self): self.root=tk.Tk() # The number of times the GUI is updated self.ctr = 0 #creating the Canvas self.canvas = tk.Canvas(self.root, width=750, height=450, bg = "black") #Sets the background as an image myimage=PhotoImage(file='world.gif') …

Software Development html-css image python
Member Avatar for vegaseat
0
339
Member Avatar for NiescierJ

hey i am working with python 3 and i am trying to set a gif file as my GUI background. The canvas.configure(bg=myimage) does not work. Any ideas? width, height = 800, 500 canvas = tkinter.Canvas(width=width, height=height, bg="black") canvas.pack(fill=None, expand=False) #Sets the backround image myimage = PhotoImage(file='world.gif') canvas.configure(bg=myimage)

Software Development html-css image python
Member Avatar for vegaseat
0
14K
Member Avatar for riahc3

Hello Is there some kind of multiplatform library for Delphi (with its SDK) to access webcams while programming? The goal is to take still images but Ive only found ones that are compatible with Windows.

Software Development delphi pascal webcam
Member Avatar for pritaeas
0
178
Member Avatar for joseph.lyons.754

Hey Guys, I am working on a search that takes in a value via textfield. Once taken in it should display another Jframe with the info but the searchbox crashes the second I run it. Its some stupid mistake I have made or i have gone about it the wrong …

Software Development java java-swing oracle
Member Avatar for JamesCherrill
0
379
Member Avatar for lewashby

I'M wanting to write my own command/script for compiling my c++ files. I use g++ -g -Wall filename.cpp -o filename I'M trying to figure out how I can trip of the last four characters (.cpp) from a string. Any ideas?

Software Development shell-scripting
Member Avatar for rojomoke
0
249
Member Avatar for jeansantos

It is possible send an e-mail from a remote .exe/.aspx through Outlook Web Access?

Software Development asp.net vb.net
Member Avatar for jeansantos
0
528

The End.