132,726 Archived Topics
Remove Filter ![]() | |
I need a python code that collects all even numbers separately, odd numbers separately and displaying into two separate totals. The range of numbers is 1-20 I am new to this language and I keep getting syntax errors, invalid statement errors etc.. So it would be great if you can … Software Development python | |
can i have some advice for making a basic program, and can someone help me through python plz thx Software Development python | |
I am trying to read a string from a file and print it on the screen, but I always get an error at opening the file. Why is this happening? What is wrong with the code or with the file? PS: the file is in the same folder as the … Software Development assembly file-system | |
hi, its like this i did c++ at my school level for almost 2 years....its been 6 years since i have done any programming.....due to college studies......now i want to move to android development......for that i need to learn core java(j2se).....its been one month i have been doing j2se.....covered oops,classes,objects,inheritance,excepti... … Software Development android android-development java multithreading ruby | |
Hello, I'm trying to approach .dll's. Tried some tutorials and got into 2 problems: 1. Using rundll32 from the command line is not working as expected. I write in cmd: "rundll32 mydll.dll MsgBox -32". It shows the MessageBox with text "15991798", changing every time I run it. 2. Calling a … Software Development c++ | |
I need the programs to these algorithms. These are the algorithms of the programs of Insertion & Deletion. I need the C++ programs. Insertion temp1 & temp2 are strings 1. temp1= substring (T, 0, ip) 2. temp2= substring (T, ip, length(T) - ip + 1) 3. concatenate (temp1, P) 4. … Software Development c++ | |
Hi, im developing a software in vb 2012 with a access 2010 local db, but for some reason i canĀ“t remove records from the database. the following code breaks on line 6. i cant find the problem. the dataset is transmissoes and the the table is utilizador_avancado. can anyone help, … | |
| |
![]() | Does anyone know where I can download Python source code for Graham's convex hull algorithm? C and C++ code seems to abound, but I need Python code, and specifically for Graham's method (not Jarvis or others). Thanks in advance. |
I am trying to make a local python application communicate with the python application in cloud(GAE). I am able to send a string from local appn to cloud appn, which invokes the post method in cloud appn and writes some message to the screen. I want to access the string … Software Development api google-api python | |
I am unable to convert my C file to mex file. Here is the C file I wrote to read in a tab-delimited file. The C program in running, but I am not able to successfully convert it to a mex file. I have also pasted the mex file I … Software Development c data-structure file-system | |
hi, I have a Gridview like below:  What I want is: 1) User can click at **LINE** column, for example user click at **M23** and it will redirect to other page. 2) At the other page, it will display something like this: **Please insert countermeasure for M23** where … | |
I'm trying to run a binary sort that sorts through a list of randomly generated numbers, but for some reason isn't working. It will usually tell me if the highest or lowest numbers are in the array, but acts like a spaz on the middle ones. I keep fiddling with … Software Development c++ | |
Hi all. What im trying to accomplish is to get strings from within a string. These strings are seperated with "//*//" an example would be String ExampleString = ("//*//helle//*//goodbye//*//1965//*//this is an example//*//the end"); then I would like to seperated into seperate strings. hello goodbye 1964 this is an example the … Software Development java | |
Hi there, I am trying to create a simple client/server application. Very basic - Client connects to server, client sends message to server - server receives message and broadcasts to any other connected clients. As I say - it is supposed to be simple and for the purpose of self … Software Development client-server vb.net | |
What I am trying to do is delete the key value pairs out of a dictionary if the value is = 0. I seem not to be acheiving that so far. Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more … Software Development python | |
I am trying to read in a large tab-delimited file which has 16 columns and about five lac rows. The first column is a date string. TThe second contains integers and so on. However I am not able to get the arrays correctly. Also how can one ignore three header … Software Development c | |
Hi, Is there any way in C++ to select and read the last modified file from a unix directory? Let say the o/p of the ls -t is : abc.txt myfile.txt .... .... last_file.txt I want to select this last file ( can be of any name) and read the … Software Development c++ file-system unix ![]() | |
I'm trying to create a database. After creating the Table [Design], I've went to the Table [Data] to add items to the database, ran the program to check if the database items show up, they do. Then I stopped debugging, went back to the table to add more information to … Software Development database-design vb.net | |
I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a event will appeaer in the code section. EXAMPLE: private void button1_Click(object sender, EventArgs e) { } Let s say i … Software Development | |
Hi all, I would like to pose a design pattern to discussion that is achieved in two different ways. Imagine the situation where you have an interface "IFoo" (aka virtual) and implementations "FooA", "FooB", ... that inherit and implement "IFoo". Now you want the user (of the library you are … Software Development c++ user-interface web-design | |
I am in the final stages of testing a text-based game I have been working on for several years but I am running into some major problems with my database access code and some very strange problems at that. What I am attempting to do is loop through a SQLite3 … Software Development c++ microsoft-access sqlite visual-studio | |
Hi,i have some error for some help when i try to run this code below i got this error "Syntax error in UPDATE statement." at .ExecuteNonQuery() and i try to solve it for an hours but i can't , Anyone please help me !! and i use System.Data.Oledb ( sorry … Software Development vb.net | |
**i am tring to this way but answer is not write....thx...** #include<stdio.h> #include<conio.h> void main() { float a[10],m; int i,j,n,t; clrscr(); printf("how many number in array\n"); scanf("%d",&n); printf("enter %d number\n",n); for(i=1;i<=n;i++) { scanf("%f",&a[i]); } for(i=1;i<=n;i++) { for(j=i+1;j<=n;j++) { if(a[i]>a[j]) { t=a[i]; a[i]=a[j]; a[j]=t; } } } if(n%2==0) { m=a[(n/2)+((n/2)+1)]/2; } … Software Development c | |
Hi everybody. Hope you are all well in the new year. I'm having trouble with joining two chars and displaying the output. For example Any clues as to how to do this? Thanks so much. #include <iostream> #include <string> using namespace std; int main(); { char a = 'x'; char … Software Development c++ | |
void John_is_3D(int dimx,int dimy,int dimz) { int ***John; // pointer to pointer to pointer John = new int**[dimx]; // array of pointers to pointers for(int x = 0;x<dimx;x++) { John[x] = new int*[dimy]; for(int y = 0;y<dimy;dimz++) { John[x][y] = new int[dimz]; for(int z = 0;z<dimz;z++) { John[x][y][z]= x*y*z; cout … Software Development c++ | |
Hello, me again :-). This time I need to build a small calculator-like GUI, like this:  This time I thought I'd ask a few questions before I start building it! 1)In terms of layout, I was thinking to use the GridLayout again: one for the text field and … | |
Hello Dear All, I have a small problem ,though seems very simple,being a newb It is difficult for me. Please Help me I have a message box VbYesNoCancel My code is here If ACRS.RecordCount>0 Then MsgBox"SALARY ALREADY CALCULATED DO YOU WANT TO RECALCULATE ?",vbYesNoCancel,"Pebble" Else CmbNdm.SetFocus End If My problem … Software Development visual-basic | |
is anyone having an idea on how you going to use ifstream & ofstream without using the header of it. Software Development | |
Server #!/usr/bin/python3 import socket from time import ctime HOST = '' PORT = 21567 BUFSIZ = 1024 ADDR = (HOST, PORT) udpSerSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) udpSerSock.bind(ADDR) while(True): print('waiting for message...') data, addr = udpSerSock.recvfrom(BUFSIZ) udpSerSock.sendto(data, addr) print('...received from and returned to:', addr) udpSerSock.close() #END# Client #!/usr/bin/python3 import socket HOST = … Software Development client-server python socket-programming | |
Hi, I am making a song player in java with playlist functionality. I got my mp3 songs running all right. What i basically do in my player is search a folder for mp3 files and then add all to the playlist. Till here, it's fine and doing good. But the … Software Development java | |
I am a beginner for shell script, and I want to know how to check the content of file using if condition I have a files content .txt and what I want is if content of file have .txt; then skip else run code fi Software Development shell-scripting | |
I'm new to C and I'm trying to convert decimal to binary. The result is giving me an inverse number of what's required. I tried to apply modulo on the result like I saw on other forums but I still get the same result. Any help? #include<stdio.h> int main() { … Software Development c | |
write a c++ program generat a fibonacci series using while loop statement .(Hint0,1,1,2,3,5,8,13,21,34,55,...) Software Development c++ | |
A complete C implementation of Linked List...tested on Linux GCC Software Development c c++ linked-list | |
hi, I want to display only the user id and the name in jList and when the user select something from the jList detailes of that person will be display in a lable can you explain to me how to do it.. I've managed to display all the deatiles of … Software Development java | |
Hi you all... im a diploma student... im not very good at java programming.. i hope u all can teach me a bit bout this subject.. i dont want to carry this subject :3 ... kinda blurry.. lecturer kinda teach theory... sooo... i attacht word.doc... | |
Hello, i have created a vb project and have publish it. There is no problem in running the vb.exe in my laptop but when, i try installing the vb.exe in my friends laptop the are error, error signiture (event type : clr20r3). I tried installing visual studio in my friends … Software Development vb.net visual-studio | |
building my first cgi website, here is my problem. The code below works but when the condition is met it outputs both pages on the same screen however when the condition is not met it only outputs the Else: statement like its supposed too. I can't figure out why it … Software Development python | |
I'm trying to make make project for my programming class. All that's left is deleting elements and editing elements. Basicaly my question is how would I do it for my inner list? Or how would I delete single client from list? Would I first have to free the client's inner … Software Development c linked-list | |
HI, I am saving my form to word document. But the result, looks too simple. How do i insert table or insert image or maybe,could change the font style and so on??.. if you can give links or tutorials..anything that could help me..i would appreciate it so much. Thank you … Software Development vb.net | |
Hello Daniwebbers, Recently I have begun a new project that will go out to the internet and fetch information off IMDb about a source of media. Now currently when I do this I use an XML file to store what I have downloaded and parsed. For each piece of media … | |
I have a c# program that opens a .tif image and later offers the option to save it. However, there is always a drop in quality when saving the image. _**I passed some parameters while saving the image so that the quality is at 100 % and there is no … Software Development c# file-stream image | |
Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. … Software Development database-design display java | |
Hi all, How to convert an pdf file to html in Java? Currently all my data is generated into a report in pdf and i want to be able to generate it to html page as well. How to go about implementing this, is there any source code in java? … | |
I'm creating a Web-based label printing system. For every label, there should be a unique s/n. So when a user decided to create 1000 labels (with the same data), all of it should have unique s/n, therefore the pdf will have 1000 pages, which increases the file size. My problem … Software Development client-server java pdf web-browser | |
I have a question about the string.intersect method. I am not getting the results I expect. Dim lstChars1() As Char = "hello dolly" 'TextBox1.Text.ToCharArray Dim lstchars2() As Char = "help melanie" 'TextBox2.Text.ToCharArray Dim lst1 As New List(Of String) Dim lst2 As New List(Of String) For Each c In lstChars1 lst1.Add(c.ToString) … Software Development vb.net | |
Create a basic cash register program that is capable of accepting an arbitrary number of prices and then prints a receipt containing the name of the store, the prices entered, subtotal, tax amount (@9%), total, and a thank you message to the customer. The program must be broken up into … Software Development |
The End.