132,726 Archived Topics
Remove Filter ![]() | |
**In android studio 2.2.2 after build gradle syn it shows this error-------->Error:org.gradle.api.GradleException: Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.2.0.how to solve this problem??????** Software Development android android-development api google-api | |
This is what I have: When I try to do this, it shows me an error: IndexError: list index out of range Could someone help? with open(os.path.join(path, file.replace(".root", ".txt")), 'r') as f: lines = f.readlines() htemp = TH1D(name, name, nBins, eMin, eMax) for i in range(len(lines)): htemp.SetBinContent(i + 1, float(lines[i])) … Software Development python | |
[OH noo, please not that again!](https://www.youtube.com/watch?v=DvShTJKuy2w) Yeah, primes sigh. But they play a minor role here as a perfect victim to explain some other things. Would not advise to use the algorithm here to calculate them in real life. There are languages like Python, F#, Haskell etc. who have list … | |
Hey there. i want to set a variable to represent the last line of a text file how do i do that? or even better, how do i create a list of the lines of a text file? any suggestions? Software Development python | |
Dear sir i want to english word definition list(database) .i am search every wear in internet. but i cant find it.anybody know download link please send me. thank you wansa Software Development | |
import sqlite3 datafile = 'XZ704.DB' datadir = '/full_path_to/SQLITE_FILES/' db = datadir+datafile conn = sqlite3.connect(db) cur = conn.cursor() cur.execute("SELECT * FROM Airports LIMIT 1") --- OperationalError: no such table: Airports --- That works fine in a terminal but for some reason python 2.7 no like. I have tried full path, relative … Software Development python python-django ubuntu | |
Ok I need to make a 3 part program thats made with c++. The first part is to write 10 number, and then program ask to ether repeat the number or to reapeat them reverse. Second part I need to make a program that ask for a word and later … Software Development c++ | |
I am trying to figure out how to read/write to a file without knowing it's exact path. I was using resources and was only reading in the files, but now I need to write to them and there doesn't seem to be an easy way about this. I was looking … Software Development | |
OK so I have a form with Navigation Buttons that open various webpages in browsers in a tab control. In order to clean up my code I would like to write a class for both the Buttons and the browsers. I have ZERO Idea as to where to start. Here … Software Development vb.net | |
Hi, i'm using vb.net and i have connected a database to it. As per my interface i should add, delete,go back,go next and save my records. All the buttons work apart from delete. The problem is i do not know the codes for deleting a particular record during the run … Software Development gui vb.net visual-basic | |
I need to make a spin coater machine. It spins in 3 stages and each stage have different speed(servo value) and time ( how long for it to spin). A lot of people recommended that I use FSM. I have decided to do the programming in FSM. I manage to … | |
Hello guys, am making a desktop application using javafx and after making the exe installer with inno and wix. the problem is after installing the program everithing is working properly but when you go to source file all my classes are there intact so it can be changed easyly. HOW … Software Development java | |
As a students of embedded what is the scope of advanced embedded system? Is it a better career option? | |
A. Write a triangle solver that takes 3 inputs consisting of angles in degrees and length of sides in arbitrary units and, if possible (your program has to determine this), supplies all other angles and side lengths. There will be either 0 triangles, 1 triangle, 2 triangles or an infinite … Software Development python | |
im intending to do a function that'll calculate the cosine of x like this: 1-x^2/2! + x^4/4! - x^6/6! ... and compiler says that it doesn't support "%lf" format and "undefined" to pow and cos ? why #include <stdio.h> #include <math.h> double my_cos(double c){ int i,k; double result=1.0; for(i=1; i<10; … Software Development c | |
Hey, I would some assitance, I wrote this code to find the average between the max and the min and assign that value to the nan, nut i have to chnage up my code, to assign the NaN to the previous non-zero value. Example 112 113 114 116 NaN would … Software Development c++ | |
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click provider = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" datafile = "E:\Software Development\Student Profiler\Student Profiler\School.accdb" connString = provider & datafile myConnection.ConnectionString = connString myConnection.Open() Dim str As String str = "Insert Into Basic_Information([ID],[Admitted In The Class],[Subject],[First Name Of The Student],[Middle Name Of The … Software Development open-source vb.net | |
Instructions are in the image above. This is what I have now. Everything is done except the last part where if you click Yes the program is supposed to continue with other calculations. This is where am stuck. import javax.swing.JOptionPane; public class OPTIMA2 { public static void main(String[] a) { … Software Development java java-swing | |
I am trying to use a link from a menu item to call a javaScript function that uses jQuery to place the contents of an HTML file into a given ID within a DIV on a page. Here is the link that points to the specific DIV and the also … Software Development javascript-jquery | |
Write a function write with variable number of arguments that takes a string first argument followed by any number of arguments of type double and prints on the screen a string formatted by the rules described below. The first argument may contain formats in curly braces of the form {index[:specifier]}, … | |
Hi everyone, im new to this fourm. Ok i'm working on a dgv page, every time i fill out my text boxes ect. i press add transaction button i got. Information shows up in the dgv, but then theres 2 columns i want to have the total sum show up … Software Development vb.net | |
I have a datagridveiw with 6 differnet columns. I got 2 columns with the header names, "In" and "Out". So my question is, how can i get the sum of each showing in a seperate textbox. Not by the # of columns there are but by the name of the … Software Development vb.net | |
Hi guys, can you help me to solve my problem. i have create coding table for my database. i mean i have a form and when user fill in their information into the form, the data will store in this table(coding). but unfortunately, in this coding, my delete button are … | |
Hello im having trouble with my code ! we are asked to organize a list of names from a text.txt file the make them show up into a lits box (got that part down :) ) . then from the list box we are asked to create an array and … Software Development vb.net visual-basic visual-studio | |
Hi, I am trying to learn OOP with c++ with the help of Turbo C++ version 3.0 and "C++ Primer Plus" by stephen prata. according to the book, the NEW convention for including the iostream header file in c++ is in the following way: #include<iostream> but it causes an error … | |
When I want to save data then show this error massage. Run Time error 3021 Either BOF or EOF is true, or the current record has been deleted. Requested operation requires a current record. With rs1 rs1.Open "Select * from debtordue where debtorname = '" & Me.cmbreceiver & "'", con, … Software Development | |
I have tried in many places but all have gone in vain. I am hopeful of getting a solution in this forum. I have a vb.net app in which there are many panels. I want to take a bitmap of a panel which is hidden behind the panel which is … Software Development vb.net | |
hi this is jus a question. if you are doing a program that uses a GUI, with the radiobutton, checkboxes and so on why do you have add an import for all the jradiobutton and jcheckbox. is is necessary to add an import for each of them | |
dear sir i have one check box and one button.when i open form above button is hide. if i tick check box and close the form and when i re open form i want to display above button please help me how to do it. thank you wansa Public Class … Software Development vb.net | |
Hello, I have this home work question to be solved on a cloud ide: Create a class called ShoppingCart. Create a constructor that takes no arguments and sets the total attribute to zero, and initializes an empty dict attribute named items. Create a method add_item that requires item_name, quantity and … | |
We are going to simulate a seat reservation program (think airlines seats). The plane has NUM_ROWS rows, and each row has NUM_SEATS seats (form A on). For this assignment, set NUM_ROWS = 6, and NUM_SEATS = 5. Make sure you use these two constant variables in the program. Software Development python | |
Hello. In my assignment, I must use nested loops to write to and read from a file. We have not yet learned functions or arrays. The program should calculate and display total rent collected, average rent collected, the highest paying complex, and a warning if zero paid by a complex. … Software Development c++ | |
#this program calculates the area of a right triangle #ask for input b=input('Enter the triangle base:') h=input('Enter the triangle height:') #Calculate and print area Area=(b*h)/2 Print '\n The base is '+str(b) + 'units' Print 'The height is 'str(h) + 'units' Print '\n The area is 'str(area + 'units' | |
i have learn this Java since last month for my work purposes. i wanted do this exercise. this is Vending Machine Program. I don't if write it in a wrong way. So i need somebody to show me the in my code. i know there must be wrong somewhere in … Software Development java | |
I make a setup file. I install it in another computer. When I run the application then show this error massage. Software Development | |
Greetings all, Essentially I am trying to recreate a formula for a column that calculates a cumulative difference between, between differences in data on data from adjacent column on a daily basis. In excel the formula is =ROUND(IF(B4<NOW(),T4,0),2). Does anyone know how to edit the method for the computed field … Software Development c visual-studio | |
Hello, i am trying to write a C program to copy a file from one directory and copy that to another directory. I am new to file handling and dont know how to proceed further. could you please guide me how to implement the property in the c code to … Software Development c | |
Dear Sir I have small vb.net project. It include database. And after make EXE file then I want to run flash drive .can we do it. Or how can convert my program portable apps type Please help me Thank you wansa Software Development vb.net | |
good afternoon to every body iam doing my final year btech(cse).iam thinking to do mini project in java. i have less knowledge how to start,how to get title,how to proceed .can any one please give ur advice to me........................... Software Development java | |
hi i just wanna ask because the submission of my restaurant POS System will be tomorrow. it is a very hard time for me. here are the requirements: Restaurant POS (Point of Sale) System Create a basic Restaurant Point of Sale software using C-Language. Your restaurant must have at least … | |
When I click in listview control to send data in specific textbox then show the error. run time error 380 Invalid property value. I write this code: Private Sub LVEmp_ItemClick(ByVal Item As MSComctlLib.ListItem) With Item Me.txtSrNo = .Text Me.txtamount.Text = .SubItems(mlngCUST_LAST_IDX) Me.txtdate.Text = .SubItems(mlngCUST_LAST_IDX) End With End Sub Software Development listview | |
dear sir my project availble two text box and one button i want two textbox include data save to one .txt file it is posible . thank you wansa Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Using writer As System.IO.StreamWriter = New System.IO.StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\word\correct.Txt", … Software Development vb.net | |
How to take the maximum digits file linked with the folder using perl? my $location = $output_dir; print $location; open LOGFILE, $location; my $first_line = 1; #print $first_line; my $max_id; while (<LOGFILE>) { if (/rev_(\d)+/) { if ($first_line) { $first_line = 0; $max_id = $1; } else { $max_id = … Software Development perl | |
Hi All Anyway of resolving this issue. I have created a script which works properly only issue is occasionaly when the tar.Z file is emailed to me i get this message this only happens sometimes?? begin 644 /var/tmp/aimtl-20080626.txt.tar.Z M'YV08=*TH=.	LP+63 @($#A@T9-ES0P4,'@,6+&#-JW,BQH\>/( $L7&B# M!@V1,&+ H $1)0R%-6"@E!$CQ@T;,6C,D &@)HP9,60HC%'#!DJB,&KPE!FR MJ=.G4*-JK#.'3A@Y*.O@4)B4I]2,;\CDF3.G3)ZO&4>FE%'#Y4BC:./*G4NW M;MTI5*9\H2(G#)DR7Y(022#DS9LU@0</J2-'3ADW8_)\&1*V3 *^?@%3R0/' M\I,[;LK(^3(%BI,$GT./9E($-6C17YY426 E#)LZ8>BD>>-F+V?+4^@X#M,F … Software Development file-system shell-scripting | |
im intending to make a brackets checking code that will check some code and look if there's any brackets mistakes in it, i started like this : #include<stdio.h> int i=0; int isPaired(char c) /*checks if bracket matches*/ { if (c == '}' && s[--i] == '{') return 1; if (c … Software Development c | |
I have a form which has in which data is entered in both Textboxes and Checkboxes, when the "Copy" button is clicked all the fields are copied to be pasted elsewhere. I am trying to convert the Checkboxes to Yes or No When Pasted. Private Sub btnCopyNotes_Click(sender As Object, e … Software Development vb.net | |
/* #include<iostream> #include <iomanip> using namespace std; int main() { int r=12,i,j,k; cout<<setfill(' ')<<setw(18); for(i=1;i<=r;i++) { j=r-0; if(i==12) { cout<<j; } } for(i=1;i<=r;i++) { j=r-11; k=r-1; if(i==1) { cout<<endl<<endl<<setfill(' ')<<setw(10); cout<<k; } if(i==2) { cout<<setfill(' ')<<setw(15); cout<<j; } } for(i=1;i<=r;i++) { j=r-10; k=r-2; if(i==3) { cout<<endl<<endl<<endl<<setfill(' ')<<setw(6); cout<<k; } if(i==4) … Software Development c++ | |
hi guys i have a big problem how to insert image to database i had try this out but it returns error(syntex error) [code] Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click OpenFileDialog1.Title = "GET IMAGE" OpenFileDialog1.ShowDialog() End Sub Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal … Software Development dataset image open-source vb.net | |
I'm new to c++ and the programming world, I'm currently trying to write a code to find the max and min values and their average and assign the average obtain to a zero within a text file. Data.txt 110 109 109 109 110 111 112 113 115 112 0 103 … Software Development c++ | |
Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for C! It uses a words file, on the bottom of this post you will see a small example of a few words. You can … Software Development c |
The End.