132,726 Archived Topics
Remove Filter ![]() | |
Are there any O(n) algorithms to check if a 2d array is symmetric? Software Development c++ | |
i am traying to put date from access table in text box with 2 coloumn (Invoice No &Invoice Amount) below code gives me right allignment for both coloumns . i want field 1 i.e invoice no to be left allign and field 3 i.e invoice amt. to be right allign. … Software Development visual-basic | |
Okay so I have a program that calculates the time it takes for my application to run and i need it to enter those times in one row in excel 2007. What is the code or way for doing this? There are 1000 times iteration so you can see why … Software Development java ![]() | |
I am looking to learn best practices for working with strings. Two issues that I have with strncat are that it is difficult to calculate how much space to allow, and that there may not be a null character in the string after the procedure. So if I have two … | |
When dealing with pointers, the "&" sign is called the address-of urinary operator. Knowing it's name sure helps to understand when to use it. Is "*" a urinary operator as well, and if so, what is its name? If it is not an operator, then what is it? Thanks. Software Development c | |
How can I start doing a program using pop-up menus in C++? with the choices which are clickable? which code I should use?thank you. Software Development c++ | |
using c++ program perform a cash egister process having an inputted money and the total amount purchase in a store ex. item1:___ item2:___ item3:___ ... up to item n:___ money =___ total purchases:__ change:___ anyone can help me with this program?? thanks BIG HELP .. Software Development c | |
For now this has a sample dictionary of words, but later I will allow the user to provide their own dictionary. [CODE] import java.io.*; public class testReader { private String[] auto = {"lorem", "ipsum", "dolor", "sunglasses", "friend", "time", "flies", "like", "an", "arrow", "daisy", "bell", "the", "quick", "brown", "fox", "jumps", "over", … Software Development java | |
Hi i saw a post about this program already. im new to c++ and im lost... completely lost... im not even sure im posting this in the right place. anyways. the program i got is working correctly until i make it an OOP which is what my teacher wants us … | |
hi guys.. i am new to c++ and i am having a problem running it couz it usually says: [CODE]11 C:\Dev-Cpp\conio_test1.cpp `cout' undeclared (first use this function) [/CODE] this is my code and please try to help me! [CODE] #include<iostream> #include<conio.h> int main() { int a =0; while(!kbhit()) { printf("%a … Software Development c++ | |
I have a homework question that simply shows a linked list of 3 elements (each one with a character in it, 'A', 'B', and 'C' respectively), with the 'head' pointer pointing at the first value of the list, and a 'current' pointer set to null. The question wants me to … Software Development c++ linked-list | |
Hello, I'm supposed to write a programming project that reads 2 files and then organizes the numbers into an output file in order from smallest to largest. The input files are as they appear: 1 4 5 and also 2 3 6 Right now I'm having trouble with the output … Software Development c++ | |
Hello everyone! I would like to ask if... Is it possible to convert a project saved in Vb.Net 2010 to VB.Net 2008? Thank you for you response! I'm a student currently doing my Thesis Study. :) Chellemits Software Development vb.net | |
Hi, I have a problem with L-systems recursion, I tried a lot of ways to figure out how to make my fuction recure but I have no luck at all. What the program must do is the Koch system or rather the replacement rule, where by everytime the fuction recurs, … Software Development c++ | |
Hi all, i'm pretty new to java applets and been struggling to embed it into a webpage. I made a java applet using eclipse, and ran it using eclipse's applet viewer just fine. However i cannot embed it into my webpage. I placed the jar file i exported from the … Software Development java | |
[CODE]************** TURN 1 **************** | | | | | | a | b | c j | k | l r | s | t __ |___| __ __ |___| __ __ |___| __ | | | | | | d | e | f m | W | n … Software Development c | |
How to calculate the sum & product of dis-similar numbers of an array[10]. i do have a code but it stop working after a certain limit, so please help..... Software Development mathematics | |
I have this snake game I keep talking about and I added in a menu. now when I run the snake game the first time it works. When I press T to return to the title, it returns. When I click on the colored snake game after that the snake … Software Development java java-swing | |
Hi Friends, My client give me a project to modify, but when I load the project I got the error about [COLOR="red"][B]"LORTCHTX.OCX" [/B][/COLOR] and [COLOR="red"][B]"AGAUGE.OCX"[/B][/COLOR]. It says could not loaded... :angry: anybody can help me to solve this problem...??? [B][U][COLOR="Green"]I have attached the snap shot of messages i recieved while … Software Development visual-basic | |
Can VS generate "junk" data in a database for testing purposes? I could swear somewhere I saw it in a menu, but I can't find it now? Software Development | |
I'm trying to find a way to check for changes in a DataGridView. The gridview does not have a binding source because I am populating it based on some other information. Right now I get a NullReferenceException. It happens as the gridview is populated. I have marked the line where … Software Development open-source vb.net | |
Ok, I need to make a program that randomly generates 4 random letters from 12 random letter and it cannot reapeat the same letter. for example you can only pick from a,b,c,d,e,f,g,h,i,j,k,l and the program can randomly generate a,b,c,d or b,c,d,e but should not generate a,a,b,b or something that repeats.Another … Software Development c | |
Hello! Does anyone know how to set a progress bar? I am developing an audio and video converter manager. I wanted the progress bar to run 'til the process of the converting of file is finished. The converting time depends on the file size so I can't just set the … Software Development audio vb.net visual-studio | |
If Server A and Client B are chatting through sockets, and Client B requests a dataset of all accounts on the server it has access to, the server provides that data set to the client (through serialization and sending it over the socket) and the client modifys the data, say … Software Development client-server dataset | |
I'm reading a big csv file into a data structure defined as such: [CODE]struct PriceInfo { double Open; double High; double Low; double Close; unsigned int Volume; unsigned int Time; std::string Date; };[/CODE] So somewhere in my main function, I have this line: // read contents of datafile by overloading … Software Development c++ data-structure ![]() | |
I have placed thread is alive in a loop , so when the thread finish its work so i will start another work.... but this makes program heavier. is there any other method [code] while(thread1 is alive) wait getvalue from thread1 and start thread2 [/code] Software Development java | |
hey guys i am planning to program a website and a software that connects to the website and get information from the website..the web part is easy and i made it but for the program, is c++ good for such a program?? and if yes, which library do i need … Software Development c++ | |
Hi Is there any Bootstrap Manifest Generator available for Visual Studio 2010? If yes, then please provide the relevant links and details. Thanks in advance. [B]synaqvi[/B] Software Development vb.net visual-studio | |
We are asked to create a calculator but before I do that I must correct the codes given in order for me to know what I must add in my calculator but I do not know how to solve the "void cannot be referenced " error...how can I do that? … Software Development java java-swing | |
Hi Thanks for viewing this thread. Does anyone know how to display MessageBox at C# aspx pages? Sorry i cannot use MessageBox.Show() as it does not display it when i run it with IIS. Please ask me more question if you need to. Thanks for the help Software Development | |
Is there any class for information providing box when i bring mouse over the object in java. I mean when i bring mouse over the combo box it display information about that combo box I cant load picture, seems some error in picture loading area..... Software Development java | |
I have two text files containing multiple lines of text from a datalogger, and I need to compare the two files and save the difference into a third text file. ie.... text1: 10/13/01, 21:34:23, 4324 10/14/01, 09:12:32, 3423 10/15/01, 04:45:54, 7834 text2: 10/12/01, 43:34:34, 6453 10/13/01, 21:34:23, 4324 10/14/01, 09:12:32, … Software Development python | |
Hello. :) I am new here at the forums of DANIWEB and I hope to enjoy and learn more about programming software. I have a problem with a little application I am making. The idea is simple. It is an application that execute file (like double clicking the actual files) … Software Development visual-basic | |
I am confused! [code] void AnimationEngine::AddAnimationSet(Animation* animations) { AnimationSet* newSet = new AnimationSet(); for(int i = 0; i < (sizeof(animations) / sizeof(Animation)); i++) { for(int n = 0; n < animations[i].AnimationConditions.size(); n++) { //newSet->conditions is of type std::vector<std::vector<myType>> //animations[i].AnimationConditions is of type std::vector<myType> newSet->conditions[i] = animations[i].AnimationConditions; } } //Stuff unrelated … Software Development c++ | |
Hi, I have asked StackOverflow, compared my code to multiple different online sources, but I still cannot get the page status from the server. The library I am using is Wininet, and the function failing to retrieve the correct data is HttpQueryInfo. I am linking against wininet. Code: [CODE] int … Software Development c++ http-protocol | |
Hi, I would like to print star pattern in the following way - **** *** ** * main() int i; clrscr(); for(i=4;i<=4;i++) { printf("*"); getch(); } It prints starts like **** I don't know how to complete the program. Can anyone please do the complete program for this so that … Software Development c | |
Good day to everyone:) , i'm a new user here and i'm also new to Visual Basic , i'm having problems coding the codes myself. It's an assignment for me from school , after attemtping it for a few hours , I'm almost finish but i'm having trouble in the … Software Development mathematics vb.net visual-basic | |
Hello everyone, congratulations for the good job. The last 5 days i search for a comprehensible and simple, CPM algorithm and i can't find one. I want to make a program (in C++) that it will calculate the critical path of a given number of nodes..Any ideas? thanks for reading, … | |
I need help with my distance formula. pow is apparently not in cmath or math.h. Since I am a beginner in C++, I need some help with the distance. I did the floaters and everything, well I used a book. Beginning Math and Physics for Game Programmers by Wendy Stahler. … | |
I need to extract an integer value from the end of a string, and I'm a little bit lost on algorithm functions/classes in C#. Is there any sort of convenient class/function to help with this? Here is a sample string: "omaha nebraska weather 2400" Software Development algorithm | |
[CODE]main(){ char cChoice, cMarker1; printf("****************************************\n\n"); printf(" FLIP!-TAC-TOE 3D \n\n"); printf(" Enter S to start the game or \n\n"); printf(" E to exit! \n\n"); printf(" Choice: \n\n ", cChoice); printf("****************************************\n\n"); scanf("%c", &cChoice); system("CLS");[/CODE] this is the task:Display a simple introduction screen at the beginning of the game. After making a choice … Software Development c | |
Hi there, Im using c# i have a button save and a datagridview. I have textbox and binding navigator that gets the data from database1. Once i click the save button the data in my textbox save to another database2. Now i want to have a loop that continous get … Software Development | |
Hi, If anyone knows about the source code of [LIST=1] [*][U][B]Depth first search [*]Breadth First search [*]Best First search [*]AStar[/B][/U] [/LIST] Please give me the code. Thank you. Software Development java | |
Hey guys! I'm a bit new to java and I need your help. I do not need the WHOLE code for this program, I just want to learn how to do this. I just need to learn what should I use (loops, nested loops, etc..)and how should I do it. … Software Development java ![]() | |
I am reading a text file line by line using StreamReader.Readline(). After reading a line i have to check whether some fields of the line which is read are present in the rest of the file or not. What i am doing is that after reading a line from the … Software Development file-system vb.net | |
Can anyone help me with this syntax.. i made 3 forms. and i want form 1 & 2 inputs displayed in form 3.. this is what i made so far.. don't know what to do next Form 1 [CODE]Public Class Form1 Inherits System.Windows.Forms.Form Dim ID, sname, course1, year1 As String … Software Development vb.net | |
[code]import java.util.*; public class SelectSort { // instance variables - replace the example below with your own public int x; public ArrayList<Integer> a; public int n; public SelectSort(int b) { a = new ArrayList<Integer>() ; n = a.size(); for(int i = 1; i < n; i++) { SortNow(); //tried everything … Software Development java | |
for the past ten years i have tried without much success to program in c, c++, java and c# .net. my major problem has been inconsistency and lack of focus and direction. now, i want to start all over again with Python as my language of choice. what must i … Software Development python | |
Hi I am writing a football tournament sim and cannot get the main of my program to deal with the structures which are defined in the header. Here is the relevent code: header file [CODE] #include <math.h> #include <iostream> #include <array> #include <string> using namespace std; struct team{ string name; … Software Development c++ | |
I've seen many different answers to this...is it possible to have a constructor for a class that returns a value? Software Development |
The End.