132,726 Archived Topics
Remove Filter ![]() | |
Hi Im working on a program at the moment and seem to be having issue with this section when trying to get section 3 i get section 2 Ive pasted code below any help or suggestions would be great. Thanks if(gps=='Y'||gps=='y'&&childseat=='N'||childseat=='n') { if(stoi(daysamount)<=3) { extra=stoi(daysamount)*5; } else { extra=15; } … Software Development c++ | |
import java.io.*; import java.net.*; import java.util.*; public class UselessHTTPServer04 { public static void main(String args[]) throws Exception { int port = Integer.parseInt(args[0]); ServerSocket serverSock=new ServerSocket(port); while(true) { Socket conn = serverSock.accept(); Scanner scanin = new Scanner(conn.getInputStream()); String line=null; int nlines=0; while (true) { line = scanin.nextLine(); if(line.length()==0) break; nlines = … Software Development java socket-programming web-server | |
Hi dear all i am new in java i don't know how identify the background and foreground color of image if any have idea please help thanks in advance | |
plese anyone can tell me about storage classes and their use in progg. >>>>>> | |
Hi there everyone, I'm a bit new to see and I need your help please. I'm stuck with a merge sort problem where it's support to sort my nodes in lexicographical order. Can you please have a look on my code because i've posted everywhere and i'm not getting the … Software Development c linked-list | |
text1.txt: line1 hdfbghasbfas line2 jdsbvbsf line3 <match name="item1" rhs="domain.com"></match> line4 <match name="item2" rhs="domainn.com"></match> line5 <match name="item2" rhs="1010data.com"></match> need to retrive domain.com,domainn.com,1010data.com to "result.txt" `` import re f1 = open("C:/Users/Netskope/Desktop/m/test1.txt", "r") f2 = open("C:/Users/Netskope/Desktop/m/result.txt", "w") d1 = f1.readlines() for line in d1: match = re.findall('<match name="item1" rhs="(\w.+")', line) if match in … | |
Hi Experts my excel data is copied successfully to the listview. But on importing to database, I get this error. InvalidArgument=Value of '5' is not valid for 'index' ParameterName:Index ================= I have 2 problems ================= Problem 1: What should be the problem when I importing from listview(I think it is … Software Development data-structure listview microsoft-office sql vb.net | |
Hi there, I made a linked list program to add, delete, add in the middle and delete from anywhere. I'm searching to make a function to sort the string data that I have in lexicographic order. Here's my struct: struct node { char data[100]; struct node *previous; // Points to … Software Development c linked-list | |
Hi guys, I currently have a custom network protocol I have written that uses the NetworkStream class. Within my protocol I have implemented a way to detect data that also works as a timeout. This seemed to be working fine until my client uploads an image of approx 24kb+ and … Software Development | |
I have earlier created the databases in the sql management studio. but a friend of mine said it would be possible to dreate the tables directly in visual studio and update to the database. I have tried to do it but I can't seem to make the tableadapters etc. because … Software Development vb.net visual-studio | |
Hi there, I'm not a developer. I'm a graphics designer. I would like to learn about web development. For that I'm doing research in different languages. Most of them suggested PHP and Python. I know little about PHP. But Python I don't rightly know. Tell which one I can go … | |
if __name__ == "__main__": args = parse_args() install_path = os.getcwd() if os.getuid() != 0 and args.create_user and not args.no_install_prequisites: While compiling the above source code in windows i get this error > module' object has no attribute 'geteuid' windows can any one resolve this. Software Development python | |
Hello, I have a listview1 in my form. And my form has the ability to fullscreen itself. In the meantime, I have this code: ListView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) But that would only depend on the listview's headersize. or the column's header width. I would like my all columns to share equal width. For … | |
I need to know which of these three copies of code is considered best. I also need to which one is more efficient memory wise and which is more efficient time wise. Thanks: enums [CODE]enum MyEnum{EnumTypeOne=1,EnumTypeTwo=2,EnumTypeThree=4,EnumTypeFour=8};[/CODE] macros [CODE]#define EnumTypeOne 1 #define EnumTypeTwo 2 #define EnumTypeThree 4 #define EnumTypeFour 8 typedef … Software Development c++ | |
hi friends ... this is my 1st post I'm sure it gonna be beneficial to me.. Well I'm facing problem in this assignment.As I'm not that good in c++ programming. Please help me out .We have to use doubly linked list. **Assignment requirements Overview** You are expected to write a … Software Development c++ linked-list | |
the given question is 2x+3y-z=5 x-y+z=1 3x+2y+2z=6 i'm supposed to get the values of x,y,z from this coding. #include <iostream> #include <cmath> using namespace std; void GetMat (float A[10][11], int numrow, int numcol); // to enter elements in a 2 dimension matrix void DispMat (float A[10][11], int numrow, int numcol); … Software Development c++ | |
Hello guys, i'm having this project where i must create a server that communicates with a browser.I must write something like this in the browser: http://localhost:11880/path and the message printed in the server will be: GET /path HTTP/1.1 Host: localhost:11880 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 … Software Development c client-server http-protocol | |
HELLO! I've been debugging my code for an hour now. seriously. So I have this string: SQLString = "UPDATE `etmsystem`.`main` SET `timeIn` = '22:00' WHERE `main`.`serialNo` = '70002B4A8F9E'" actually the TIME and the SERIAL NO. here is to be represented by a variable. But I changed the code into that … | |
![]() | Hello Guys , I am having an error message with javafx scene builder integration on netbeans kindly help me !  Thanks Software Development java |
Please help. I have array. Debit Site Credit Site Line Voucher ArrData(0) 306 335 2 33500024 ArrData(1) 320 335 1 33500024 ArrData(2) 809 335 3 33500025 ArrData(3) 809 555 3 55500010 ArrData(4) 809 555 3 55500011 ArrData(5) 810 335 1 33500025 ArrData(6) 810 555 1 55500011 ArrData(7) 810 555 1 … Software Development visual-basic | |
[Click Here](http://postimg.org/image/53202vfs5/) Software Development c++ | |
hi why does this prompt a wrong pass? plss help. :( Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "Username" And TextBox2.Text = "Password Then" Then Me.Hide() Form2.Show() Else MsgBox("Wrong Username of Password.", vbExclamation, "Wrong") End If Software Development visual-basic | |
Good Day, how can i put a username and password in form? in Visual Basic 2008 Software Development vb.net visual-basic | |
I receive this error  when I have this code: Private Sub EditUsers() Try Dim dt As New DataTable dt = ExecuteQuery("UPDATE tblUsers SET UserID = " & txtUserID.Text & ", UserName = '" & txtPassword.Text & "', Password = " & txtPassword.Text & ", LastName = '" & … | |
hi, I am using the Rich Text Box, Now I want to open the Word File, (It may be of 2013 or 2007) How Can i do This? !!! Important Thing !!! No matter if I have to import any of the Word addon or else.... But That should Work. … Software Development vb.net | |
Write a C++ program that reads data from a data file called “temp.dat”. The data file contains a maximum of 31 daily integer temperature values for a city. Your program should continue displaying the following menu until the user selects exit (option No. 6). Head of the data Tail of … | |
Hello all, It’s a problem which is giving me pain. I have a table agent_registration which have following structure: agentID agentname patentID 001 a NONE 002 b 001 003 c 001 004 d 002 005 e 003 So, whenever we register a customer whose agentID is ‘005’ then how can … Software Development vb.net | |
hi , we have a requirement to get grand parent,parent and child nodes display in treemodel.At the moment we have the parent ,child display of Tree Model .Could you please advise what need to be done to get this hierarchy -Grand Parent - Parent -children Thanks in advance for your … Software Development display java java-swing | |
Hi, Is it possible to create a Java compiler? Could you make a Notepad-like application, save the code as a .java file, compile it into a .class file, and run it? Basically, I want to combine Notepad and Command Prompt. I just need help on the compiling part (and listing … Software Development java | |
I am writing a DOS screen football game(No graphics), I have reached 61,283 lines any bigger than this I get a error that says linker warning, exceeded memory limit for block line cache in module. Old compiler version 4.0. | |
How to stretch PictureBox into Maximized screen size ? Currently the size of picturebox is exactly the size of the image, I want to stretch to the resolution screen size excluding taskbar. private void Form2_Load(object sender, EventArgs e) { Form2 f2 = new Form2(); pictureBox1.Size = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); } Software Development | |
This is a module that can be used to save tiff images pass in from a file dialog. This module was translated from C# to VB.net, and the original project can be found [URL="http://www.codeproject.com/Articles/16904/Save-images-into-a-multi-page-TIFF-file-or-add-ima"]here[/URL]. I do not claim rights to this code. You can copy this code straight down into … | |
plz help me , need a code that search a word for file saved in note pad in show the out put as is this wrd exsist in file or not n if yes how many time appear.... | |
Hello everybody! I need some help in my program it is about Guess number game. the program is working but not that I have expected, when i enter guess 76 the output gives me that 76 is Too small :( instead of Too big .Even I type any number 64,99 … Software Development c++ | |
![]() | Hi Guys , I know this looks like quite funny question during the holiday season , but i developed small netbeans application called helloworld , which is kind of pressing button and displaying helloworld , i pressbuild the application and press run , but my application is not runnig even … Software Development java java-netbeans ![]() |
var pattern =/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/; Software Development java javascript | |
give example of a C++ program that sorts list of integers. The list should have a size of power of two. Example: list size = 2, 4, 8, 16… Algorithm 1. Divide the array into two lists until a single element remains in any list While merging given two sorted … | |
I have created a form , with a working coding , but i need an extra assistance. Somewhat , i am stuck on trying to figure out how to let the 3rd combobox value , determined by the first and second. and what i wanted is , something like , … | |
Dear all, I want to develop a webservice that returns a json like the following: http://niceq8i.tv/mobile/api/cat/get_sounds How to make the functions has a direct link like that and return the json code without any xml code Thanks in advance... | |
how to create a loop that will make sure that my dice can be rolled as many times as required? here's my code as a start off. import random dice=random.randrange(1,5) dice2=random.randrange(1,7) dice3=random.randrange(1,13) sim=input (“Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice … Software Development python | |
My question is clear ^^ How to clear keyboard buffer? Software Development assembly | |
I am working on a small application in VB.NET. The program needs administrator privilege for doing some tasks. Is there a way to ask for administrator privileges during the execution if the program? What is the general way of changing the user account under which the application is running? Actually … | |
![]() | Hello Guys , I am new to NetBeans , any idea what is the meaning of these icons ? Thanks Software Development java java-netbeans ![]() |
Hello everybody, Ι want to make an application that does multiple mathematical actions such as solving second degree equations and indentities I've created all the forms I need for it work but I cant create the main form that the user will use to choose what action will be executed, … Software Development vb.net visual-basic | |
![]() | Hello Guys , When I checkout code from svn i get this error message any idea to fix this issue ? I use netbeans 7.3.1 , plugin subversion.  Software Development java java-netbeans |
I have just started to learn java..!! I'm trying to implement some C++ programs in java.. Some of them are working perfectely. But this is the only program which is not working.. It's showing 2 errors at br.readLine().. I don't know what to do.. Kindly please have a look on … Software Development java | |
Hi all, I'm using vb6. I'd like to get number of copies when user printing. It means that after I adjust all information in vslexgrid and print it by vslexgrid.printgrid "",true,10,20 after that print preview dialog appear and number of copies can be entered by users. I want to get … Software Development visual-basic | |
Hello, I have used taylor polynomials to approximate floating-point values before. I am wondering whether there is a way to still apply them to functions with complex arguments, and if there is a way what its constraints would be. For example, to calculate the sine of a floating-point number to … Software Development mathematics |
The End.