132,726 Archived Topics
Remove Filter ![]() | |
I am trying to extract blogs related to economy using the RSS feeds in python. I have no idea how to get a specific number of blogs and how to get those blogs in a particular domain (like economy). My project requires analysing these blogs using NLP techniques, but I'm … | |
i have a rich text box that displays items.These items have column names.The column names are loaded when the form loads.They hold values as rows.These rows are appended at a click of a button (when add button is clicked). At the bottom,let me say i have another field(total amount) in … Software Development vb.net | |
i'm building a class with std::function for recive several parameters or none: class event2 { public: typedef std::function<void(...)> OnSomethingHandler; void operator() (...) { eventwithoutarg (...); } event & operator = (OnSomethingHandler Handler(...)) { eventwithoutarg(...) = Handler(...); return *this; } private: OnSomethingHandler eventwithoutarg(...); }; what i'm doing wrong with '...'? Software Development c++ | |
I am trying to run a shell script at a fixed time with the help of "at" command. But it doesn't seem to work. For example, I created a shell script named as "task" having content: vlc and schedule it to run at 21:52 with the command: $at -f task … Software Development shell-scripting ![]() | |
Hi everyone, please help me, i don't know how to insert a datepicker in VB4. I am trying to find something in the web, but there is no documentation about it. I will apreciate a lot the help. Thanks in advanced. Software Development visual-basic | |
i have three buttons and i want to disable a button until the first is pressed. Can anyone give me a clue, i guess is with if statements, but i don't know to do it. Software Development visual-basic | |
Hello to all! I've made this script the other day, and I need some input from you telling me how could I improve the code / style. There aren't problems with the code (it does the job) but I want it more organized and "simple" so that in 1 week … Software Development open-source python regex | |
Hello Community, I was wondering if there is a possibility to pass a dictionary to another program? What I want to do is send some information from one program to another, I want to use an array but I can't set keys and that is what I really need and … Software Development vb.net | |
I am writing a GUI flow using wxPython which has 4 pages (or more). They way I have approached is creating 4 (or more) classes with each class defining its own static (background) and dynamic images / content. In my application I would then programmatically create instances class required and … | |
see these sample: template <typename a> class test { test(a argument) { cout << argument; } }; //declare it: int main() { test<string> a("hello"); } how can i do it: test a("hello"); Software Development c++ | |
Hey fellow programmers.Im a new python programmer.Only been learning for about 2 weeks.Below is a code I wrote this weekend.It is a simple text adventure.tell me what you think of it.Feel free to copy and paste it into python and run it yourselves.I'm open to suggestions. #Text adventure v 2.0 … Software Development python | |
Hi to all, i need to implement ofstream outfile code. Here is my code.How can i implement the ofstream outfile to ,so that the contents of the collection are re-written to the file before the application terminates. #include "stdafx.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int list[12]; … Software Development c++ | |
I am currently working on a project that has a textbox I need to do a validation on. I want to actually do two validations: 1) Make sure it is an integer and 2) Make sure it is divisible by 10. I have done a lot of searching and have … Software Development vb.net | |
I'm trying to send data back and forth between two computers using a Socket (TCP). The data is in the form of serialized Packet objects. At an early point in the application, it must send 25 or so Packets of the same type to the other side. See Case 1 … Software Development socket-programming | |
Hai everyone. I am new to this forum. Can anyone tell me the scope of jobs in java for the nest 10 years. Software Development java | |
Hi eVeryone, Please help me on below code. I don't know what's the erorr mean. Error Message *test.c: In function ‘main’: test.c:12:2: warning: passing argument 2 of ‘tokenise’ from incompatible pointer type [enabled by default] test.c:5:6: note: expected ‘char **’ but argument is of type ‘char * (*)[100]’ test.c: In … Software Development c | |
Is there possiblity to send, 5 data(5rows) at one time to the sql database in vb.net2008 Software Development vb.net | |
I am using Turbo C++ 3.0. Things to be noted : 1.) I am very new to C++ 2.) I can only use the above said compiler. 3.) List, vector, functions, classes, file-handling, structures, templates and objects cannot be used in the program as per my assignment. Here's my Code: … Software Development c++ | |
I need C++ CODE for appending an int array passing pointer Software Development c++ | |
Hi all. I'm designing a Visual Basic 2010 forms app. I would like to create a login for this app so that unauthorized users cant use the app. Only people with a username and password can use it. I would like this login to act as a demo too. Explanation … Software Development vb.net visual-basic | |
Let's say that i have an array of objects. So, I need to delete the count objects starting at the given index. Make sure to compress myObjects and update currentObject. You must also verify that the given index exists in myObjects and that there are count entries starting from there. … Software Development java | |
I have already made a post on how to open a JPG file but I now plan to use GIF image files. Can someone show me a sample code example on how to open GIF image files whenever you click buttons on TKinter GUI in Python? Thanks. | |
Hello! I got a neaty tricky situation here.. I have a picturebox1 and listbox1 and a few items in listbox1. I got images in resources.resx (bmp) and want to load different images depending on what index is selected.. I wanted for it to be something like this.. Bitmap bmp = … Software Development image | |
I have a problem when creating the Personal Finance Software in my group. It's part of my group's assignment. The EnterExpense() function only creates one line instead of many (if the user wants to continue entering more info). The ViewInfo() function can read the file, but cannot load the text … Software Development c++ file-stream finance | |
So I decided to learn Python as my first programming language... So far I kinda like Python(when i say so far, I mean just now i started it just now), I'm using www.codeacademy.com as a tutorial(more on studying the basics first) and so I'm just wondering will I be able … Software Development python | |
I would like to know if there is a class wich generates RANDOM words which have sense(are in use in the daily language in englis). I am making a project where uppon a given random generated word i would like to collect letters for that given word so once i … Software Development | |
I was wondering if somebody could explain this to me. I am trying to find numbers that are NOT divisible by other numbers. Originally i wrote: if i%3!==0 however it came up with an error and said it was invalid syntax Instead my code now reads if i%3!=0 This works … Software Development python | |
Hello, I was revising for my exam and can't think what would go in this space... What do you guys think it is? Images can be stored as bitmaps. A bitmap is a description of the bits that make up an image. Each pixel is represented by a number that … Software Development | |
So my code to test a prime number is as follows: PrimeTest(): test = input ( "What number would you like to test? " ) test = int(test) true = 0 divisor = 0 for divisor in range (2, 10): if ( (isinstance( test/divisor, int )== True) & (test/divisor == … Software Development python | |
I want to uploade image and also want to store in database.Please anyone help me and tell me the code or share some link of uploading image. thanxx | |
Good day, I need help with my code. It's very simple and I was compiling it successfully at school, but at home I'm having problems with it. Here is the code. http://gyazo.com/dc78a310f529374338a244227b56215f and #include <cmath> #include <iostream> #include <conio.h> using namespace std; int main () { float a, b, c; … Software Development c++ | |
Write a program that will get/input 10 employees data, then input time started to work hours then minutes, then employee should input time finished work hours then minutes. then find how many hours 1 employee worked and the average time worked by all employees. use arrays. Software Development c++ | |
Does anybody know where I can find a c++ object oriented library for my c++ project where in short I can set each pixel on each frame to a specified color and saving the result to a .avi file preferably compressed. I know this sounds simple in theory but I … Software Development c++ | |
#include <stdio.h> #include <stdlib.h> double average(int arrx[6], int *ptr); int main(void){ int arry[6]= {2,5,4,5,6,7}; int count=0; double avg; avg=average(arry,&count); printf("The average is %.2f\n",avg); printf("Number bigger than average is %i", count); return 0; } double average(int arrx[6], int *ptr){ int c=0; int sum=0; double a=0; for(c=0;c<6;c++){ sum=(double)sum+arrx[c]; } a=sum/6; for(c=0;c<6;c++){ if(arrx[c]>a){ … Software Development c | |
I want to open an Instance of a form in MDI Container here is my code I just want an instance of a form to Edit records in the database Private Sub BtnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnEdit.Click Dim Emp As New Employee() Emp.MdiParent = Me … Software Development vb.net | |
Let's say that i have an array of objects. So, I need to delete the object at the given index and make sure to compress myObjects and update currentObject. Also, I have to verify that the given index exists in myObjects. This is what I got: NOTE: I will just … Software Development java | |
MSDN recommends disposing any variable of type System.Drawing.Brush before its last reference is released. Otherwise, the resources it is using will not be freed until the garbage collector calls the Brush object's Finalize method. As we know, local variables are destroyed automatically when the control flow goes out of the … Software Development asp.net visual-basic visual-studio | |
Hi, I have a quick question. I am making a hang man game for project (I am at university as a computer science major), I have completed most of the game but have run into one small issue which has been given me a big problem. Right now I am … Software Development java java-swing | |
**I have a half complete coding which basically comes down to a gui interface. The problem is that I don't know how to get it working as ticket vending machine with fixed rates and fixed amount of cash being able to put in. So, far, I've done up to calculating … Software Development gui java java-swing | |
I am working on this editDistance program in Java, but I cant figure out how to return the new strings..... The program is returning the editDistance, but everytime a char doesnt match I want to delete it out of the string, in the end when I call printDistance(), I want … Software Development java | |
Having trouble getting pyhon to repeat things for me. What I wanted to test was python's random.sample. So say I have a list myList = range(1, 15) I can for a single time do this import random >>> myList = range(1,15) >>> random.sample(myList, 3) [10, 6, 11] >>> I would … Software Development python | |
Would anyone know of a C++ library which can enable me to encode and decode Ascii base 85 encoding? I'm having trouble finding one on the web. Thanks | |
#include <string> #include <iostream> #include <vector> using namespace std; class Person { public: Person(); Person(string n, string a, string tel, string em); string getName(); string getAddress(); string getTel(); string getEmail(); virtual string whatAmI(); private: string name, address, telephone, email; }; Person::Person() { } Person::Person(string n, string a, string tel, string … | |
Hi, I am new to writing code and am doing a programming assignment for a class that has to be separated into different functions. I figured most of it out, but can't seem to get the validation part to work at all. could someone with more experience than me please … Software Development python | |
To get and set various variables inside structs in C++The main struct object should be a pointer.the structs have got so many member function to get and set it variables from the user.finally the structs should be protected in such a way that no two users can change the details … Software Development c++ | |
I have been using Visual basic 6.0 for one year. 1-I want to know that what is difference between visual studio and vb 6.0? 2- What is difference between vb 6.0 and vb.net? 3- Now i want to use vb.net. So tell me how can i install vb.net? and from … Software Development vb.net visual-basic visual-studio | |
I am using VB.Net 2008 Express Edition, I created project its works fine, Now I want to add Word File that Project and When run Setup File (from Publish) on another computer that Word file also autocopy with this project, Is possible to do this..? How I code to open … Software Development file-system vb.net | |
Hello everybody. I recently started a python temperature conversion program and seem to be stuck. Im fairly new so I tried several things such as a fuction to convert temperature and and if and else statement and both combined. My code lets me input a temperature but then doesn't convert … Software Development python | |
Based on the loan application records of a bank and the example of query, write a program that determines whether a loan applicant is to be approved or disapproved his/her loan application. Criteria of an application to be considered are assets, income and the loan value. Applicant with assets > … Software Development c++ |
The End.