132,726 Archived Topics
Remove Filter ![]() | |
I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a problem but this one seems tricky. If impossible then please suggest something else instead. TNX Software Development programming-construct | |
I have a vector which contains class objects of classObjects vector<classObjects> classObjectVector; I am trying to use std::find to search for a record in my vector, but I get an error message error Invalid operands to binary expression due to this line. if (std::find(classObjectVector.begin(), classObjectVector.end(), "aElement") != classObjectVector.end()) { //found … Software Development c++ | |
Assume that there are n tyres that could be used by car, tricycle and bicycle. Write a program to accept n tyres and generate all the combinations (i.e. the number) of car(s), tricycle(s) and bicycle(s) that could exhaust the n tyres. Ensure that all the objects have fair share where … Software Development python | |
Write a C++ code which will display the following menu, ------------- Menu ---------- ----------- 1.Read a list of numbers. 2.Display list. 3.Save list to File. 4.Load list from file 5.Search for a given number in the list. 6.Reverse list. 7.Calculate the sum of the list. 8.Calculate the average of the … Software Development c++ | |
i have a project of constructing vompiler using C++ language. but i don't know how to make the lexical,syntax and semantic phasse and how to generate errors. can anyone help me? Software Development c++ | |
How to find this average for this programm read 3 grades for students #include <iostream> #include <string> using namespace std; const int arr_size = 30; const int name_size = 20; void f_name_s(char name[name_size][arr_size], int math[arr_size],int history[arr_size],int physics[arr_size],int& num_s); void display_arr(char dstuds[name_size][arr_size], int math[arr_size],int history[arr_size] ,int physics[arr_size], int stud_num); //********************************************************* void … Software Development c++ | |
I have same type of errors in my program please help me out.... I am just a Beginner in C++.... #include "iostream" #include <stdio.h> #include <conio.h> #include <stdlib.h> using namespace std; class form { private: char fname[20]; char lname[20]; char add[50]; char city[25]; int contact; public: form() { fname[20]='\0'; lname[20]='\0'; … Software Development c++ | |
Hello Everyone, I need RMS algorithm for video in Matlab. Has anyone it? Software Development algorithm | |
Write a C++ code which will display the following menu, -------- ------------- --- Menu -- ---------- ------- ----------- 1.Read a list of numbers. 2.Display list. 3.Save list to File. 4.Load list from file 5.Search for a given number in the list. 6.Reverse list. 7.Calculate the sum of the list. 8.Calculate … Software Development c++ | |
I've rewritten this question a half dozen times and each time it makes less sense. In a nutshell, I want to populate a listview with large icons representing image files but I can't get them to come out unstretched. They are always stretched along the x or y axis because … | |
I want to put a lot of searchable text in my software, What would be the best option for that, A database or file-Handling system? Platform will be Windows and Android. | |
am developing an desktop application ,for that am providing trial licence for 30 days.But if 30 days over ,if we change system date and time ,it will again back to the 30 days trial period ... how to overcome this... Software Development java | |
#include <iostream> int main () { cout <<"***\n"; return 0; } just an idea ... it is a short code but anyway it doesn't work (i just started c++ and i have dev c++ 4.9.9.2 c) cout isn't working Software Development c++ | |
write a program to delete a number passing specific position from your array Software Development c++ | |
greetings everyone!. I'm making Clinic system for my project. I just want to ask how to get the total quantity of the medicine and display it on textbox. I'm using using vb6 and adodc. Any help will be greatly appreciated.Thank you... Table name inventory fields: Medicinename StockQuantity Software Development display microsoft-access visual-basic | |
I am trying to retrieve a blob(2) from my newly created embedded database and assign it to the image icon of a jlable (and of course save it back to the database if the image has been changed or altered). I found the following code snippit from another site but … | |
In the following program how does the line `r.size = 150, 100` actually set the values using this line -> `size = property(getSize, setSize)`? property has two arguments, getSize & setSize, it seems to me that would only allow it so get one value and set one value. #!/usr/bin/python3 class … | |
Pls can some one help to debug this command interpreter. Can someone help, it complain during compilation. int main(int argc, char *argv[]) { int status; int pid; char *prog_arv[4]; /* Build argument list */ prog_argv[0] = "/usr/local/bin/ls"; prog_argv[1] = "-l"; prog_argv[2] = "/"; prog_argv[3] = NULL; /* * Create a … Software Development c++ | |
Hello. i use this code to print my vb page form : PrintForm1.Print() But only half of the page from the form is printed. i tried using this , code : PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeClientAreaOnly) Nothing is prinetd on the printed page. I got only a black page. What can i do … Software Development visual-basic | |
firstly I admit I am asking this because of my homework secondly, my c++ is still at a beginner level. so I need some help. ok..going back to my question. I am trying to remove a line containing username and password from text file. so I tried to following, 1)Read … | |
Hey Cplusplus community. I am a long time reader of these forum threads but this is my first actual post so please tell me if there is anything I should do differently in future. I am posting about a problem I am having with one of my OOP c++ assignments. … | |
Good time of day! I'm working on creating an Eulers Method Calculator program. The problem I got stuck on is I don't know how to convert the user's string into a Differential Equation (dy/dx). This is what I have so far: import static java.lang.System.*; import java.util.Scanner; class EulersMethod { public … Software Development java | |
I know python is an interpreted language but is there a way to compile your code? What if you write a program in python 3 and the user has python 2.x, or worse yet, doesn't have python at all. How can you create an executable via compiling or any other … Software Development python | |
hy i m trying to do a smal vb.net project using sql server 2008 in vs2012,and i dont know how to use those database in my project for eg : using select/insert/update/delete queriesfor my controls(textbox,combobox datagrids etc..) please help me with detail how to connect database and use it in … Software Development microsoft-access vb.net visual-studio | |
a salesman travel from sindth to punjab province. He may visit either n=2,3,4,5 or 6 cities of punjab. For every number of cities n he may adopt different roots. Some roots will be longer and other shorter. Develop a Cpp program. | |
Hi i was wondering if anyone could help me, im wanting to when you click in a certain area it changes the background image thanks import Tkinter as tk from Tkinter import* import urllib import base64 def click(event): if event.x > 100 and event.x < 430: if event.y > 100 … | |
I'm trying to write a recursive functionthat receives a parameter n and returns the multiple of 5. Example: if we have 5 as the argument, the print out will be : 5 10 15 20 25 My code: def MultiplyRecursive(r): if r == 1: return 5 else: return MultiplyRecursive(r-1) + … Software Development python | |
![]() | Hello, I have a problem with a Form (EJournalF) that is activated unexpectedly and can't find from where. If I let it be Auto_Created in Project/Option/Font Auto_Create there are 2 instances at run-time, if it is listed in Available_Forms, only one instance is created. I have a MenyForm as Mainform … Software Development pascal ![]() |
Hello I havea simple requirement, But I do not know to execute in ksh. Here is the reqt. I have aseries of jobs that has to run in certain order -First, Run- nuphup Task1.sas & and nohup Task2.sas & parallely(simultaneously) -Second- Wait till Task1.sas and Task2.sas is complete (RC=0) -Third-When … Software Development shell-scripting | |
Can someone please rectify the mistakes in the following code? Thanks in advance #include #include #include #include "org_suhail_keylogger_HelperClasses_NativeMethods.h" #include "KeyMap.h" static HANDLE hookThreadHandle = NULL; static HHOOK handleKeyboardHook = NULL; static DWORD hookThreadId = 0; static jmethodID callBackToDeliverKeyStroke = NULL; static jmethodID callBackToStoreKeyStrokesAsHtml = NULL; static jmethodID callBackToStoreWindowName = NULL; … Software Development c | |
Iv 10 Tables consisting of atleast 10 fields each in a single Database. Bt, Im only able to connect 1 table at a time to a form using an ADO Control. Im able to add data from table 'student' to textboxes in my form. Bt, hw can I add data … Software Development visual-basic | |
![]() | I've been given the following instruction: *Add a new method to the library that applies a function to every value in the tree. (This is an iterator method for trees.)* int bst_char_iterate(bst_char *t, char (*fun)(char item)) *NB: The BST property will only be preserved by this method if the function … Software Development c |
I already created application, now I want to add the "Submit Software/image/etc page", So i am having my own website in weebly which allows me only 10MB per File, and also I am link with mediafire, 2shared, 4shared etc hosting service, But what i need is that the user can … Software Development vb.net | |
hey all!! i m making a program in which i want to search record by name, year and, enrollment no. my code is working only for the first record of a file , its not usfull for second record or any record after the first record i've tried toooooo much … Software Development c | |
Heya all, Right now, i'm working on a small, text-based game, but i'm a bit confused about how to get my coupeling right. at the moment, i have 5 classes: an Item class, an inventory, a player, a room and a 'game' class that loads the game. The game class … Software Development java | |
Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as … Software Development listview | |
I have 2 Pages (Listing and Entry) using Master Page. Firstly I am in Listing page. When click the 'New' button in Listing Page, I go to Entry page below. Server.Transfer("~/Job/JobCodeEntry.aspx"); In the entry page, I use User Control for Multi FileUpload. Whenever I upload, I got this err. Help … Software Development algorithm | |
Teaching myself Hiragana. I've figured out how to type in Japanese using Microsoft IME so i'm getting the characters into the program (somewhat painfully since switching back and forth is a bit of a pain), but my issue is the console doesn't seem to support japanese. My ide (visual studio … Software Development gui ide visual-studio | |
Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as … Software Development listview | |
How to check if startdate and enddate overlaps when changing date in datetimecontrol? (C# or SHAREPOINT)pls. is there anyone who knows how to check if dates are overlapping? this is my gridview: | ID | cost | start date | end date | status | --------------------------------------------- | 1 | 66.00| … Software Development sharepoint | |
class MemberCounter: members = 0 def init(self): MemberCounter.members += 1 # m1 = MemberCounter() # m1.init() # MemberCounter.members -> 1 # m2 = MemberCounter() # m2.init() # MemberCounter.members -> 2 # m1.members -> 2 #m2.members -> 2 # m1.members = 'Two' # m1.members -> 'Two' # m2.members -> 2 In … Software Development python | |
Hello All, I would like learn Java from basics as I am not from IT Domain. Its a new platform me but I have some great oppurtunity if I will learn Java. Please let me know the best way to learn Java for Non-IT Domain. Please note that I have … Software Development java | |
Task: Write a program that calculates the mileage and/or cost of fuel by asking the user to input two cities. It only works for two places and not all three, why? How can I put just the name of the location instead of inputting the numbers? package Winterproject; import java.lang.Math; … Software Development java | |
Hey everyone, I have a code here with me and I'm having trouble putting my conditions. I'm basically putting a string and I have to split it into 4 and atoi to change a char to an int but basically when I run the program failed. It tells me "Ordered … | |
i am so confuse dude.. why in my visual studio 2010 ultimate didn't show crystal report gallery? after i click "add new item" and add crystal report, it just show me SAP page that say "learn and download". i have install SAP crystal report runtime engine for .NET framework 4(32-bit). … Software Development vb.net visual-studio | |
Alright so here's a good one for you guys. Long story short I am trying to create a .bmp file out of a byte []. Now I have code that will convert a byte [] to an Image that I then save to a file, but this doesn't work. Why? … Software Development file-system | |
A program which has the main process as Director process, which reads a file containing marks of all quizzes of all sections and creates x number of Manager processes. Each Manager process will take care of solving for a section. Each manager process will create y number of worker process … | |
Hello all, I am stuck with a nullpointerException at line 41 and 60.Can someone please help me out.any kind of help will be appreciated. Thanks import javax.swing.*; import javax.swing.event.*; import java.awt.Color; import java.awt.*; class calenders extends JFrame { int i=0; int j=0; int k=0; JFrame jf; FlowLayout fl; JPanel jp[]; … Software Development java java-swing |
The End.