132,726 Archived Topics
Remove Filter ![]() | |
Incase you wanted further information, I used a tutorial from here to try this method of lens correction out from here: [url]http://www.aishack.in/2010/07/calibrating-undistorting-with-opencv-in-c-oh-yeah/[/url] I seem to be getting this error when trying to build the code below. (it is all self contained so if you have openCV installed and linked etc … Software Development c++ | |
Can anyone help! have 12 hours before must turn in this project and still getting errors, but got htem down to one. Here it is: F:\CPT244\Programs\Tests\Chapter 13 & 14 Test\Lab 1\FlightListMain.java:54: cannot find symbol symbol : constructor Flight(java.lang.String,java.lang.String) location: class Flight Flight target = new Flight("Detroit, MI", "Miami, FL"); ^ … | |
Hey guys I'm really stuck in this very urgently needed solution, been working for 3 weeks plus and still can't come up with a working solution! Help needed asap. [U]ISSUE:[/U] The problem is simple. I have 2 PCs. One is 'master', second is 'slave'. On 'master', I have my .NET … Software Development vb.net | |
this is a quick sort function that receives a singly linked list and a function pointer that is called before it has to be done recursive function. this is what i have so far [CODE]template <typename T> void quicksort(SinglyLinkedList<T> & A, bool (* before)(T &, T &)) { typename SinglyLinkedList<T>::iterator … Software Development c++ linked-list | |
Hi all, Im getting the following error when i try running the attached applet: java.security.AccessControlException: access denied (java.net.SocketPermission localhost:8080 connect,resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown[/url] Source) … Software Development http-protocol java | |
This is for a final project that in which the project had to contain at least, 1 loop, a class, an array, and file. Im just looking for ideas has to how i could in corporate an array and a file. One idea i had for the array was to … Software Development c++ | |
Using FPS IDE with FPC compiler on windows xp. | |
Hi, Trying to write some C code for an assignment using a PIC16F84 for a digital watch/alarm. RA0 to increment time RA1 to decrement time RA2 set-move to next digit RB7 set time/alarm RB6 enable/disable alarm 1. press RB7 once to set time. 2. press RA0 or RA1 repeatedly until … | |
Hey guys i have a weird problem but its probably something small. i have a hang man program that has no errors. i am using netbeans to compile my project but when i run it it nothing come up or prints out. i don't know what im doing wrong because … Software Development java java-netbeans | |
Hello, I’ve just about scrambled my brain on this, searching and trying things, so I’m hoping someone sees something that I’m missing or can explain it to me. I’m new to .NET, used to do a lot of programming in VB but that was many years ago. I mainly lurk, … Software Development vb.net | |
I am trying to run this program in python 2.7. But get an error Traceback (most recent call last): File "C:/Python27/Rpg1.py", line 95, in <module> p = Player() File "C:/Python27/Rpg1.py", line 25, in __init__ Character.__init__(self) AttributeError: class Character has no attribute '__init__' When run this pragram can someone help me … Software Development python | |
sequence is a string, and gene is the the word that i gotta find.. im new to python.. and so far i got this: the list always ends with a -1 at the very end...how do i get rid of that.. [CODE]def find_genes(gene,sequence): list= [] count = sequence.count(gene) find = … Software Development python | |
this is my homework , and i have some code but please can you help me to fixed my homework please.... The purpose of this exercise is to give you practice with abstract data types, namely structrures and arrays of structures. Write a program that simulates a soft drink machine. … Software Development apple c++ data-structure | |
Hi All, Im trying to Insert a new row into a database and refresh the dataset. This is what I have so far: [CODE]void ButtonInsert(object s, EventArgs e) { string connectionString = null; OleDbConnection connection; OleDbCommand cmd = new OleDbCommand(); string sql = null; connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;data source=Book.mdb"; connection = … Software Development dataset microsoft-access open-source | |
compute recursively the number of times that sub appears in the string, without the sub strings overlapping. str_count("catcowcat", "cat") returns 2 str_count("catcowcat", "cow") returns 1 str_count("catcowcat", "dog") returns 0 please give me some idea to solve this problem [CODE]int str_count(string str, string sub) { int len = str.length(); int s_len … Software Development c++ | |
What does the substring function do? The answer i found online doesn't seem to be accurate. I thought that it reads the (#) index and everything after, but I guess that is wrong. The other functions that look wierd are already part of a class, i am just confused on … Software Development | |
compute recursively a new string where adjacent characters that are the same have been reduced to a single character. So "yyzzza" yields "yza". You must not use loops. Here are some more examples: string_clean("yyzzza") returns "yza" string_clean("abbbcdd") returns "abcd" string_clean("Hello") returns "Helo" please give me some suggestion. Software Development c++ | |
i have creaed a loop that lets the user creates a file then copy a file to it and also allows the user to add more than 1 file to be copied. the problem that i found out is that when the progam goes back round the loop it drops … Software Development c | |
Hi there I am building a 3D game in C++ and openGl I came to do a full test of my game the collision detection and things are finally approaching working fully. When I run it it becomes very memory hungry and eats a few Gb of Ram and crashes … | |
Hello everyone, I have been programming in C++ for a while although I am not an expert yet, I would like to take a small break and learn another programming language that's a tad easier and I decided on Delphi. I looked for the stuff I need to no avail, … | |
I"m having trouble with this code can any help? I am trying to find the average, mean, standard deviation #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; void Fill_Array(int Size[], int& count); void Print_Array(int Size[], int count); double Calc_Average(int Size[], double average); void Sort(int Size[], int numbers_used); … | |
hi guys i am new to java and i barly learning i got some slides that teachs java from the start i started good at declaring values like ingers, strings, etc.. and made simple programs that counts sum of two numbers and the avarge and now i am stuck at … Software Development java | |
Hello! I am new to programming and c# and im trying to create a application that will guide you through a school with pictures. So you would be able to press forward, backward, left and right and it will lead you to a new picture. What I dont understand is … Software Development | |
Hey, I was just wondering whether it is possible to do multiple tasks in a console application at the same time. Like lets say if a program reads user's input and displays output at the same time, can the program carry on displaying output while it waits for user's input … Software Development c++ | |
I am having a problem getting this program to run. I have tried all I can but it keeps telling me It can not find the IndexList and it is here. You see it. Maybe part of the code is missing something I am not sure. Help Please Due in … Software Development java | |
i wann multiply two matrix but the part of given code is not working...i wanna input the value from the user using pointers.. [CODE]#include<stdio.h> #include<conio.h> void main() { printf("This is matrix multiplication program"); printf("\nEnter the dimensions of two array "); int Row1 = 0, Col1 = 0, Row2 = 0, … Software Development c matrix-multiplication | |
Hello, Why break function doesn't work at that code ?: [CODE]double Number = 0, counter = 0; // declare here. for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); Number += double.Parse(Console.ReadLine()); //keep incrementing number /*If user write number 0 in console before … Software Development | |
Hello, I'm doing a full traversal of a binary search tree structure looking for a node by a field that is not the sort key. If the node i'm looking for is the root node, no problem. If it's any other node then the function has a Seg Fault. Anyone … Software Development c++ programming-construct | |
hi, i'm writing a snake game and so far i've gotten nowhere, not even to moving the hashes i'm calling snake, and that's what i'm gonna discuss now i know i don't clearly have an understanding of threading for animation but before this i've done lotsa stuff like bouncing frames … | |
I am tring to improve on my bubble sort to make it more effiectiant. Anyone have any idea on how I could go upon doing this? [CODE]using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //Variables const int MAX = 20; int[] … Software Development | |
I dont know what to do ADDING ELEMENT.first selection in the main menu....pls help me... A cluster is defined as a collection of different elements. A and B, including two sets of integer elements that are required for a program to perform certain procedures on the sets. To do this, … Software Development c data-structure | |
I would like to know the exact difference between calloc and which is more useful?? Though calloc allocates memory in the form of blocks and malloc in a single block , do they both allocate memory continuously and if there is an obstacle , would calloc be able to jump … Software Development c | |
i got this exercise and i wrote this code. [IMG]http://img42.imageshack.us/img42/8331/37255827.png[/IMG] i have a problem with the bubblesort part becouse it thinkes it's void pointer. i don't think i nedd to write the program 8 times there must be a way tnx a million [CODE]# include <fcntl.h> # include <stdio.h> # … Software Development c ![]() | |
Hello I need to stretch a bitmap image, i currently have a BMP file displaying in the form but it is only a few pixels big, i need to stretch the image to fit the form. this is my current code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … Software Development | |
I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks | |
I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual … Software Development vb.net visual-basic | |
i have a problem with my coding to fing wether given string is palindrome or not without using strcmp(); and srtrev(); it returns "the string is not a palindrome " for all string the [CODE]#include<stdio.h> #include<string.h> void main() { int n,i,j; char a[100]; scanf("%s",a); n=strlen(a); printf("the length ia%s,%d\n",a,n); while(i<=j) { … Software Development c mathematics | |
How can I get a numerical value from a string? I am using the command "getline" to store a string. I want the user to be able to enter "assign 8 strength", right now they have to type "assign strength" over and over until they run out of points. Is … Software Development c++ | |
Hey guys, I seem to always come back here for help because you guys are amazing. Alright, I need an alternative to ReadProcessMemory for a 4th year University project. I've tried googling for hours and I continue to fail. Hope you can help. Jeff Software Development c++ | |
Hi Everyone, I'm using MS Access as the database and using a command builder. .GetInsertCommand get the correct insert command text but .GetUpdateCommand gets the wrong command text. It even returns a primary key value of 1 which is not the actual value it should be. In order to get … Software Development vb.net | |
how do i display a histogram that is horizontal to vertical without using arrays. from: 0-29 **** 30-39 ** 40-69 * to: where the stars * in the catergory (0-29,30-39,40-69...) goes downwards not across the screen: Software Development java | |
how to produce output without console window in c code? using dev c++ as compiler.say i have a prog. and it produces the output in console window as well as in text file. now i wan the output only in dat file not in console window. on executing the exe … Software Development c | |
I'm finding issue with my current program. I built the program so that it reads an input code from a file and it is also supposed to display only the code's appropriate salary. However, for some reason, everything I've tried only results in all the salaries being pulled together, not … Software Development c++ file-system ios | |
Hi All, I want a C programme which will take a user input as a date and number of days, and then it will add the given number of days to the input date and will give the resulted date. It should keep in mind all the permutation and combinations … Software Development c | |
well,I got some fundamental programming knowledge in C# and some Visual Basic. Inheritance,Arrays,Loops,DataBases,and create library files in VB.NET,create classes in VB.NET and ,create properties and methods and some other things. currently I follow Ivor Horton's Visual Studio 2010 and I feel it may take years to study the whole 1000pages< … Software Development c++ gui opengl visual-basic visual-studio | |
My whole program works completely fine ~400 lines of code including comments, but I have this at the bottom of my code. This is the last bit of code in my java program... Is this okay to have, if not what should I do instead. [CODE] private static void End() … Software Development java java-swing | |
i need to send the xml data to [url]http://developer.uidai.gov.in/auth/demoapp/9/9[/url] server but i got 510 as the error code can any one help me what is the problem i am using curl Api cpp function call has made like follows [CODE] int main() { HTTPClient* object=new HTTPClient(); object->SetUrl("http://developer.uidai.gov.in/auth/demoapp/9/9"); o->GetUrl(); o->AddEncodedPostField("input","test1.txt" ); … | |
Hi new to the forum, so go easy :) Im very new to Java and im a little stuck... I have to create a program which uses classes and objects, all of the objects need to be stored in 1 array. So, i have a super class called Student then … Software Development java | |
Hi) Tell me, please - why why this method doesn't work? - [CODE]private void MapForm2_Load (object sender, EventArgs e) / / loading the map. { Color redColor = Color.Black; Rectangle r1 = new Rectangle (1, 2, 35, 35); }[/CODE] thanks in advance) Software Development | |
Hello, dear Programmers! Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))? Thank you for your answer) Software Development |
The End.