132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for castajiz_2

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
Member Avatar for castajiz_2
0
322
Member Avatar for learncoding

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++
Member Avatar for learncoding
0
2K
Member Avatar for Fakeyede

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
Member Avatar for TrustyTony
0
286
Member Avatar for andreas.petrou.967

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++
Member Avatar for richieking
0
169
Member Avatar for merry gold

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++
Member Avatar for Schol-R-LEA
0
151
Member Avatar for andreas.petrou.967

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++
Member Avatar for andreas.petrou.967
0
150
Member Avatar for haider885

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++
Member Avatar for deceptikon
0
226
Member Avatar for bilal.saim

Hello Everyone, I need RMS algorithm for video in Matlab. Has anyone it?

Software Development algorithm
Member Avatar for phorce
0
178
Member Avatar for andreas.petrou.967

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++
Member Avatar for andreas.petrou.967
0
212
Member Avatar for Reverend Jim

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 …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
294
Member Avatar for sireiz

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.

Software Development android c++
Member Avatar for Ancient Dragon
0
141
Member Avatar for sankubha

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
Member Avatar for stultuske
0
121
Member Avatar for Denral

#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++
Member Avatar for blueshiftdani
0
187
Member Avatar for jax prajapati

write a program to delete a number passing specific position from your array

Software Development c++
Member Avatar for Vinayak_1
0
140
Member Avatar for micca.jhai

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
Member Avatar for Ferdielux
0
200
Member Avatar for mikewyatt

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 …

Software Development display java
Member Avatar for mKorbel
0
258
Member Avatar for lewashby

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 …

Software Development oop python
Member Avatar for Gribouillis
0
215
Member Avatar for Jokatech

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++
Member Avatar for Ancient Dragon
0
201
Member Avatar for missy_mi

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
Member Avatar for missy_mi
0
200
Member Avatar for johnson_2

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 …

Software Development c c# c++
Member Avatar for johnson_2
0
5K
Member Avatar for dodd7

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. …

Software Development c++ oop
Member Avatar for richieking
0
208
Member Avatar for Start4me

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
Member Avatar for Start4me
0
711
Member Avatar for lewashby

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
Member Avatar for TrustyTony
0
325
Member Avatar for thannu07

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
Member Avatar for Reverend Jim
0
189
Member Avatar for aroshkhan

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.

Software Development c c# c++
Member Avatar for Ancient Dragon
0
159
Member Avatar for davidw87

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 …

Software Development gui python tkinter
Member Avatar for vegaseat
0
476
Member Avatar for Waseemaburakia

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
Member Avatar for fonzali
0
217
Member Avatar for Bo_1

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
Member Avatar for Bo_1
0
251
Member Avatar for Phani_1

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
Member Avatar for L7Sqr
0
238
Member Avatar for rubeea.jaffari

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
Member Avatar for rubeea.jaffari
0
194
Member Avatar for Athiyarath

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
Member Avatar for G_Waddell
0
256
Member Avatar for Adeel Rahat

1. ***can any one send me a spimple c++ project.***

Software Development c++
Member Avatar for richieking
0
134
Member Avatar for MikeBah

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
Member Avatar for anas.man
0
192
Member Avatar for Deep Modi

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
Member Avatar for Deep Modi
0
214
Member Avatar for selfridgegirl

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
Member Avatar for ballrohit
0
159
Member Avatar for phoenix_2000

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
Member Avatar for phoenix_2000
0
188
Member Avatar for Ersin
Member Avatar for JamesCherrill
0
146
Member Avatar for MartinSoukup

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
Member Avatar for pritaeas
0
209
Member Avatar for TJuly

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
Member Avatar for KushMishra
0
160
Member Avatar for chase.lewis.3114

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
Member Avatar for KushMishra
0
206
Member Avatar for MartinSoukup

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
Member Avatar for KushMishra
0
497
Member Avatar for </scorpion>

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
Member Avatar for </scorpion>
0
2K
Member Avatar for lewashby

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
Member Avatar for lewashby
0
182
Member Avatar for Vickyurs86

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
Member Avatar for ObSys
0
143
Member Avatar for Allison_1

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
Member Avatar for JamesCherrill
0
357
Member Avatar for yann.bohbot.9

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 …

Software Development c legal
Member Avatar for yann.bohbot.9
0
146
Member Avatar for artemix22

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
Member Avatar for Sqiar
0
182
Member Avatar for JOSheaIV

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
Member Avatar for JOSheaIV
0
209
Member Avatar for Jokatech

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 …

Software Development c++ unix
Member Avatar for richieking
0
296
Member Avatar for simran_4

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
Member Avatar for simran_4
0
565

The End.