132,729 Archived Topics
Remove Filter ![]() | |
I am starting a homework an assignment on C++ about a mortgage calculator. It is really complicated and I'm really confused. I just need some help. PLEASE AND THANK YOU! :) Software Development c++ | |
Hello folks, I am new to VB 2008 and right now I have been struggling a lot for updating access 2003 database from a VB 2008 desktop application. My problem is that I am unable to update the 'Status of the USER' to 'ACTIVE'. The problem is in the "setUsersOnline() … | |
Hello DaniWeb, I am pretty new to this community and overall to the C++ language. Not so long ago i've decided to learn C++. Anyways the problem is: I am trying to make a simple calculator, its very easy my problem is i am trying to advance my knowlege about … Software Development c++ | |
I am trying to demonstrate to my class mates the run time difference in using bit-wise and logical operators. I chose to do this by writing a simple (I thought) program that reads 2 ints from the console, and multiplies them two separate times, one using the logical multiply (a … | |
Hello all, I need help with a scientific notation problem. I am to create a program where the user enters a 5 digit number, and it is displayed in scientific notation. This part is easy, however I am trying to take it to the next step and make it so … Software Development c++ | |
Hello: Was trying to assign a function pointer to a struct member and am getting compile errors. The .h file I have to use has defined the struct: [code] typedef void(*callback)(bool, char*, int, unsigned long, void *); struct CallbackInfo { callback func; void* stuff; }; [/code] What I have in … Software Development c++ | |
So I have an assingment that I am stuck on -_- So I am supposed to create a code that "tests" out a range of integers and determine the perfect squares(4,16,25, etc) within the range without using square root calculations and using a function. I have written the following, and … Software Development python | |
hello everyone i am a student of computer app. from last 4 months i was using turbo c++. but by the advice of some people yesterday i installed codelite. i wrote a simple c++ program but i am not receiving any output i pressed ctrl+f9 as in turbo c++ but … Software Development c++ | |
Hi I have this project I'm working on and I'm totally stuck. Things is that we need to do the following: A - Write a class, Sphere, which has one private field of the type integer which represent the radius of the sphere. B - Write a default, empty, constructor … Software Development | |
i want to write a code in C++ in which when i Press a key...it displays the letter which i have set in my code for dat key.....it means a program that changes the ascii code of a keyboard.....tell me the logic how can i do that?????? Software Development c++ | |
I am reading the first chapter on graphics in the Stroustrup book. He explains that we students will need to download the files of a GUI toolkit in order to run programs containing graphics. He recommends the "Fast Light Tool Kit, FLTK" because the book's programs are based on that … | |
Below is the function I copied to get the answer...so plz do tell us the simple method for this..... [CODE]int ** addmatrix(int **a,int x1,int y1,int **b,int x2,int y2) { int i,j,**c; c=(int**)malloc(x1*sizeof(int*)); for(i=0;i<x1;i++) *(c+i)=(int*)malloc(y1*sizeof(int)); if(x1==x2 && y1==y2) for(i=0;i<x1;i++) for(j=0;j<y1;j++) *(*(c+i)+j)=*(*(a+i)+j)+*(*(b+i)+j); return(c); }[/CODE] Software Development c | |
Hi all, Can somebody show me an example how to embed SCPI and GPIB type commands in C sharp for instrument control? It is for controlling a spectrum analyzer through Ethernet interface. Thanks and regards, George Software Development | |
Hello.. i have two datatables with only one column each. i wanted to compare those two columns in two datatables. here is the example dt1 apple orange peach banana dt2 apple peach mango apricot now i want to compare dt2 with dt1. dt2 is bound to a list box. so … Software Development apple | |
I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. I've done this with methods returning values but how could i add, subtract, divide , multiply without returning a value from methods ? [CODE]import java.io.*; class first{ int a=5,b=2,c; public … Software Development java | |
Hello. Apart from practice and books (like C++ coding standards by Sutter and Alexandrescu) what is the fastest and surest way to acheive coding standards in c++? Supriyo | |
hi guys... I'm developing a commercial app using VB6 , this time in my case I have to be worried about the code disclosure I konw any app can be cracked by a Pro Cracker, but I'm targeting people with a Decompiler ([URL="http://www.soft32.com/Download/free-trial/VB_Decompiler/4-124248-1.html"]like this[/URL]) with no assembly knowledge, It's not … Software Development assembly open-source visual-basic | |
Hello guys. I've found a new problem. I'm using an string array ( unidimensional: Important[] ), and a RichtextBox Text. Let's say, my rich text box is: [b]1 january 1852 - In this year, Eugene-Antole Demarcay was born.[/b] Ok, i want like Eugene-Antole Demarcay to have it's color red, and … Software Development | |
I wanted some information on the return values : 1. Is it always necessary for a return value of [B]main()[/B] to be an integer. 2. What happens if the return value of [B]main()[/B] is not integer. 3. When a return value other than 0 is returned - does it always … Software Development c | |
I'm looking forward to some tips on how to improve this code I wrote. Don't rewrite it yourself please, as I'm really not looking for someone else to do my homework. What advice would you give me? [CODE] import java.util.Random; public class CompareTo { public static void main(String[] args) { … Software Development java | |
Hello everyone, I have done my programm with visual studio 2010 MFC. In my programm there is 2 timers. and 4 edit controls. My problam is, i cann't change edit control value when timer is running, suppose currently edit box is empty, but i want to write some numbers, but … Software Development c++ visual-studio | |
Hi there,I am stuck here.The question ask to Write an application for a university admissions office. Prompt the user for a student’s High School Grade Point and an admission test score (value from 0 to 100). Print the message “Accept” if the student has any of the following: A grade … Software Development apple java java-swing | |
Ok so first let me say hi, im new to the forum, 1st time poster but long time follower. I'm a student, who knows some java and some c#, but not enough to be proficient in either =( hoping to turn that around with c# over the next 3 months. … Software Development | |
Alright, so for the lab I have to do using turtle in python I have to draw an H and then draw H's off of each end of the first H at a 45 degree angle and switch the color between blue and orange. The first H has to be … Software Development python | |
Hey guys I'm about to launch this server on my VPS and want to make sure it won't do any damage or hit my CPU cap. I've written this code for my online game which visits a page every 888ms by starting a new thread which opens a connection with … Software Development client-server java java-swing | |
Hello everyone, now i don't want to ask about error or bug, because what i need to do is searching a source code. The source code should be related to computer graphic, for example to sketch a graphic. Do you have any suggestion where i can find such source code … Software Development java | |
I'm trying to work on a basic checking account program. It will eventually allow the user to make a deposit or withdrawal to an account. I honestly have no idea what I'm doing wrong here, but I'm hoping it's just something incredibly stupid. [code] //Deposit and Withdraw Funds package deposit_withdraw; … Software Development java | |
I have a stand alone application [COLOR="Red"]"test.exe"[/COLOR] on a Windows 7 operating system. I have an application [COLOR="Red"]"test.exe"[/COLOR] made in Visual basic 8.0. I have an [COLOR="red"]"Auto Update"[/COLOR] function . Call this function [COLOR="Green"]from "test.exe". [/COLOR]In the first line in [COLOR="red"]"test.exe"[/COLOR] This function does the following: 1. This checks whether … Software Development operating-system vb.net visual-basic | |
I'm getting a segmentation fault when I try to search a linkedlist using the following description: [CODE] //! Searches for the first occurrence of value v that appears in the list //! after node n //! //! @param v The value being searched for //! @param n The node in … Software Development c++ linked-list seo | |
Say i have a listbox, and when a single item is selected a corresponding objects properties are shown. in other words, how would I relate items in a listbox to objects containing data? Software Development | |
I have a continious Form which opens and shows records of people with whatever criteria the user had chosen the screen before. When the form opens it checks which button was pressed and then changes the recordsource of the continious form. When I try to edit the records it says … Software Development vb.net visual-basic | |
i want to compare between the cell value with the value(parameter) in database. as example, if my cellvalue value is 3 and my paramater(a) in my database is 5 it will be like this if cellvalue<a then (some code) end if the problem is i don't know the exact data … Software Development vb.net visual-studio | |
Hi guys! I'm having a problem with a project in which I analize a .cpp file for certain reasons and I need to create a ifstream Class Variable but I can't! Here in the header I declare the variable, look: [CODE] #ifndef ANALIZADOR2702010 #define ANALIZADOR2702010 #include <iostream> #include <fstream> #include … Software Development c++ | |
Hi Everybody, Can someone please tell me how to pass a frame to other class method I am able to pass the frame but when i pack some entry field..the window stops responding here is my code [CODE]class InfoFrame: def addAttributeCriteria(self, parent = None, type = '', attrib = {}, … Software Development python | |
Hi.. Im using VS08 to build my C# App. Im using a MVP architecture & LINQ. I have populated my datagridview. but my problem is, i want to sort the columns in the grid view whenver i click on the header of the column. There is no property to do … Software Development | |
I was tasked with taking our current mail out enrollment form and converting it to a template that will be downloadable from our website. The customer will be able to fill out the form via 23 textboxes, 4 option buttons, 3 comboboxes as dropdowns and clicking one button that attaches … Software Development visual-basic | |
[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim frm1 As New Form1 Dim n As String = Label4.Text Dim ConStr As String = "provider=microsoft.jet.oledb.4.0;" & _ "data source= " & Application.StartupPath & "\" & "Mydata.mdb;" Dim connection As New OleDb.OleDbConnection(ConStr) Dim savinto As New … Software Development open-source vb.net | |
Hi, I have a list of named enums: [CODE=C]typedef enum EGCDevicePneumaticState { EUnknown, ENotPresent, ENotReady, EPressureNotReady, EFlowNotReady, EReadyOn, EReadyOFF, NumberOfEGCDevicePneumaticState, }; typedef enum EGCDeviceReadiness { EUnknown, EReady, EReadForPrep, ENotReady, NumberOfEGCDeviceReadiness, }; typedef enum EGCDeviceRunState { EIdle, EPreRun, ERun, EPostRun, NumberOfEGCDeviceRunState, }; typedef enum EGCDeviceThermalState { EUnknown, ENotPresent, EOff, ENotReady, EReady, … Software Development c | |
How to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server? Software Development client-server vb.net | |
I am having a problem trying to save records in a parent / child data relation. I have to tables tblContacts & tblMember. There is a fk relation on the ContactID field. The tblContacts table is the master record. I am using a set up bound windows forms controls to … | |
hi guys i have login form that the users will enter their username and password i saved the login information in access table called login, but when i try to login my system using correct username and password the system crashes and visual basic 2005 display a message that say … Software Development vb.net visual-basic | |
HELP!!! I'd like to know how to filter the content that my reportviewer control is displaying. Example, from all the records of employees, I only want to print those whose surname starts with letter 's'. Can anyone help me here? I desperately need it in my thesis! Salamat...Thank you in … Software Development vb.net | |
How do you store data in the access database and also to retrieve it? and also a search engine for the database? Software Development vb.net visual-studio | |
Hi there, I am trying to make a piece of code in C that: 1. opens a specified file, 2. Reads the data in the file and include it in MySQL, based on the position of commas, 3. Converts the last two number into binary and then performs some check … | |
hai i am new to python, can any one please help me how to parse data from an html file, i want to display the content which lies under a particular tag,and also can you please tell where can i find tutorials for this topic with sample examples. | |
hi, friends i have some doubt from many days.. please any one clarify it.. my doubt is, "IS IT POSSIBLE TO CHANGE JAVA FILE TO .EXE FILE ... :?::?::?::?:?" IF IT IS POSSIBLE HOW IT IS CONVERT...:icon_idea: THANKS IN ADVANCE..... Software Development java | |
I'm currently practicing algorithms and coding for my colleges programming team. The problem is, in High School I was almost purely C/C++, while my college team all work in Java. So, while not wildly different, learning Java is still pretty frustrating to me. My most recent problem is a Java.lang.NullPointerException … Software Development java | |
i'm a new comer to this language. can anybody tell me why this simple piece of code gives me an error indicating that "NameError,name 'example' is not defined". by the way i use Wing IDE to write my codings. class example(): def _init_ (): print("a class is created") def m1 … | |
Hi guys. For some reason I cannot get the linked list to print. I want to copy it(which works) but I cannot get the list to print after copying it. Any suggestions? [CODE]#include <iostream> using namespace std; struct node { int info; node* next; }; int main() { node* list; … Software Development c++ linked-list |
The End.