132,726 Archived Topics
Remove Filter ![]() | |
![]() | I am getting an error during the build stating: "Illegal call of non-static member function" and I cannot figure out 1) what does this mean, or 2) how to resolve it. For detailed clarification, I will type out what the assignment was (I say was because the assignment was due … Software Development c++ mathematics oop |
[CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. int size; int grow_size; int num_elements; Datatype* m_array; public: //Constructor. Array( int p_size) { m_array = new Datatype[p_size]; size = p_size; } //Destructor. ~Array() { if( … Software Development c++ | |
how would i go about putting each number button 0-9 into one piece of code and then call it in the click_event Software Development c# | |
Today, I am going to take a break off from other software and take a review on one of the .NET component; I would call it [URL="http://www.e-iceblue.com/Introduce/excel-for-net-introduce.html"]Spire.xls[/URL]. The product title says it all, the main purpose of having this software is to enable developers/programmers to fast generate, read, write and … Software Development asp.net data-protection pdf | |
Hi Folks :), I need your help:?:, I am getting segmentation fault for "delete bptr_1" ( please refer program written below and line number 46 ). If i remove statements "delete dptr;" (@line 32) inside try{}, then the program executes otherwise it will give error. Could you please tell me … Software Development c++ | |
Good day vb.net programmers!. I have here a combobox1 named choosename in form1. then i have a 10 textboxes named answers in form2. I want that if i choose from the combobox1 the textboxes answers of form2 to will link to it. and it save into my sql database. can … | |
Hello there VB6 masters, I need you help guy for this compile error: End with without with. I got the syntax in line no.33 Thanks in advance! [CODE]Private Sub cmdSearch_Click() Dim sql As String With rsLibrary If Trim(Combo1.Text) <> "" Then If Combo1.Text = "All" Then txtTitle = "" txtDirector … Software Development visual-basic | |
How do i convert the list ['T','h','i','s',' ', 'i','s'] to ['This','is'] Software Development python | |
Hello friends.... I have to check the folder path in such a way that c:\Pooja\[COLOR="red"]dynamic_folder[/COLOR]\Output.txt From Pooja folder how will I be able to move to the text file since the dynamic folder can be anything and I want to move inside the dynamic folder... is there any way... i … Software Development vb.net | |
Hi mate, I am doing a mini program in java that let us look up word as a dictionary. I tended to use database to store words and their meanings, but my teacher suggested me using file (or xml). I chose using file (write a vector to file). Can u … Software Development file-system java | |
I am working on a project where I need to open a .pps file using Visual Basic 6 (which I have done already). I need to change the slide transition according to input obtained from a serial port that will keep changing during the execution of the VB project. Please … Software Development visual-basic | |
Hello: How can I improve on my function template to also do insertion sort on strings? I'm afraid I'm very new to templates, any hints appreciated. Template looks like so: [CODE]template <class T> void insSort(T arr[], int size) { T key = arr[0]; int j = 0; for(int i = … Software Development c++ | |
Hi everybody, I just start lerning C I'v heard a lot about pointers but not really sure were to put them. (or may be I'm wrong may be I just made some mistake) pls take a quic look. [CODE]/* This program will delete all simbols * from s1 that s2 … Software Development c | |
Hi hwo to write total of 10 first setences (C languege) -1,+2/3,-3/5,+4/7,-5/9,... Software Development c | |
Can anyone give me an example iniitialing a non zero value using arrays If u cant give an example pls dont respond.Thanks:) Software Development java | |
Hello, I have two projects in this solution: ProjectA and ProjectB. ProjectA is the main start-up project, and has a reference to ProjectB. ProjectA has a file called MainForm.cs, which contains a textbox and the main UI. ProjectB has a class inside Shapes.cs, containing a particular structure we're using. Shapes.cs … Software Development | |
hi guys i need some help with WinAPI i will like to learn. what it is about and it relation to c# \ Software Development | |
Hello, I am just starting out in a basic C++ class and am having some trouble with this problem for class. Any help would be seriously appreciated. In the program, I have to use an input file that includes the name of a college, where the college is located, the … Software Development c++ file-system | |
i am using a java program and i need to store two sets of data (radius and thickness) there are elven of these i need to store. my question is firstly how to store these into an array without having to do user input each time. then say i need … Software Development java | |
Hi all, i am using vb 6.0 and oracle sql*plus ...........i need the code for ....when the car name is selected in the combo box it's corresponding purchase cost should be displayed in the text box..........and i have connected this to the database through ADODC connection pls help me ASAP … Software Development display oracle visual-basic | |
hi everybody my problem is when i set timer for ftp to send me a file , the keylogger doesn't log or save any text in log file , i face this problem just when i set timer for ftp otherwise it work fine i mean without timer i set … Software Development api c++ windows-api | |
How to make setup wizard for my application which needs to have adobe reader. How to put the adobe exe to the same setup, then install my application start install and adobe.exe? Software Development adobe | |
I'm trying to get my JPanel (JFrame?) to resize itself to fit randomly drawn shapes. I have a shape superclass and right now I'm working with my line subclass. Everything is working fine except I can't figure out how to make the shapes fit the size of the JPanel. Should … Software Development java java-swing | |
How does one simply make a mutator or setter for an array of strings? I have made a inspector or accessor but cant seem to figure out how to make a mutator. much appreciated. Software Development c++ | |
it involves using a static array to build and hold the coefficients values and evaluate and analyze them as well as to export the results to an external file such as a text file here is what i have so far any help would be appreciated. [CODE] import java.util.*; import … Software Development java | |
Is there anyway I can specialize JUST the Contains function of the class below? I tried for hours and cannot figure it out as I'm not too good at specialization but I learned templates recently. I want to do something like: [CODE] bool Contains(string ToFind) { //If typeof(T) == typeof(string) … Software Development c++ | |
Hi, I am trying to put a dll to GAC. The assembly is signed. 1.I tried draging and droping (nothing happens) 2. I tried command gacutil /i abc.dll, from visual studio command prompt. It says Assembly successfully added to the cache but when I open windows\Assembly folder, I cant see … | |
Hey guys, learning about multi-dimensional arrays and am tracing a code that my teacher gave us, but I'm failing to see or conceptualize it. for instance: Why does the following code output 3? [CODE] int a[2][4][2] = {16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1}; cout << a[1][2][1] << endl; //output is 3 [/CODE] How are the … Software Development c++ | |
Waaah, i got a project, but I can't get it write, i'm not bad at programming but,it's just happen my professor is really busy. teaching is just his part-time job. I can remember we stop the discussion somewhere introducing objects.. but haven't really discussed about things lets go back to … Software Development business-entrepreneurship java | |
Hey guys, I'm trying to get my code to compile. I have 3 files: a header file, a cpp file for my main function and another cpp file for my other functions. When I try to compile my cpp function file, I get the error Undefined reference to 'WinMain@16 and … Software Development c++ ![]() | |
I try to match 01010 with /010/ but there is one return ([B]010[/B]10) for this match. There are actually two match (010-is common-10) in that string with regex. I used /010/g but againit returns just one match. Is it possible to match this regex twice with such string? | |
i have this problem : Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information. ... the button used to delete record in my project is button6 at the end of the code my code : [CODE]Public Class Form1 Dim … Software Development dataset open-source vb.net | |
Hello I built a personal 2D array for my current project. I also store these arrays (called Matrix) in a std::vector. The matrices are 24*181 and currently I sue between 30 and 50 of them. I don't think project details are relevant however I'm getting 3 errors which I have … Software Development c++ | |
Hey guys I got a problem, my program is suppose to take 10 numbers or grade scores and output the max, min and avg. score. My program writes out the max and the avg, although the avg dosent come out correctly because i am not getting a min for a … Software Development java java-swing | |
Hi I have a file with duplicate records they look something like this: [ICODE]<record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> <idref>R04607297</idref> <reflink></reflink> <type>Article</type> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>651</num> <author>Bent, E</author> <title>ENTRANCES AND EXITS</title> </record> <record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> … Software Development shell-scripting | |
hello! i have shifted my application from mssql server 2000 to mssql server 2005 , now the prob is the command object is not returning the recordset if command text is stored procedure , here is my code please check it and guide me through errors . [ICODE] dim cmdsp … Software Development mssql sql visual-basic | |
Hi all... I have been trying to read a huge file of size around 7 GB. It looks like impossible task now.. The file looks like this: [ICODE] CITY0_084989053<tab>hdewhiuewf CITY1_000989090<tab>AACGTACGT CITY1_000989090<tab>GTACGATAH CITY2_643274032<tab>kdijadadsail CITY3_004498906<tab>Adjbsajdada CITY3_004498906<tab>Adjbsajdada ...... [/ICODE] I expect an output like below with only duplicate left side records. [ICODE] CITY1_000989090#1<tab>AACGTACGT … Software Development c++ file-system | |
Is it possible to loop an if-else statement? How would such a thing be coded. Basically, this code allows the user to enter a value for a month. If it's not from 0-12 it asks the user to enter a new value. How could I get that to go through … Software Development c++ programming-construct | |
[CODE]<input type="button" onclick="javascript:fnnSaveChanges()" onblur="lsTest=0" onfocus="lsTest=1" value="OK"> <input type="button" onclick="window.close()" onblur="lsTest=0" onfocus="lsTest=2" value="Cancel"> </td> <td class="clsTableElement" align="right" nowrap=""> Selecting 'Save' in the Main Window is required to Save the new settings. </td>[/CODE] i've tried [CODE]WebBrowser1.Document.All.GetElementsByName("OK")(0).InvokeMember("click")[/CODE] but i get value of 0 is not valid for index. index should bebetween 0 and … Software Development vb.net visual-basic | |
I bet most of you in here have seen the old movie "Wargames" Im wondering how would you go about programming an AI like WOPR that learns from itself? Lets take an example in chess *Which he loved* He would make simulations of a chess game, if he lost he … Software Development c++ | |
Hello everyone. I'm a new member here but have an issue that I've searched and searched for and just cannot figure out how to resolve. Based off of the issues that I was able to correct, Daniweb seemed like the best place to ask. I'm making my first attempt to … Software Development c++ | |
I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2 computers. So far … Software Development c socket-programming ubuntu | |
Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running?? Software Development vb.net | |
Hello there, okie, my problem today is i i have all this names, [CODE]John, Dave, Steve, Kevin,Andrew,Scott,Colin,Timothy,Zenon [/CODE] and i have to sort them using insertion sort, i can sort number using insertion sort with no probs, but when it comes to strings, and stuff, i get lots of problems. … Software Development c++ | |
I am trying to figure out this one out. The directions: Write a class named car in the following fields: [LIST=1] [*]yearModel - The yearModel field is an int that holds the car's yea model. [*]make - The make field references a String object that holds the make of the … | |
My methods dont seem to be working for example void Resize doeznt do anything. AM i using it in the wrong way oris the method faulty. [CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. … Software Development c++ | |
Hey guys, I have the assignment of writing the Towers of Hanoi program then testing it. I already got help measuring the time of the program, but that is not what my professor wanted he wanted to count the iterations. I can't get it down, my program will run but … Software Development java | |
Below i have my Main class and a MortgageCalculation class I am trying to modify my app to do the following: "Modify the mortgage program to display 3 mortgage loans: 7 year at 4.35%, 15 year at 4.5 %, and 30 year at 4.75%. Use an array for the different … Software Development java user-interface | |
I am using jasper report (ireport for designing). I want help regarding to set [B]relative path[/B] of the [B]images and jar[/B] files for report... As the jasper report pick up the [B]absolute path[/B] so it create problem when the drive is changed or even pc is changed... Kindly please help … Software Development java |
The End.