132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Rocker Gang

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++
Member Avatar for Ancient Dragon
0
138
Member Avatar for munitjsr2

[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
Member Avatar for munitjsr2
0
320
Member Avatar for garu525

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
Member Avatar for barnum
0
325
Member Avatar for Youg

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#
Member Avatar for Youg
0
728
Member Avatar for Youg

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#
Member Avatar for Youg
0
201
Member Avatar for zebnoon

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
Member Avatar for Jx_Man
0
95
Member Avatar for rheyn

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
Member Avatar for rheyn
0
56
Member Avatar for hfx642

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
Member Avatar for hfx642
0
476
Member Avatar for kanhakv

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
Member Avatar for kanhakv
0
606
Member Avatar for schrope

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++
Member Avatar for Saith
0
103
Member Avatar for Derek Elensar

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, ' '); …

Software Development c++ ios
Member Avatar for Derek Elensar
0
205
Member Avatar for tracydo

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
Member Avatar for NormR1
0
178
Member Avatar for Billy D

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
Member Avatar for Billy D
0
362
Member Avatar for Skaii

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++
Member Avatar for Skaii
0
119
Member Avatar for rEhSi_123

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: …

Software Development algorithm c c# c++
Member Avatar for Narue
0
104
Member Avatar for Mr.BunyRabit

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"); …

Software Development dataset mysql
Member Avatar for Mr.BunyRabit
0
229
Member Avatar for ssdeep

[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.

Software Development java pdf
Member Avatar for rubberman
0
106
Member Avatar for missscareall

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++
Member Avatar for Saith
0
153
Member Avatar for alex-i

Hi gyes my problem is this:i have some textboxes and one button that is disabled and i want when all the textboxes are filled than the button to become active or enabled

Software Development
Member Avatar for alex-i
0
103
Member Avatar for gtn

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
Member Avatar for gtn
0
111
Member Avatar for Rickay

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 …

Software Development c++ os-x unix
Member Avatar for Rickay
0
275
Member Avatar for izthrower

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
Member Avatar for vegaseat
0
197
Member Avatar for custurd122000

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 …

Software Development c++ queue
Member Avatar for custurd122000
0
166
Member Avatar for Roelof Wobben

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
Member Avatar for WaltP
0
124
Member Avatar for Rickay

[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; …

Software Development c++ ios
Member Avatar for Rickay
0
6K
Member Avatar for tracydo

@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
Member Avatar for bibiki
0
479
Member Avatar for dvidunis

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 …

Software Development c++ microsoft mysql
Member Avatar for Narue
0
275
Member Avatar for centerline00

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++
Member Avatar for centerline00
0
89
Member Avatar for vincezed

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
Member Avatar for vincezed
0
69
Member Avatar for ahmedams

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#
Member Avatar for C#Jaap
0
786
Member Avatar for nighthawk10

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
Member Avatar for vegaseat
0
296
Member Avatar for brokenarrow_vip

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
Member Avatar for zachattack05
0
162
Member Avatar for Lardmeister

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
Member Avatar for vegaseat
0
187
Member Avatar for goocreations

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++
Member Avatar for mrnutty
0
5K
Member Avatar for emmyt

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
Member Avatar for SunnyVunny
0
108
Member Avatar for jimmymack

[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++
Member Avatar for jimmymack
0
142
Member Avatar for kenkit

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.

Software Development image python
Member Avatar for kenkit
0
88
Member Avatar for Saddi

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++
Member Avatar for jonsca
0
119
Member Avatar for v_janssens

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
Member Avatar for NicAx64
0
874
Member Avatar for katieJane

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
Member Avatar for katieJane
0
111
Member Avatar for Aepexx

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
Member Avatar for mKorbel
0
216
Member Avatar for ridif

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
Member Avatar for mKorbel
0
176
Member Avatar for missc

hi, i want to add a file path to my program. the file is stored in the folder where my solution is saved!! how can i code my path in the project so that my path will always be valid? because at the moment it is e:/..... and when i …

Software Development
Member Avatar for missc
0
89
Member Avatar for tultul

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
Member Avatar for tultul
0
1K
Member Avatar for jet101

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
Member Avatar for jet101
0
688
Member Avatar for otivo

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
Member Avatar for Luc001
0
148
Member Avatar for newbie14

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
Member Avatar for newbie14
0
101
Member Avatar for dadam88

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++
Member Avatar for dadam88
0
200
Member Avatar for d_panayotov

Hi guys, Is there a difference between these two: struct->variable struct.variable ?

Software Development c
Member Avatar for rockerjhr
0
204
Member Avatar for tubby123

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
Member Avatar for rockerjhr
0
152

The End.