132,726 Archived Topics
Remove Filter ![]() | |
http://www.cs.ecu.edu/~rws/c3300/prog1.pdf (for anyone that wants to view exactly whats needed for turn in) Hello! I'm trying to write a c++ program that takes in the lower and upper limits of a bunch of numbers and output the length of the longest hailstone sequence. Posted below is what I have so … | |
I am making this program for a class and it works fine except for the daily interest rate for the checking account is off. The daily interest for the savings computes perfectly. The monthly interest rate for savings is 6% and for checking 3%. Account.h #ifndef ACCOUNT_H #define ACCOUNT_H #include … Software Development c++ | |
hi have a nice time, I want to be an expert in Hibernate and decided to do certification in hibernate if there is any good books and links for hibernate projects kindly sugggest me, thanks in advance Software Development java | |
Good day pals. please i need a VBA code that could make ms excel automaticly tell the maximum point of a curve in a chart. Secondly, another code that would make it automaticly tell the Y-value of the point of interception i.e when two series or range of values are … Software Development microsoft-office visual-basic | |
i am having a tiff file of LZW compression and i wanted to convert the same into CCITT T.6. Is it possible? if sol please give me some advice or sample code about the same. Thanks and regards Software Development image | |
if there is a warning ***case bypasses initialization of a local variable*** in a C + + program, what is the solution to solve it? please help Software Development c++ | |
I have been trying to implement a parallel Depth First Search in Java for undirected graph. The approach I decided to implement uses one global stack which is shared by all the threads and n local stacks where n is the number of threads. Each thread stores the nodes of … Software Development java | |
Im having a problem with the following exercise. I have the whole program working, however, the transaction time is not passing to the customer. The only element that this affects is the time that the customer leaves. Anny assistance would be greatly appreciated. Best, Dani Below are the 5 files … | |
Saw this thread today: http://www.daniweb.com/software-development/csharp/threads/448676/derivative-integrals You may download the (free) source code from here http://xrjunque.nom.es/precis/swdownload.aspx Need to say it's all vb.net, but you can easily have a .dll (all the 'machinery' is inside a folder: just complile as a .Net's .dll). Then, to derivate say 'cos(x)': dim strToDerivate as string … Software Development vb.net | |
I have a source code that opens a csv file and sets up a header to value association. The source code is given below: def ParseCsvFile(source): """Parse the csv file. Args: source: file to be parsed. Returns: the list of dictionary entities; each dictionary contains attribute to value mapping or … Software Development open-source python | |
Ho Gents Is there any one who could help me on getting this sorted out? I want to save a unique indetification record considering this criteria: FULLDATE/PROCESS#. I.E: 03[COLOR="Red"]05[/COLOR]2012/1 03[COLOR="red"]05[/COLOR]2012/2 03[COLOR="red"]05[/COLOR]2012/3 ... 03[COLOR="Green"]06[/COLOR]2012/1 03[COLOR="green"]06[/COLOR]2012/1 For each date, I want it to start from one allover again. I have currently have … Software Development vb.net | |
class test { public static void main(String []vinnitro) { int n=5; for(int i=1;i<=n;i++) { if(i<=n/2+1) { for(int j=1;j<=i;j++) { System.out.print("*"); } } else { for(int k=n/2+2;k>=i-1;k--) { System.out.print("*"); } } System.out.println(); } } } It works as i expected but it is still very difficult to understand for me even … Software Development java | |
I want to know if there is anyway I can make an email alert with a balloon popup in the system tray, so far starting with I have made a system tray icon using pyqt that seemed to be simple enough, but I am not finding any starting point for … | |
I'm trying to learn, and have run into a little difficulty. Trying to add a class to my program, passing a structure as the parameter to the class, and get "The best overload method match...has some invalid arguments" error message - and I just plain don't understand it! // in … | |
Don't know why my code crashes when j=317. I thought was the matrix dimensions, so tried some numbers. Nothing particular happened. Every help would be very usefull. #include <stdio.h> #include <math.h> int main(){ int T,i,j,t,c,r[T],Jmax,Z,k; float v[10],R[10],EBNo[10],trapserv[10],a[10],w[10],Pblock[10]; float L[j+1][j],B[T+1][j+1],b[T+1][1000],P[T+1][j+1],q[j+1],qnorm[j+1]; float sigma,mtimi,mtimic,CV; float Nmax,g,W,EIother,C,Nown,No,totofcell,sumq; float Gamma,bita,QA,LA,BA; float x; //Data input// ` … Software Development c++ matrix-multiplication | |
I have two structures as; struct collapsed { char **seq; int num; }; // set of collapsed examples struct data { collapsed *x; int num; int numblocks; int *blocksizes; float *regmult; float *learnmult; }; And I have one statically defined 'data X;' need to be transmitted into device memory from … Software Development c++ | |
I have the code below in VS 2012. It dynamically allocates a DataGridView and an Update button, then it binds the grid to MS Access database table. That all works well. When I click the Update button btnUpdate_Click() is called, which calls the DataAdapter's Update() method. That produces the syntax … Software Development dataset microsoft-access vb.net | |
Hello, I don't know if I am posting this in the right section, I have a Java Database application(mysql). I have used netbeans to develop it. I have one table product_tbl which stores the stock level. I want to send an email notification to a specific email when the stock … Software Development email java java-netbeans | |
if u have an idea share plz Software Development c++ | |
I'm trying to use std::ofstream to create a file but I'm getting an error. I'm using a string variable instead of a string. example below. std::ofstream Myfile("C:\\testfile.html"); // This works fine //but the below doesn't string mystring = "C:\\testfile.html"; std::ofstream Myfile(mystring); //doesn't work. Not sure why. Any clues? Software Development c++ | |
In my program I need to execute two loops at same time. How can I do that? As windows have multi processing can I too complete two or more processes at same time? Actually I need 3 different timers which will be running simultaneously. Software Development c++ | |
Hi everyone! So, I hereby hope to show that I've made progress in coding java (largely due to the help of this great community). I want to thank everyone for dealing with me (especially James). :) The goal: The code below is supposed to seed a layout of boats into … Software Development java programming-construct | |
Hi.. d1 = a1*x1 + b1*x2 + c1*x3 d2 = a2*x1 + b2*x2 + c2*x3 d3 = a3*x1 + b3*x2 + c3*x3 Knowing all of a,b,c,d, I have to find x1, x2, x3. As you might noticed, this is high school math. But, how do I write the code to … Software Development c++ matrix-multiplication | |
Good Day, I would like to ask some Help regarding on my Textfield that will not be allowed SPACES WITH NO CHARACTER, SPACES CHARACTER only be allowed is Characted Spaces Characted. Your Response is Highly Appreciated. Thank You. Software Development vb.net | |
Making a command line interpreter for my Operating systems class The following line is giving me a problem if (strcmp(argv[0], "ren") == 0) { return RENAME; } For whatever reason it does not return anything. However if I change "ren" to "darrel" it returns the proper value of RENAME and … Software Development c++ operating-system | |
Hi DW There is a project that I'm currently doing and now I just thought of saving some data online so now my question is that how can I write code to fisrt of all create a file with a name of a user then inside the file write and … Software Development vb.net | |
how can I store this in a variable named ptotal? ptotal = Double.Parse(Me.txtt1.Text) + Double.Parse(Me.txtt2.Text) + Double.Parse(Me.txtt3.Text) + _ Double.Parse(Me.txtt4.Text) + Double.Parse(Me.txtt5.Text) + Double.Parse(Me.txtt6.Text) + _ Double.Parse(Me.txtt7.Text) + Double.Parse(Me.txtt8.Text) + Double.Parse(Me.txtt9.Text) + _ Double.Parse(Me.txtt10.Text) + Double.Parse(Me.txtt11.Text) + Double.Parse(Me.txtt12.Text) + _ Double.Parse(Me.txtt13.Text) + Double.Parse(Me.txtt14.Text) + Double.Parse(Me.txtt15.Text) + _ Double.Parse(Me.txtt16.Text) + Double.Parse(Me.txtt17.Text) … Software Development vb.net | |
Hi Guys... looking for a quick answer on excel Formula.. Anyone know why my text "Please Chase" is not showing up? =IF(ISNUMBER(F2),$F2>TODAY(),"Please Chase") Software Development microsoft-office vb.net | |
Good Morning, My name is Greg and I am trying to teach myself to write code. But I have a question I wrote a program that compares a range of numbers and tells you the grade. The program works and dose what it is supposed to do but I have … Software Development c++ | |
Hey guys, I've been trying to create a simple calculator interface in Python, with a display, a set of buttons which can input the digits 0-9, buttons for addition and subtraction, a button to clear the display, and an equals button. Code so far: from tkinter import * import tkinter.messagebox … | |
Hello I want to make a standalone program that (for example) is for a very small supermarket that stores in a database their stock. Now, I dont think it is neccesary to install MySQL Server on a client's computer so how do you "embed" it so to speak into the … Software Development | |
although, i have read C++ books in my past, but as my placement session is there, i just want to have some books from where i can see everything in shortest and concise possible. classes, polymorphism, inheritnce concepts etc like this . any book which u can tell me ? … | |
Hello Guys I am trying to make a game with Tkinter. It involves selecting different options from a set of buttons. I created a root for the window, and am done with all the basic game programming. Its a football league simulator allowing players to select a team and choose … | |
![]() | I want to copy a folder structure from one directory to another and keep the folder permissions within the structure. Is there code to use robocopy for this? Software Development vb.net visual-studio |
Greetings everyone, Can someone help me please on this error, you can also point to me where the converstion of the data type happen. If Not ListView1.Items.Count = 0 Then Do Until iLoop = ListView1.Items.Count lvitem = ListView1.Items.Item(iLoop) With lvitem query3.Connection.Open() query3.CommandText = String.Format("INSERT INTO workout_title_tbl VALUES((Select customer_Id From registered_cust_tbl),@workout_Title,@customer_Workout,@workoutType,@workoutInstruct,@date_Created,@time_Created)") … Software Development vb.net | |
this is code i use to call in a record using a textbox and a button Dim SearchProduct As String = txtBC.Text Dim con As OleDbConnection = New OleDbConnection("Provider = Microsoft.Jet.OLEDB.4.0;" & _ "Data Source = '" & Application.StartupPath & "\POS.mdb'") ' Use wildcard' Dim cmd As OleDbCommand = New … Software Development dataset open-source vb.net | |
I Am relatively new to java database accessing.. I need to access an SQL Server database..basically i need to use it in Android but I am trying to create web service in java. can i have a sample code for it?? **Please Help** | |
This is going to look like a very basic question to allot of you but for the life of me I can't find how to do this anywhere on the web. Allot of convoluted solutionsn out there. I simply want to save a textfile as a .html file. Having seriouse … | |
Hi Im a student and just started 3D programming 2 weeks ago. I have this problem: I got a working collision detection against models created in Maya. But: The collision is only inside the model, with the normals on the model pointing out as it should be. If I revers … | |
Howdy; I am currently working on a program to review what I have learned so far, in the PCASM book written by Dr. Paul Carter. I have accomplished 3/4ths of my overall goal, however; my program doesn't seem to like me especially the division part of it. The goal of … Software Development assembly | |
I am trying to think of a way to do validation for only positive integers. And this coding should work for around 4 to 5 columns . Can someone help me think of a way to do this and what event handlers do i use? Software Development vb.net | |
I am looking for a code snippet which opens a image, creates a clone of this bitmap in memory disposes this opened image so that all handles are closed. Usually we can open a bitmap using this [CODE] Dim MyBit as new bitmap("C:\Image file.bmp") dim ClonedBit as bitmap = MyBit.clone … | |
Write a function that, when you call it, displays a message how many times it has been called: "I have been called 3 times". write a main program that calls this function at least 10 times. | |
Hi Anyone know why this program not work?I wonder if I use right usage? import os import optparse import mechanize import urllib import re import urlparse from _winreg import * def val2addr(val): addr = '' for ch in val: addr += '%02x ' % ord(ch) addr = addr.strip(' ').replace(' ', … Software Development microsoft-windows python | |
Good day folks, lines = IO.File.ReadAllLines(txt_Source.Text) I have here a line of code which reads a text file and save it to an array, It works well. But I wanna ask if there is anything like this code that can be use to read a excel file? Something like this … Software Development microsoft-office vb.net | |
Hi, I'm looking to find out how to force a refresh on a datagrid in a windows app. On a mainForm the user clicks a button to add a new record. This opens a new window. When the user has entered the data they click save and close which should … Software Development vb.net | |
is there a way to transfer the values of an excel file to a control in vb application (eg datagridview)? if there is, can you also selectively import values by specifying a cell number? it will be a great help. thanks :)) Software Development vb.net |
The End.