132,726 Archived Topics
Remove Filter ![]() | |
This program is supposed to prompt for a price until (do while loop) the input box is blank and then average the numbers and display the average. I've got most of it down except the average part, how do I store the numbers the professor hasn't showed us arrays yet. … Software Development vb.net | |
Hello C program Gurus... i have problem with my programming. i can run my prog but its something not right... my prog is to make an automated reservation system program to assign seats on flight of the plane that have apacity 10 seats. the program should display the following menu … Software Development c | |
How do you draw on an image in visual studio 2005 and get it to stay? Ive can get it to draw, but it flickers on resize and disappears when the resize is done. Any ideas? Software Development c++ visual-studio | |
I am loading a txt File into a textBox with the code below. For each Line I am checking : if( LoadTopic2.substr(0, 2) == "Ex" ) If that is True I want to select that Row and mark that Line Blue. I have started some code out below but dont … Software Development c++ | |
I need help to make a Access user system. I'm very new to VB and am trying to make a system that allows a number of users to register and have individual username names with specfic passwords. I've never done this before so any help will be greatly apperciated, even … Software Development visual-basic | |
Hi Guys ... Does anybody know how to force a windows forms application to restart (Close and open again) taking the user back to the first screen ? My user fills in a questionnaire, reaches the end and is asked to either perform another survey or to send data (sent … Software Development vb.net | |
i am required to write a C++ program code that generates random numbers for a dice and it should have 1000 observations please assist a fellow geek Software Development c++ | |
HElp.. Friday 09.19 I must present a little program for my C++ university test. I remain just a little bug. I use this code to write my file .DAT [code=C++] ofstream fileScritturaPartita(nomeFile,ios::binary | ios::out | ios::app); fileScritturaPartita.write(reinterpret_cast < const char * >(&sfidaDaSalvare),sizeof(Partita)); [/code] It works very well but in the … | |
Hi, just a query about versions of Microsoft Visual Studio. I last year created my C++ programs using Visual Studio .Net 2003 and have noticed that my new uni course uses 2005. Will I be unable to run my old programs in the 2005 version? Ive had compatibility issues before … Software Development c++ visual-studio | |
Hi. I have a LoginForm.java, and then when the user enter the right username and password, then another file called "DictionaryForm.java" opens and the LoginForm.java, closes. How can I do that ??? see the LoginForm.java: [URL="http://www.daniweb.com/forums/thread119702-2.html"]http://www.daniweb.com/forums/thread119702-2.html[/URL] Software Development java | |
Hello, dear all! Below is heap algorithm. the problem is the output is not appear. How to fix it? [code=cplusplus] #include <stdio.h> #include <iostream> using namespace std; int *Value; int N; void read (int N) { int i; for (i = 0; i< N; i++) { cout << Value[i] << … | |
I followed Ancient Dragon's advice and used vectors to store roughly 1000 objects in a program I have written. Unfortunately, the vector library is not one I am familiar with. I read through the information at [URL="http://www.cppreference.com/cppvector/index.html"]http://www.cppreference.com/cppvector/index.html[/URL]. It seems getting a reference to each element of the vector is the … Software Development c++ | |
Hello This is the sister article to my question on C++. I've been told by some other people that java is a better language to learn for the kind of implementation needed. Please don't close the other topic, or stop replying to the other topic, as both of these will … Software Development java | |
I'm doing a lab where I must use three sorting methods, then merge sort the three arrays. While separating the larger array, I'm getting a "run time check error #2 stack around the variable x was corrupted: It does this for y and z as well. I think it is … Software Development c++ | |
I am studing SE computer engg,i have a problem in above code execution plz some help me Software Development c++ | |
I need to copy data from one excel sheet to another. source sheet 1 2 3 4 5 6 the data is to be copied in the following format 1 2 3 4 5 6 the copy paste method does not allow this because the regions are different. Can this … Software Development vb.net | |
hello, dear all, i have a slightly problem with my assigment algorithm as follows: [code=cplusplus] void write( int *x, int n) { if (x != 0) { for (int i = 0; i < n; i++) { printf("%4d", x[i] ); } printf("\n"); } } // print void swap(int *x, int … | |
Im Not sure if I have spelled well the DLL file but It is file that comes with MySQL 4 and Now in MySQL 5.1. It is standalone server version of MySQL to embedd in App. Is there anyne who knows how to connect to it and Execute SQL commands … | |
Can anyone spot the error in my code? The program will enter the last while loop but continue in an infinite loop... I figured fresh eyes may help spot the flaw! [CODE] int xlist[1500], ylist[1500], counter = 0, tempx, tempy, tempcounter; bool assign = false; while(counter < 1500) { xlist[counter] … Software Development c++ | |
Hi I wrote that peace of code but it is not doing what is suppose to do. It should saved my numbers into linked lists in incresing order. It doesn't. What am I missing. Thanks [CODE]#include<stdio.h> #include<conio.h> struct Node { int number; struct Node *link; }; typedef struct Node* NodePtr; … Software Development c++ | |
I have a program that has a custom class that I would like to create many of and access them like an array. Example: [CODE]#include <iostream> using namespace std; class Thing { public: Thing(int value) { a = value; } int doStuff(int diffValue) { a = diffValue + a; } … Software Development c++ | |
I'm doing my own array template version of an array. I'm having some problems overloading a method. I'm doing a specifik version of a "print()" if the type of array is <char>,(i'm saving bools as char). this works without problems. I just needed to add a templete<> infront of my … Software Development c++ | |
Hi, I am looking for a material that contains many python programs illustrating various core concepts. Please help in this regard. Software Development python | |
do you know whats a cout? what are its function and in what library can it be found? Software Development c++ | |
Hello, dear all. My algorithm as follows. my input is in Code2D.h file. actually i have to put in file 'Code2D.in'. but i dont know have to create it. By the way, my algorithm have no problem with N <= 4. but when i change N = 5, 6 , … | |
I put 2 dtpicker in my project. both are for search data from backed access file. like (1st dtpicker) i select a date 16/08/08 and (2nd dtpicker) 16/09/08. i want to find data last a month or any few days. i mean i want to find a period data like … Software Development visual-basic | |
I'm making a login in system using one notepad document to store the usernames and passwords. I was wondering if somebody could help me do this as at the moment I'm struggling to get it to match the username to the correct password. For example: On the first line of … Software Development visual-basic | |
I have a dice game to need to creat that plays until the total of the two die equals the users number, or the two die roll 3 total times. I also need to display the die after each roll. Something like this: Six: Five: and so on... * * … | |
I want to create a "Help" in an application that I do. I have attached a file for what kind of solution I am after. The solution is the same type as in VC++ 2008 under "Help" /Index? How it is constructed is with a listBox on the left side … Software Development c++ | |
hi, I'm working on an exercise, i did a lot of work already and i just can't figure where I'm going wrong, this is what I'm trying to achieve Sample IO ******************************************************************************* Welcome to PeopleSoft 2 MENU: (A)dd student, (D)elete, (L)ist, (S)ort, e(X)it a Enter the student number MSXMIC001 Enter … Software Development java | |
Hello all, im new to this community and i would use some help. I have learned VB.Net and i write programms for almost a year and a half. Currently im learning C, C++, and C#, but i dont have any expirience with these languages. So i would like you to … | |
I have an executable vb.net application that opens an external application. My program using two screens. I was wondering if there was a way to have the application open the program on the selected window from the screen that the button is pushed. Opening the external application on the screen … Software Development vb.net | |
Can somebody tell me what is the char code for key "delete"? Software Development | |
Hi, I am a C/C++ folk and need to pick up C# basic knowledge for a project which will start by 3 weeks. Could you reccommend me a (free if possible) reading stuff??? Thank you for any advice! Software Development c# | |
hello can u help me to store data from vb.net to access...right now i get the data from com port. and i want the data to be save in the access...below is the sample code... [code=vbnet] Public Class frmSerialPortExample '---------------------------------------------------------------------------------------------------------- 'Purpose: Allow for data recieve event to update text box … Software Development vb.net | |
given two arrays of n numbers, a[] and b[], and a number c, find the largest sum of elements from a[] so the sum of same-indexed elements from b[] don't go over c... i really have no idea... only recursion works but too slow :( heeeeelp! Software Development c++ | |
I've been banging my head on this errors and can't seem to find where I went wrong. For any of the "set_" errors, set_ (as well as print) refers to a member function of another class . Please, any help would be great. [CODE] test.cpp: In member function `void CDCollection::get(int, … Software Development c++ | |
i am creating an application in which i require a splash screen. Now the thing is that i want my splash screen to be there without any title bar and frame border what should be the necessary code for it plz provide me with that.... thank you.... Software Development vb.net | |
I yet did not master the skill of concurrency better say I failed on first attempt and since then did not tried, therefore I'm asking for help. Currently I working on JME application where I need to load mp3 files into Player. I'm able to do it with one file, … Software Development java | |
Hi Does anybody knows what is wrong with taht code? Why it says it is empty link list? It should fill with the numbers I enter. Could anybody help to answer the question? Thanks [CODE]#include<stdio.h> #include<conio.h> struct Node { int number; struct Node *link; }; typedef struct Node* NodePtr; void … Software Development c++ linked-list | |
With much pleasure I've started using a TR1 imlpementation. I'm a bit wobbly with it, but I'd dearly like to replace some code involving old-school pointers with some shared_ptr The original code is as follows below. It creates an array int* of size rows, each of which points to an … Software Development c++ | |
Hello I'm new to the forums and I want to ask some questions about grid like operations: Here I make a grid and set all cellvalues to 0. [CODE] import wx import wx.grid class TestTable(wx.grid.PyGridTableBase): def __init__(self): wx.grid.PyGridTableBase.__init__(self) self.rowLabels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"] … Software Development python | |
Hello All, I would like to programatically set the Column borders for a datagrid based on the column Index. So I would like Columns(3) for exampe, to have a border but not Columns(1) or Columns(2). The only thing remotely like this I can find is the datagridview grid setting. But … Software Development vb.net | |
I am programming using a Java Editor called "TextMate" on the mac and it often gives me errors that I don't get when I compile using TextPad on the Windows machines at school. Can someone check if this compiles on a Windows machine please? The errors are under the code, … Software Development java | |
hi what is the purpose of virtual function, please give me idea thanks bala Software Development c++ | |
Upon checking the corresponding check box, which is either Ladies Shoes, Men Shoes, Sneakers or Sandals, the program needs fill the listbox with the checkbox information. Can't figure the syntax, any help would be greatly appreciated. [code=VB] Public Class Form1 Private Sub chkboxLadiesShoes_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) … Software Development vb.net | |
Hi, everyone! I'm doing a p2p streaming project. This project is actually about : the server and client will connect first (socket created), after connect then client will receive the IP address of another client from server, then those 2 clients connect together and start streaming. I can write the … Software Development c client-server | |
hello, dear all i'm try to find determinant . there is error with ' pow': [code=cplusplus] sum = sum + b[0][p]*pow(-1,p)*determinant(c,m-1); return sum; [/code] after run, the argument was appear as follows: 1>c:\documents and settings\user\my documents\visual studio 2008\projects\deter4\deter4\deter4.cpp(78) : error C2668: 'pow' : ambiguous call to overloaded function 1> c:\program … Software Development c++ visual-studio | |
t can contain an Address Book, Calculator, Calendar, Dictionary, To Do List, Clock, etc. It is not necessary that it will look exactly like the Mac's Dashboard or the Windows Sidebar (especially when it comes to the look and feel; with transparent and animation effects). What's important is it contains … Software Development java mac-software |
The End.