132,726 Archived Topics
Remove Filter ![]() | |
I am having a network class and a dialog class.I have to send the data recieved in network class to dialog class but not direcly i.e it should not be tightly coupled with my dialog. Help me out.............. Software Development c++ | |
[CODE] #include <iostream> #include <fstream> using namespace std; int main() { char ch; ofstream outf("ITEM.txt"); cout << "Enter item: "; char name[30]; cin >> name; outf << name << "\n"; cout << "Enter item cost: "; float cost; cin >> cost; outf << cost; cout << "written to file item.txt\n"; … Software Development c++ file-system | |
When I click on any of my menu bar, the menu wont expand or sometimes it does but missing some. I tried reinstalling and resetting it but it still doesn't work. Please help. Thanks. I attached a print screen of the problem. Software Development c++ visual-studio | |
I'm currently generating a random number and placing it in a label, but when I press the next button I would like the program to generate a new random number. The method I'm currently using to create the generate is: [CODE]//Random number generating method public double RandomNumber() { //declares random … Software Development c# | |
Hi, I'm almost done with my coding and I'm trying to implement blocking the user from putting anything but numbers into one textbox and then autocaps'n everything put into another. I've been looking through the web and can't find anything to point me in the right direction. Also, I can't … Software Development c# | |
Hye all I am developing a Shop Software i want to know what kind of Grid i have to use at Sale Form which will sum up and print bill? Software Development visual-basic | |
needdd help...... how could i view remote database connection status using vb6? if the status currently connected or not to other user........ TY in advnce :) Software Development visual-basic | |
![]() | I've been coding in Java for about six years now (personal projects only). I follow the... [I]Java, How to Program[/I] (Deitel, 5th ed.) book. For a particular project, I've coded several Record structures, each in their own class file. Is it possible to put ALL of my Record structures into … Software Development java ![]() |
hello all members! i have just written a java application about menu. i got error that: cannot find symbol. could you all tell me all possible causes of this problem. i have tried to follow some of instructions on internet, but no help. thank in advance for your help. p.s: … Software Development java | |
help i am a beginner and i need help with my final program. i beleive i have everything set but i am not sure how to write the function. i want the function to add up all of the rides and give a grand total but i can not get … Software Development c++ | |
I have said program: [code] #include <iostream> #include <fstream.h> #include <conio.h> using std::cout; using std::cin; using std::ios; using std::endl; int main() { char first[6]; char middle[16]; char last[16]; int counter = 0; char temp; cout << "Please enter your first, middle, and last name:\n>"; cin.get(first, 6); cin.ignore(80,'\n'); cin.ignore(80, ' '); … | |
Hi, So I just done this class for the semester but am still having this problem in the back of my head that I need your help to clear it out of the way. Basically, the program here about covert the Octal number to Binary number which Octal number will … Software Development java | |
I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the … Software Development c++ file-system os-x | |
First let me thank you for taking the time to read this. I've been working on this code for a while and I can't seem to get it to run. Basically what I have to do is take in data from a file then output the data in a report … Software Development c++ | |
Guys need some advice. I am working on a algorithm for multiple string searching using OpenMp. So within my program I am trying to [U]initialise[/U] each elements of an array to a value of a variable. What I mean by is say if I have array intialised as shown below: … | |
Hey there =) Im struggling to save a file to my MySQL database. I managed to save a image to the database with this code [CODE] SqlConnection con = new SqlConnection(Properties.Settings.Default.NorthWestConnectionString); SqlDataAdapter da = new SqlDataAdapter("Select * From MyImages", con); SqlCommandBuilder MyCB = new SqlCommandBuilder(da); DataSet ds = new DataSet("MyImages"); … | |
[url]http://sparrow.ece.cmu.edu/~adrian/projects/secure-routing/ndss03.pdf[/url] I want to know if we can implement this paper entirely with java.It is a security mechanism for routing protocols---we cannot afford routers so thinking of simulating them. | |
Hello to everybody, I am a c++ beginner, and I want to do a program that reads a file with a column with numbers, "finds" the repeated numbers and write the repetitions on other file. For example, I have a file like this: Input file: 6 5 4 4 7 … Software Development c++ | |
![]() | |
So on my main form there are a few labels, which are defined by settings. The user can press an edit button which opens a new form with text boxes and a save button to edit those settings/labels. It works properly, it changes the settings but you only notice the … Software Development github | |
I'm not really sure what the proper forum for this is. Basically, I have compiled a small program (written in C++) that I want to execute. It first creates an AppleScript, then runs it. But, when the program is run (it is a 'Unix executable file'), I want to to … | |
Hey every one, the code above below a user to draw lines and create circles that will collide with the lines and have them roll down the lines. The problem im having is geting the screen to follow the circles. Also im having a problem having the user be able … Software Development python | |
compiles there are no errors but it only outputs part of the desired output and then exits in a segmentation fault This is the output its printing out [code] Input is: 25 10 - 100 115 - - 300 2 5 * / / Contents of input queue: 25 10 … | |
Hello, I have this problem. [code] Use the function that you just wrote to read a sequence of numbers. Put them into an array declared in main, by repeatedly calling the function. Sort them into ascending numerical order, then print the sorted list. [/code] So I thought this can work … Software Development c | |
[CODE]double speedTest() { double dInitialTime = clock(), dFinalTime = 0; double dRepititions = 99999999; double dResult; cout << "\nCalculating...\n\n"; for(int nCounter = 0; nCounter <= dRepititions; nCounter++) { pow(dRepititions, pow(dRepititions, dRepititions)); } dFinalTime = clock(); dResult = dFinalTime - dInitialTime; ofstream outf("Results.dat", ios::app); outf << dResult << endl; return dResult; … | |
@NormR1 or anyone please help, This program is to convert the input octal to output the binary in multiple number within the octal (ex: 24546, not 4 or 2 in single input)using an array. Thanks I converted it to integer, but how do I read one integer at a time … Software Development java | |
hi i know there is a lib for mysql in c++, but i can't seem to install it properly! someone has a place i can find a tutorial for mysql for: Windows XP, Codeblocks. thx for helping. Checklist for Fast Responses: 1: Search before you post. Does what you're looking … | |
OK, I have been out of the loop with C++ for a year now. I am finished with school, so this is NOT homework. Just trying to clean up some old assignments for future references. (the code is in "messy" shape til I can get it working properly and clean … Software Development c++ | |
Hi all... I wanna know is it possible to place tabpages one behind the other like in the windows xp advance settings form.... if it is possible can any one tell how.... Thanks vince Software Development | |
Introduction How to capture the errors from application and write it in a log file. We have to mention the directory path in Webconfig file. Background This code is to capture the error log in log file with all information. The code Code: CSharp [CODE] public class LogError { private … Software Development c# | |
Can somebody please help me with coding a program for online graph plotting using 'python flask'. The program has to take as input a .csv file and manipulate it and plot it accordingly. Software Development python | |
what code used to lock Forms like this? [url]http://img852.imageshack.us/img852/9212/23840886.jpg[/url] [url]http://img191.imageshack.us/img191/27/95998974.jpg[/url] If I intended to crack it, what disassembler? what should i look for? after success disassembler? Software Development | |
Tuples are immutable objects, they cannot be changed says the Python manual. [code]my_tuple = (1, 2, 3, [4, 5, 6]) # this works my_tuple[3][2] = 7 # clearly the item at index 3 in the tuple has changed print(my_tuple) # (1, 2, 3, [4, 5, 7]) [/code] Software Development python | |
Hi I'm looking for an efficient way of converting an array of integers to an array of doubles. Currently I'm doing this: [CODE]int *a = new int[1000]; //And then assign values to the indexes double *b = new double[1000]; for(int i = 0; i < 1000; i++) { b[i] = … Software Development c++ | |
Morning guyz,I need to make reference to a form 2 on my project from form 1 and it as be seeming impossible. [code] /*this is the code I wrote. form2 me=new form2(); me.groupbox1.visible=false; */ [/code] The broup box is always visible anytime I click,Plz help Software Development | |
[CODE]// Listing 14.4 // Add Function #include <iostream> class Counter { public: Counter(); Counter(int initialvalue); ~Counter() {} int GetItsVal()const {return itsVal; } void SetItsVal(int x) {itsVal = x; } Counter Add(const Counter &); private: int itsVal; }; Counter::Counter(int initialValue): itsVal(initialValue) {} Counter::Counter(): itsVal (0) {} Counter Counter::Add(const Counter & rhs) … Software Development c++ | |
I was planning to create a programme to try and locate text from an image I kknow that this is a complex issue but any assistance will be kindly appreciated,the programme should locate text and create a document containing the text found thanks. | |
Well i'm beginer in c++ programing languages, what I need to know is, What is the partations of c++? What kind of programmes I can built with? And why it's the best programming languages? Software Development c++ | |
Hi, I have a C++ program (built in Visual Studio 2010) and want to add a user interface to package it up. I've been reading around about windows forms and the win32 API, and found loads of tutorials showing how to create interfaces but I can't find any advice on … Software Development c++ gui visual-studio windows-api | |
Hi I am hoping someone might be able to shed some light on my issue. I have some BLOB images within a small, 9 row, database and I simply want to run through the database and sequentially place each separate image into 9 picture boxes. I have tried with a … Software Development vb.net | |
Hi everyone, I've been working on this for a couple of days now. I need to make sure that an error message is given if txtname has a numerical value in it, and I also need to make sure that an error message is given if txtscore has a non-numerical … Software Development java java-swing | |
Hi, Now i'm doing my Machine Learning job about k-NN and k-Means. I need to create graphics about my data coordinate. Basically, i don't have any idea to create this. Is there anyone can help? Software Development java machine-learning | |
Hi..! i need to make a trial period software. Do anyone knows how to do it. I have gone through many links and still searching in google, but everywhere i found only some points mentioning about the way of doing it, but no one explains about how to do it... … Software Development java | |
Hi guys, I've been working with a project that requires me to use mutiple jcombobox. I did try to relate three jcombobox but failed to show all necesarry drop-down lists. in one of my combobox I have lists of Banks (Bank1, Bank2), the other one is the list of all … Software Development java | |
After downloading crystal reports for VS 2010, the code i used in VS 2008 generates a database login error[CODE]Imports CrystalDecisions.CrystalReports.Engine Imports System.Data.SqlClient Imports System.Data.OleDb Public Class RrportForm Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim RrportForm As New ReportDocument RrportForm.Load("D:\PROJECT\Vehicle Management and Maintenance\Vehicle Management and … Software Development vb.net visual-studio | |
Dear All, I have snippet of code as below. It is a listener which is waiting for the data so I use local to telnet to this program in the same machine. Nothing gets printed unless after sending the data I press enter. On the other hand if I use … Software Development java | |
Hey all, I just wanted to know if I should use a different process to run my loop. I use a while loop until the AI figures out the number. I know there is a more efficient and easier way to make this loop happen with BOOLEAN. Setting while(bool = … Software Development c++ | |
Hi guys, Is there a difference between these two: struct->variable struct.variable ? Software Development c | |
guys, we use like a 2-d array very often. But what exactly is the use of a 2-d array ? Now when i look at it, i feel everything can be done using a 1-d array and incrementing the pointer appropriately. Is the only advantage of a 2-d array , … Software Development c matrix-multiplication |
The End.