132,726 Archived Topics
Remove Filter ![]() | |
Hello I have an array in a function that I am trying to copy into a private array named pic_links although I am getting an error, it wont let me copy the array into another array. Do you know why? :) Error message: [QUOTE] no matching function for call to … Software Development c++ | |
Hi every one :) Well I wrote this code for deleting the pointers, and it compiles and runs. But at the end of the run it comes up with an Debug Assertion failed. WHY??? [CODE]#include <iostream> using namespace std; int main() { bool boolVar = true; int intVar = 50; … Software Development c++ | |
I am trying to populate an MS Access table using VB.Net through a connection string everything else seems to work except when I try to add a new row. I get this error: OleDbException was unhandled Syntax error in INSERT INTO statement Here is the code [code=vbnet] [Dim MaxRows As … | |
Hello, Anyone can send me c++ program for Testing LED Blinking which is attached in serial port. It will be simple ON or OFF Program. Actually I want to send data through the serial port (com1/com2 port). But at first i would like to test by using LED. Thanks in … Software Development c++ | |
Feeling a little bad, two questions from you guys in a week! So I am about to embark on a project including Point of Sale, Inventory Management, Client management, (quite in depth). The difference is any information regarding Clients will be stored locally throughout the day and then uploaded to … Software Development client-server postgresql | |
[CODE] void highscore1() { ifstream readfile; int score; readfile.open("highscore1.txt"); while(readfile >> score) { score += 1; ofstream writescore; writescore.open("highscore1.txt"); writescore << score; writescore.close(); } readfile.close(); cout << endl; game(); } [/CODE] how to i read from the text file, highscore1.txt and do a +1 to the integer inside the textfile … Software Development c++ | |
![]() | |
This program is meant to read in strings, calculate the average word length then printout all the strings that are greater than the average. My issue is with the function in red, i'm not sure how to call it or make it work, it doesnt like the strlen parameter nor … Software Development c | |
I'm using Programming: Practice and Principles Using C++ and I've hit a roadblock. Chapters 12-16 cover GUI programming and require the use of the Fast Light Toolkit. Here is what I've done so far. If you need more information I'd be happy to provide. 1. Using Dev-C++'s "Check for Updates … | |
//Make an interactive program that will ask for hourly rate of the employee and the number of hours worked in a day. As DOLE mandates, more than 8 hours of work a day is considered OT (overtime) so the wage will be 1.5 * hourly rate after the 8 hours … Software Development c | |
Hi Everyone, I need some help. So I am given this code and I have to make the functions for revArray, *reveElement, and evenOdd. So far I have figured out how to reverse the Array and print it. But I'm having some trouble sorting the array. I'm supposed to put … Software Development c | |
hello friends, i am trying to use microsoft office document imaging library in my c# application to add OCR functionality to my application.However when i tried to run the following piece of code the compiler threw an error " Retrieving the COM class factory for component with CLSID {56F963EC-6EFC-4A6B-9A1E-5BFE545C89D0} failed … Software Development microsoft microsoft-office | |
Hello... Im a newb to both C programming and DaniWeb .. the prob is tht i try to compile this program in TurboC3 #include <stdio.h> #include<Conio.h> main() { printf( "hello" ); getch(); } when i press " alt+F9 " it says " Warning:: program should return a value" and no … Software Development c | |
hello How do I ensure that the same number does not appear more than once in my random number creator? Eg of output currently: [QUOTE] array = {30, 2, 12, 9, 2}; // has repeats [/QUOTE] Eg of what I am trying to do: [QUOTE] array = {30, 2, 12, … Software Development c++ | |
dear all am getting insert error, confirming my connectionstring is working properly and am working on vs2005 <appSettings> <add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|\data.mdb"/> </appSettings> =============== [code=csharp] using System; using System.Data; using System.Data.OleDb; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial … Software Development open-source | |
I'm working on a simple program to analyse some data and I'm having trouble making multiple passes over my file. I've been trying to do something along the lines of for(n=0;n<Nmax;n++){ while (! inFile.eof() ){ crap done here; }; }; however it won't do more than one pass over the … Software Development c++ file-system | |
hello! m new to java.i want to create an application that accepts length x width from combo box.there are 100 values.i want to draw a rectangle whose size will change for each value in a combo box depending on its length and width. which method should i use? can any … Software Development java | |
Hey everybody. I'm writing a program that simulates rolling two dice and adds them up, eventually printing out the number of times each possibility (2 - 12) was rolled. The number of times the two dice are rolled is specified by the user. The code I've got so far compiles, … Software Development c | |
Hey its me again i dunno this string stuff gonna drive me insane really been doing since yesterday exercises on string did half of them but i have this program which should remove chars that i specify and when i test with putchar it does remove them but The string … Software Development c | |
Ok, I have a program I'm trying to get to work, but I'm struggling to get right. I suspect its when it reads the data from the .txt file. I have to get the average of column 1 and the average of column 2, and get the highest of column … Software Development c++ | |
Hello everyone, I am trying to write a program that gives you 3 options: 1 for encryption 2 for decryption 3 Exits the program If option 1, my program will ask for a password, an input file name and an output file name. My program will then read the file … Software Development c c# c++ encryption | |
Hello team, We are working on speaker indicator, which is supposed to indicate the level of volume received from VLC player. I have worked on microphone, in microphone we can able to get the input buffer and according to that we are able to display the level of volume. I … | |
This what I have from my last assignment on creating a bank account. This is what i have to add for the next assignment and I'm lost. Can someone please help me do this!! Assignment: 1. Create 3 subclasses that inherit from the bank account class created in homework 3. … | |
I've been trying to figure this out for a few days, and my teacher can't really answer my question, as he is just as stumped as I am. Python is supposed to be pass by reference, but I keep getting pass by value when it comes to returning a bool … Software Development python | |
Hello, I want to know how i can build a program that reads what is in a parenthesis and print it using cout, but remember that i have to use this inserted a if method. Here is a sample of syntax: [code]test (test of output)[/code] Remember that this syntax is … Software Development c++ | |
I am given several coordinates on a 2D plane. These points represent the centers of circles of a constant specified radius. I've been working on a program that outputs all of the coordinates of the circles that collide. This is simple to do if I simply create a distance matrix … | |
Hello, I'm learning C++ and i want to know how i can develop a program that reads a file like a database, but the program don't know how many lines or columns the file have, and the file is like this: [CODE]"Name Test" "1901" "email@test.com" "John Google" "6673" "john@test.com"[/CODE] And … Software Development c++ file-system | |
I'm wondering if there's a way to open standard I/O as a stream, so I can write and read character by character. Something like [code] handle = open(stdio) [/code] Any ideas? Software Development python | |
hie i want the user to inset the email id in correct format. so i thought of using a masked text box. there are some predefined masks but none for email. plz help Software Development vb.net | |
I'm trying to make a menu in my c++ console program where a user can hit the up and down arrow keys and this will scroll through the menu options. I got this snippet of code that I could modify to make it do what I want, but its not … Software Development c++ | |
Hello There, Can anyone help me figure out how to get Winsock and the Windows SDK working with Netbeans? I am using the latest version of both the SDK(6.1) and Netbeans (6.5). I have downloaded the SDK but I don't know how to get the libraries to link to Netbeans. … Software Development c++ | |
Hi I'm novice in ubuntu , i'm using NetBeans IDE for j2me programming but i have a praoblem : emulator do not work !!! when i'll run program dose not work and this message is displayed : [CODE]java.lang.UnsatisfiedLinkError: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) … Software Development assembly ide java java-netbeans open-source ubuntu | |
so, I have a program that uses a keyboard hook, but starts it in another thread so that it can continue executing. The problem is, the only way I have to stop the mouse hook right now is to just kill the thread using TerminateThread(). However, this does not enable … Software Development c++ | |
Hi, I'm compiling C# code to memory and running it from there, now what I want to do is pause, resume, stop that same code running in the memory. I'm using this currently to run the code: [CODE] private void compileRunToolStripMenuItem_Click(object sender, EventArgs e) { Thread runCode = new Thread(new … | |
Hi I have a vector which contains a number of objects. Inside these objects are 2 attributes. the X and the Y coordinates. How Can I sort them from top to bottom 1st then left to right? e.g 0,0 1,0 0,5, 3,1 2,5 the output would be 0,0 0,5 1,0 … Software Development c++ | |
Hey guys, maybe I am just worn out today, but can somebody look at my IF loop (the first one for selcting 1-3) and see where I am going wrong? Everything else seems to be pretty good I think, but this is aggravating me to no end. Thanks [code=c] #include … Software Development c | |
Hi! :)))) I have to use sql connection to take queries from user by using textbox structure .How can I provide this .I don't find it anywhere . especially how can I connect sql and textbox structure together I do not know anything about this subject. I know c and … | |
A Sports Management Application is required to process the results of sports competitions (e.g. Asian Youth Games). You are assigned to develop a simple Java program to demonstrate the functions provided by the system. A sample of the result of a sports competition shown in Figure 1 below: Country Gold … Software Development java | |
Hi all, I hope you are well. I am in the process of building a small Java application that reads data in from a unicode text file (.txt) and processes it into a jTextArea. The trouble I am having is that the unicode file contains some Greek characters, most of … Software Development file-stream java | |
help plz....hi i wud like to know how to count each row of a datagrid and display the answer in a textbox. thks Software Development vb.net | |
hey all. this is (if i remember correctly) my first post, i have done alot of reading on this forum though and have found the info invaluable. my program is a calculater that calculates the amount of sheets of plasterboard and bags of plaster needed for a wall, firstly: have … Software Development c++ | |
This is the snippit im having a problem with. I've tried playing with the preferred size of both the JList and the JScrollPane with no luck/mixed results. I want to be able to size it to exactly 1 size so it never changes. [CODE=JAVA] import java.awt.BorderLayout; import javax.swing.DefaultListModel; import javax.swing.JFrame; … Software Development java java-swing | |
Hello, My problem is is that I have an area in the window for an image that is sized relative to that window. I want to place a panel below that image a certain distance from the top based on the height of image after resizing the window occurs(on idle … Software Development python | |
Can it be done in vb.net? I've looked online but haven't been able to find anything. If anyone can help me with this, I'd really appreciate it :) Software Development vb.net | |
Hi guys , i got a problem ,i have some radio buttons in my vb.net project and when i select one for the first question and go through the second question to select its answer the radio button changes to the latest one .. i want it to remain on … Software Development vb.net | |
Yes I'm quite noobish I've been learning C# by myself reading various material I can scrounge online but I've run into a small issue while trying to write a small program. I'm simply trying to use a menuitem as a toggle between various instructions. The basic idea is simply to … | |
Hi all C# experts out there, I'm currently working on a school project. When i use the Decrypt method from the Rijndael algorithm, i would run into a "invalid padding" error when decrypting. What should i do? [code=csharp] public byte[] Decrypt(byte[] cipherTextBytes) { // Convert strings defining encryption key characteristics … Software Development algorithm encryption | |
Hi Guys I am using C# to make an app that will read an excel file, edit the data and then generate a graph for me using said data. The program works well, but when I open the graph in excel it is incredibly slow and sometimes crashes excel. I … Software Development c# microsoft-office | |
hey there. thanks for all the help i have recieved from the people on this site! i have a new problem, one i could solve if i was using VB but im using C# and i dont really know what to do. i have data.... return1.MV TE244654.MV b43tgwg.sp 01.62 00.83 … Software Development |
The End.