132,726 Archived Topics
Remove Filter ![]() | |
Hello everyone I'm having a bit of trouble with C. Its been awhile and I was wondering if I'm on the right track I'm trying to read from a file and manipulate the data with a structure I created. The problem is the first two values in the text document … Software Development c data-structure | |
hello everyone I really need help so I have to make functions that find vowels, digits and uppercase and lowercase letters from a sentence inputted. So i was able to do it all in main but i cant seem to make the new program work with the functions properly, it … | |
So, maybe this is a concept out of the domain of programming... but I think not. Lets say we have a 400MB video file that we want to either send somewhere, or stream. Can we use python to break it into binary, break the binary into chunks, and then send … Software Development file-stream python | |
I'm a beginning programmer and am stumped on the last part of this assignment. I can't seem to figure out how to have the Letter Grade show. Here's what I have so far, any help as to where I'm going wrong would be much appreciated!! import java.util.Scanner; public class Lab1 … Software Development java | |
So, I'm merely just a student learning and all that. The assignment has four components: write a bubble sort function with test program, write a quick sort function with a test program, write a shell sort function with a test program, then finally write a main program. For each compare … Software Development c++ | |
I was coding up a class template a little while ago and I came across an error while debugging: error: invalid conversion from âstd::basic_string<char>*â to âcharâ [-fpermissive] It was in the code template <typename T> void ArrayList<T>::insert(const T& x, unsigned int i) { if (i >= m_max) cout << endl … Software Development c++ | |
public static void drawIndentedLine (int spaces, String begin, int n, String middle, String end) It should print a single line, terminated with a newline, that begins with the specified number of spaces, followed by the begin string, followed by n copies of the middle string, followed by the end string. … Software Development java | |
Greetings, I want to add some numbers to a combobox, i want the numbers to be from 1-100 but instead of writing example combobox1.items.addrange({1, 2, 3, 4, 5, etc, 100}) how can i else write it ? :) TY Software Development vb.net | |
Ok what I mean is if i build say a client and server side (network) program in c++ on linux. Will i be able to run it on windows? i know that linux creates .o files and those are executed. were windows create .exe files and thos are executed. I … Software Development c++ client-server | |
Im trying to write a c# programme that will generate a random number, check if this number is in my array, if it is, repeat generate number step, else insert this number into slot [i] of my array. Here is my code so far - Any help would be greatly … Software Development | |
hai! I am new to visual studio 2010. I am trying to develop a miniproject related on atm. But I have syntax error(missing operator) in query expression on 'Accountnumber=and PIN='. are you help me to correct this error? My coding is, op = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\atm1.mdb") op.Open() cd … Software Development open-source vb.net visual-studio | |
(a) (b) (c) (d) * ********** ********** * ** ********* ********* ** *** ******** ******** *** **** ******* ******* **** ***** ****** ****** ***** ****** ***** ***** ****** ******* **** **** ******* ******** *** *** ******** ********* ** ** ********* ********** * * ********** I managed to do a and … Software Development c++ | |
Dear All, I Have developed a application that converts text to speech. Here text to be converted comes from database on entering some information by user. There are default voices sam and mary ,those are working fine for this application but I want a more clear voice (more like indian … Software Development | |
hello frends, i m havig a problem with the deletion of node int the tree plz help me to get my code debugged void delete_node(struct node *temp,int data) { struct node *temp2=NULL,*temp3; if(temp->data==data&&temp->left==NULL&&temp->right==NULL) { temp=NULL; } else { while(temp->data!=data) { printf("\n temp = %d",temp->data); temp2=temp; if(temp->data<data) { temp=temp->right; } else … Software Development c | |
I was just wondering if anyone can give me some info on converting C++ to C. I don't really care about finding a program to do it for me, I would just like to know what is different between the two. My program is 'fairly' simple. uses file IO, prints, … Software Development c++ | |
Good day! I just one to ask if there is a function in C++ that can format a currency directly. Example if I have a float of *10000.00*, it shoud output *10,000.00*. Note the comma separator. Thank you! Software Development c++ | |
package cs1410; import javax.swing.*; public class P2 { public static void main(String []args) { drawDiamond(); } public static void drawDiamond() { int x,y,z; int a=1; String out="\n"; int i=Integer.parseInt(JOptionPane.showInputDialog("Enter your size")); if((i%2)!=0) { int in=(i/2)+(i%2); int bb=in-1; int b=bb+(bb-1); for(x=in;x>0;x--) { for(y=x;y>1;y--) out+=" "; for(z=0;z<a;z++) out+="*"; a+=2; out+="\n"; } for(x=0;x<in-1;x++) … Software Development java java-swing | |
Hey! I'm a beginner in Assembly language. I want to know the difference between a declaration enclosed with ' ' and without it. For example, variable1 db '0' variable2 db 0 I know that the one with '' is when printed, it will show what's inside the ''. Thanks~ :) Software Development assembly | |
Can anybody write a program for me in C by Thusday morning? Software Development | |
hi everybody, i want to read data from Ms Excel 2007 . So i used this connection string string connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;"+"Data Source="+txtFilepath.Text+";"+"Extended Properties=Excel 12.0;"; but it display error :Could not find installable ISAM. i also installed AccessdabaseEngine.exe but still display the same error. please help me Software Development | |
Hello, i have made a code that strips off html tags using regex but i have issue. Now in file i have multiple tabs. example: nesa<tab><tab>pera<tab><tab><tab><tab>nn<tab><tab><tab><tab><tab><tab>kkn how can i remove extra tabs and keep only one tab ? example: nesa<tab>pera<tab>n<tab>kkn Thanks in advance Software Development regex | |
I got 2 Declaration syntax error... i really need help :D Thanks! Btw .. i'm using Borland C++ #include<iostream.h> #include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<ctype.h> #include<conio.h> void main() {clrscr(); int opt,opt1,opt2,opt3,opt4,opt5,opt6; /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int style, midx, midy; int size = 1; int x,y; … Software Development c++ | |
Greetings, Is it possible to make a Tooltip show a picture ? Like if i hover my mouse over a label as for example a small cut of a picture is shown ? Software Development | |
Write a program that does the following: a) creates an array of user specified length of random integers between 0 and 100. b) allow user to print array in ascending or descending order. c) allow user to search for specific int value (you can use your code from part 2) … Software Development java | |
can anyone please help me out with creating simple screen editor using graphics functionality in c language. Software Development c | |
I need help to write a project proposal for traffic light implementation project in c++ Software Development c++ | |
Im trying to get this working but my if statments dont work or am i just doing them wrong ? cout << "You see a house, what do you do?\n1. Run away\n2. Walk inside" << endl; cin >> Input; if (Input == "Run away"){ PowerLevel_Final = PowerLevel_Final - 9036; cout … Software Development c++ | |
Is there anyone here know about any software that could make sofware from binary code ? I like to program directly in machine code because I'm not well in learning those high level programming language. But I can't find any soft that could compile binary code. If you know, please … Software Development machine-learning | |
1. Write a program to compute the annual rate of return on an investment. The program will ask the user for the original purchase price, the number of days the investment was owned, and the final sale price. The program must then print out the difference between sale price and … Software Development java | |
I'm trying to open a tex file from within python, tell the tex editor to run (manually you would press ctrl + T) and finally close the program. So far I can only figure out how to open and close the program. this is what I have so far... os.spawnv(os.P_WAIT, … Software Development operating-system python | |
hi guys I wanted to ask if you can find a better way of simplifying my code. I have an if condition for a registration form filled with of course many textboxes that is needed to get the details of a certain user, if a certain textbox is empty it … Software Development | |
Hello! I was trying to display/print elements of a list, suppose a = [1,2,3,4,5], using functions. But the code i wrote prints only the first element of the list whereas i needed all the elements of the list to be printed( as in 1 2 3 4 5 but all … Software Development python | |
My program on compound interest gets compiled fine but it won't display anything . Yesterday When I created a new class and tried to run a simple for loop , the same thing happened . But when I tried to run the same for loop in a previously made class … Software Development java | |
I made this program which had to calculate the Largest Palindrome which being the product of two 3-Digit Numbers. My Program : #include <iostream.h> #include <conio.h> int reverse(int num) { int rev=0,mod; while(num) { mod=num%10; num=num/10; rev=(rev*10)+mod; } return(rev); } void main() { textbackground(WHITE); textcolor(BLACK); clrscr(); long a,b,c,r=0,d; for (a=999 … Software Development c++ | |
I have a data grid view and trying to compare data in coloumn 4 with coloumn 6 when data is entered in coloumn 6. but comparision is not happening . How to achive this. my code Private Sub DgvAllocate_CellLeave(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DgvAllocate.CellLeave Crno = … Software Development vb.net | |
can i know how to create a system using addition,multiply,subtracton and division? Software Development c++ | |
Can anyone help me with my program? I am making Tic-Tac-Toe and I am stuck. Here is all of my code that I have done so far.... . . . This is called design_of_board.h #include <iostream> #include <string> #include <Windows.h> #include <conio.h> #include <ctime> #include <vector> #include <algorithm> using namespace … | |
![]() | float* values = calloc(m*n, sizeof(float)); float** rows = malloc(n*sizeof(float*)); for (int i=0; i<n; ++i) { rows[i] = values + i*m; } What is this code trying to so ? Can you explain me the first 2 lines in detail ? I am not getting it. thanks. Software Development c |
![]() | Hello, I am having some trouble in importing a CSV file into an array. The CSV file has multiple columns, and what i really wanted to end up doing is getting the element inside each block of the CSV file. So far i've only been able to get a row … Software Development python |
I have read many articles here, but haven't quite found the solution. I have a SQLEXPRESS database that is used by my VB.NET application. I have packaged and deployed the application via an MSI file and everything works great except I cannot figure out how to include my database file … | |
Hi Geeks, i have declare Char *a type variable and i want to fill data in a[0][n], a[1][n], ... a[max][n]. below is my code snippet which i'm facing build error while initializing. I'm getting build error as ".....subscript requires array or pointer type " ......... char *a; a = (char*)calloc(3,sizeof(int)+3);//trying … Software Development c | |
how to convert from UDP to TCP? For example I'm used this code for UDP: Socket peer1 = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); UnicodeEncoding coding = new UnicodeEncoding(); byte[] pp = coding.GetBytes(ping); peer1.SendTo(pp, receiverIp); peer1.SendTo(txtBuf, txtBuf.Length, SocketFlags.None, receiverIp); How to write it use TCP protocol??? Because my code is large, I … Software Development tcp-udp | |
need simple code vb.net code tht uses issue date and return date to calculate fine but doesnt use datetimepicker tool.. Software Development vb.net | |
Hello everyone, I am trying to build a inventory ans pos systeme with Ms-Access as database and VB 6.0 programming. I got stuck in one place again. What I want to do is trying to print out the codes and price of the products. In this form, I have a … Software Development visual-basic | |
I have a 2D array and i am trying to look for Similarities in the data, via number patterns. For Example: 1) 3,4,5,6,7 2) 1,4,8,23,56 3) 14,15,16,34,45 Now what i would like to do is search this array to find patterns like in example 1. it goes 3,4,5,6,7 or in … Software Development java | |
Hello I am getting error as **segmentation fault** when my file contains large number of line(approx. 44000. However if I run the same program with lesser number of lines, it works fine. I am not getting the reason for this error and how to rectify it. int main() { FILE … Software Development c | |
Hello everyone, I have problem with my simple android chat program when using different test debugging. I have two android emulators one reads SERVERPORT as 8080 and CLIENTPORT as 8082 and the other android emulator reads SERVERPORT as 8082 and CLIENTPORT as 8080 from a given txt file. Here there … Software Development client-server java socket-programming | |
Hello again, I have been posting consecutively in these days nearly same topics, actually I am intern at a sofware company and our company ask to perform the proof of conception about sending voice call -at the beginning- and finally video calls, like walkie talkie application; as you have already … Software Development android client-server file-stream java qt | |
I have been working on my batch script for a while now. I am working on a .bat script that will automatically deploy/execute stuff. For that, it will just ask for user input for once. That user input will be consist of 2 parts: file directory (where the file is) … Software Development |
The End.