132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for silvercats

I can't find the error. Logical error. Total and tax comes as 0. After logging in,enter a desired item number. press 0. then total comes as 0. #include <iostream> #include <conio.h> #include <string> #include <cstdlib> using namespace std; void mainfunc (); void Exit(); struct menuItemType {int itemno;double price;string menuItem;}; void …

Software Development c++
Member Avatar for silvercats
0
172
Member Avatar for johnnydiamond08

Hello, I keep getting errors saying "Invalid conversion from pointer to integer and I have tried both of the following operators * after the variable as well as & and nothing seems to work. All input is greatly appreciated. Thank you all for your time. void Stack::print( ) { StackPtr …

Software Development c++
Member Avatar for Moschops
0
327
Member Avatar for Teefy

I want to perform Gaussian Elimination on a matrix which is read in as a text file. The format of the text file is as follows: 3 1 3 2 5 0 2 4 4 3 0 9 1 where the first line is the dimension n of the matrix, …

Software Development c++
Member Avatar for phorce
0
419
Member Avatar for mariocatch

Hey All, I'm an avid c++ programmer, fairly new to C#. I understand most the basics and I can get simple tasks complete in C#. I'm looking for any links to tutorials on writting a scripting language in C# if anyone has/knows any. In relation to this question, I seem …

Software Development c#
Member Avatar for fletcher.cutting.9
0
387
Member Avatar for nesa24casa

Hello people, i have made this .bat few years ago and its working fine for changing gateway getaway 192.168.1.1 @echo off netsh interface ip set dns name="Local Area Connection" source=static addr=192.168.1.1 netsh interface ip set address name="Local Area Connection" source=static addr=192.168.1.11 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=0 exit getaway 192.168.1.5 @echo off netsh …

Software Development dns
Member Avatar for nesa24casa
0
181
Member Avatar for greatman05

First off, this is a homework assignment. I am in a Software Engineering class and we're learning how to work with MFC. We're editing a basic calculator app. I don't know how to implement the backspace button (delete a single character from the edit box when the Backspace button is …

Software Development c++ engineering
Member Avatar for Ancient Dragon
0
324
Member Avatar for IsaacMessi10

How do you get the URL of a Web Page in VB.NET ? Thanks in advance.

Software Development vb.net
Member Avatar for deceptikon
0
295
Member Avatar for igalbk

Hi I attached here a code that i have a problem with. the function CheckStatusCode() suppose to connect to uri and check the http response status. it should display on the screen the status received. usually the status is "OK" (200). but for instance if the page doesn't exist the …

Software Development http-protocol
Member Avatar for honeyxyz
0
702
Member Avatar for lorenzocalzaretti

Hi everybody, I'd like to know if there is a way to retrieve the id of a youtube video when it plays in a youtube xl page because on youtube xl the url is always "http://youtube.com/xl/" on any video. Thank you in advance.

Member Avatar for tinstaafl
0
268
Member Avatar for Andy_01

Hello, I'm trying to fill a shape using TexturePaint in java. However when i'm running the codes i'm having the following errors: Exception in thread "main" java.lang.Error: Unresolved compilation problems: ImageIO cannot be resolved IOException cannot be resolved to a type at Textures. import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import …

Software Development java java-swing
Member Avatar for Lucaci Andrew
0
475
Member Avatar for Lobster1071

OK, I've exhausted my searching, so if someone can point me to a link with a good example, that would be super. I'm simply trying populate a combobox with data from an Access table (it's a simple contact list with Name and Number). Every example I find and try, I …

Software Development microsoft-access open-source vb.net
Member Avatar for Lobster1071
0
1K
Member Avatar for m_ishwar

Hey this bit of code is giving a lot of trouble. I am new to python and have no idea why I am getting an error like this : Traceback (most recent call last): File "D:/Python27/saved/digital_filter.py", line 83, in <module> app=Application(root) File "D:/Python27/saved/digital_filter.py", line 23, in __init__ self.create_widgets() File "D:/Python27/saved/digital_filter.py", …

Software Development gui python tkinter
Member Avatar for m_ishwar
0
196
Member Avatar for yossi.hazan.5

im keep getting ror: expected identifier or '(' before '.' token|error: expected expression before what am i doing wrong? #include <stdio.h> #include <conio.h> #include <stdint.h> int main() { typedef struct { char name[20]; char year[20]; int inout[20]; }movie_rent; movie_rent[20]; int i,sum=0; FILE *myfile; if ((myfile = fopen("mov.txt", "rt")) == NULL) …

Software Development c
Member Avatar for yossi.hazan.5
0
118
Member Avatar for ct2944

How to solve java.lang.NoSuchMethodError: main Exception in thread "main" when i run it produce Exception in thread "main" java.lang.NoSuchMethodError:main this is coding import java.awt.; import java.applet.; public class Sepah extends Applet{ public void paint(Graphics g){ g.setColor(Color.green); g.drawLine(100,100,10,140); g.drawLine(100,100,150,120); g.drawLine(290,120,400,130); g.drawLine(410,130,500,100); g.setColor(Color.black); g.drawLine(150,80,220,40); g.drawLine(220,40,290,80); g.setColor(Color.yellow); g.fillRect(150,80,140,140); g.setColor(Color.orange); g.fillRect(170,110,40,40); g.setColor(Color.orange); g.fillRect(230,110,40,40); g.setColor(Color.black); …

Software Development java
Member Avatar for adikimicky
0
101
Member Avatar for TBSouth

Hi. I'm currently working on my bachelor's thesis in which i'm hoping to assess whether a (simplified) programming exam generates a "better" result if taken in an adjusted computerized environment compared to taking it with only the use of pencil and paper. I have built a web based platform, with …

Software Development python
Member Avatar for TBSouth
0
166
Member Avatar for razor2890

Hey guys!!! Just found this wonderful forum.....Thanks for the guys who run this forum.. I am an Elec. & Telecom engineer... I understand Java Programming & I have more than 90% of the concepts of core-java and good knowledge of jsp,servlets,struts....I have some basic knowledge of oracle.... I have a …

Member Avatar for razor2890
0
271
Member Avatar for kenney.d.lewis

this code compiles, but when i run the program, it outputs "floating point exception". to my knowledge this happens when you divide by 0, but ive worked it out on paper, and i am not dividing by 0. its the method implementation for a class. if you need it i …

Software Development c++
Member Avatar for Moschops
0
260
Member Avatar for Bile

-->>SOmething is Confusing Me or Doesn't provide Me with actual Results I needed... -->>I want to Calculate some Numbers and Its result if It has more than 3 decimal places... -->>I want it to be rounded only to 2 decimal palces... -->>What I dont want is that when I use …

Software Development visual-basic
Member Avatar for AndreRet
0
303
Member Avatar for dreamslct

**Hi forum, I've got a question for the pros. I am making a program that has map<String, String> map = new TreeMap<String, String>(); and a Scanner to read a file contains some data which is assigned to map.put(); method. The data is something like this: UK USA Canada Australia etc. …

Software Development java
Member Avatar for dreamslct
0
238
Member Avatar for Ashenvale

Hi everyone! I'm new to using VB and apparently I'm having a problem with the value being displayed in a textbox Here's the thing: Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click If DGV2.SelectedRows.Count = 0 Then Exit Sub End If DGV2.Rows.Remove(DGV2.SelectedRows(0)) Dim Sum As Decimal …

Software Development vb.net
Member Avatar for Ashenvale
0
633
Member Avatar for macdunk11

I am trying to read in from a .dat file, which includes a list of names a line of asterisks and a list of numbers, JUST the names in the file into nodes to be used in a linked list. All of the names will be before the line of …

Software Development file-system java linked-list
Member Avatar for Lucaci Andrew
0
5K
Member Avatar for hueikar

Hi, I would like to export data from datagridview into excel? Can show me some example to do it? Appreaciate it!

Software Development visual-basic
Member Avatar for softwareskill
0
1K
Member Avatar for killer88
Member Avatar for tinstaafl
0
155
Member Avatar for somjit{}

this code gives the correct result upto size 6 (i'v run this a few times, and 6 seems to be the boundary), although the intermediate steps are all insane! then onwards, from size 7, it returns minimum value 0 /*minimum of an array using recursion*/ #include<stdio.h> #include<stdlib.h> int findMin(int* arr,int …

Software Development c
Member Avatar for somjit{}
0
362
Member Avatar for achinthaadd

im junir for vb 2010, im tring to make small program, which when select picture in opendialog,( give path of image into text box(txtGrupAddNewArtWrokUploadImage.Text) ) copy to folder(ArtWork) which in application installed folder. i try to filecopy command using give target path like"c:\temp\image.jpg" command is working but when i chenge …

Software Development assembly vb.net
Member Avatar for achinthaadd
0
284
Member Avatar for XEN0

Just wondering here what is a efficent way to communicate between a Windows Form project and a console application. So far im using Visual Studio 2012 and the System.IO.Pipes namespace,to send bytes between the application. In the windows form(as client) Dim pipes As NamedPipeClientStream pipes = New NamedPipeClientStream("A Digital Whirlwind …

Software Development gui microsoft vb.net visual-studio
Member Avatar for XEN0
0
362
Member Avatar for menonnik

Where can i download the various header files for dev c? sys/types.h sys/socket.h netinet/in.h arpa/inet.h and also structure sockadder and it's derivatives

Software Development c
Member Avatar for Nagendra Prabhu
0
216
Member Avatar for OM PARWANI

I want to create antivirus in vb.net can any one tell me how to start creating antivirus as i am new one to .net it's an urjent please help

Software Development vb.net
Member Avatar for XEN0
0
780
Member Avatar for phorce

Hello, I have a question. I'm not sure I am using the right terms or anything here, but, I have seen people develop their "projects" (classes etc..) and then creating a .dll file (or .lib) and then importing the files when they need them. But I cannot seem to get …

Software Development c++
Member Avatar for phorce
0
360
Member Avatar for padton

I have over 10 text files, each file has exactly 2671 floats e.g. 1.232124234 #line 1 2.324234323 #line 2 . . 1.324234234 # line 2671 I would like to the add together the floats on each line with the float on the corresponding line for each of the 10 files, …

Software Development mathematics python
Member Avatar for snippsat
0
225
Member Avatar for VernonDozier

I am looking for a portable method of checking whether overflow has occurred when multiplying unsigned integers. The way I have always done it in the past is to turn my unsigned integers into uint64_t's, multiply, then create a uint64_t with a value of 2 to the 32nd power and …

Software Development c++
Member Avatar for deceptikon
0
176
Member Avatar for rfrapp

I'm writing maze traversal for a school assignment, and I've got an issue. The X will move through most of the maze, but then it will get stuck at a position and keep cycling through. This is probably because I'm not checking properly to see if it hasn't been to …

Software Development c++ programming-construct
Member Avatar for rfrapp
0
914
Member Avatar for eric.i.perez

1.Make and run a program that will output all the prime numbers from 1-100. (FN do prime) 2.make and run a program that will allow the user to input 10 numbers and display the total number of positive and negative numbers entered. 3. write a program that reads numbers until …

Software Development c++ programming-construct
Member Avatar for NathanOliver
0
145
Member Avatar for illuss

Hi guys, So i wrote a little code, not fancy, to convert a signed decimal to its binary representation using two complements. char immeStr[17]; int main(){ int neg = 0; int i = 0; int bit = 6; char binaryNum[bit+1]; int z1[bit+1]; int temp = -30; int k; int cout …

Software Development c display
Member Avatar for deceptikon
0
166
Member Avatar for JamesGeddes

Hi Everyone, I need to write to a text file that is located on my website Currently, I have the following code to let me read from a text file on my website [CODE]HttpWebRequest reqFP3 = (HttpWebRequest)HttpWebRequest.Create("http://jamesgeddes.com/tracknan/phone3.txt"); HttpWebResponse rspFP3 = (HttpWebResponse)reqFP3.GetResponse(); Stream st3 = rspFP3.GetResponseStream(); using (StreamReader sr3 = new …

Software Development c# file-stream
Member Avatar for softwareskill
0
770
Member Avatar for rithish

#include <stdio.h> int main(void) { int ten = 10; int two = 2; printf("Doing it right: "); printf("%d minus %d is %d\n", ten, 2, ten - two ); printf("Doing it wrong: "); printf("%d minus %d is %d\n", ten ); // forgot 2 arguments return 0; } hello actually i coulnt …

Software Development c
Member Avatar for Lucaci Andrew
0
137
Member Avatar for aVar++

Hi guys, I got this from my teacher and im really confused. could anyone point me in the right direction? Thanks > What does it do? > > This time I'm looking for an overall summary, in one sentence, with the word "by" in the middle: > "This function ..........., …

Software Development algorithm python
Member Avatar for Lucaci Andrew
0
234
Member Avatar for sk8ergirl

hi I'm working on my hw and I have problem I know how to read file from data and split each line using array now I want to use arrayList .. I want to read the data from the file and create arrayList and then split each line and create …

Software Development java java-swing
Member Avatar for tux4life
0
777
Member Avatar for raaif

Hi again, I am trying to read an XML file in this format; [ICODE] <?xml version="1.0" encoding="utf-8"?> <words> <word id="Apple" def="A fruit" /> <word id="Dinosaurs" def="Now Extinct Animal" /> <word id="Giant Panda" def="An Endangered Animal" /> <word id="Asia" def="The Largest Continent" /> ..... </words> [/ICODE] I have more than 3000 …

Software Development apple vb.net xml
Member Avatar for softwareskill
0
237
Member Avatar for buffalo0

Hi I have what I think is a simple problem but after much searching cant seem to find a solution. I have an xml file stored on an web server and I need to read the data using vb.net for a smart device application. I also need the ability to …

Software Development asp.net vb.net xml
Member Avatar for softwareskill
0
5K
Member Avatar for jkdil33

Hi, I have a problem I want to save the values in user controls(textboxes) to an XML file(If not to text file) I want this to be done when client clicks on save data button I want to read the values in XML file(If not to text file) to user …

Software Development asp.net vb.net xml
Member Avatar for softwareskill
0
222
Member Avatar for sk8ergirl

hi I'm working on my hw and I have problem I know how to read file from data and split each line using array now I want to use arrayList .. I want to read the data from the file and create arrayList and then split each line and create …

Software Development java
Member Avatar for tux4life
0
159
Member Avatar for Jon BH

Hi I'm trying to locate some java that will allow a preview images, and float large display on roll over. The setup will be a list of customers and a small thumbnail. On rollover a large image centre screen on top with a text description below. Mouse out will clear …

Software Development image java
Member Avatar for Jon BH
0
124
Member Avatar for initialise

Hi All, I have two major problems and they may or may not be linked. My main problem is with an application that I am creating. So far, I have only created the GUI using Netbeans 6.8. When I run the app through Netbeans then everything works fine. However, when …

Member Avatar for adisri
0
448
Member Avatar for nivert

so i'm making a project for a buddy that's going to (eventually) ask a word, then it's definition, and I need 50 entry boxes on the screen, but there must be a simpler way to grid all of them (I'd like to use a sort of for loop instead of …

Software Development python tkinter
Member Avatar for Lardmeister
0
10K
Member Avatar for raj REDDY

suppose the input is 1,2,3,5-14,16-20,-25,31- :the program must print output: 1 2 3 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 0 1 2 3 ...........25 31 32 33..... til end of file I WAS REJECTED FROM MY LAST ROUND OF INTERVIEW BECAUSE …

Software Development c printer
Member Avatar for raj REDDY
0
201
Member Avatar for notconfirmed

Hello, I develop a simple script that capture the product using .net WebBrowser control. this is the link http://www.groupon.cl/descuentos/multiple-locations/desde-39900-por-8-sesiones-de-depilacion-ipl-en-axila-rebaje-de-bikini-con-opcion-a-zona-facial-en-estetica-carola-rodriguez-hasta-90-off I have a problem in getting the time in jquery count donw control. Please help me to find a solution. Regards, jeffrey

Software Development asp.net javascript-jquery web-browser
Member Avatar for cursedbustah
0
262
Member Avatar for mateusz.baran1

Hello I would like to ask how to change button "Open" to "save" when iam using JFileChooser public void actionPerformed(ActionEvent e) { Object zrodlo =e.getSource(); if(zrodlo == mSave)//zapisywanie pliku { JFileChooser fc = new JFileChooser(); fc.setSelectedFile(new File(fileName)); fc.setFileSelectionMode(JFileChooser.FILES_ONLY); FileNameExtensionFilter filter = new FileNameExtensionFilter( ".txt and .java files", "txt"); fc.setFileFilter(filter); if …

Software Development java
Member Avatar for mateusz.baran1
0
1K
Member Avatar for nUmbdA

#include <iostream> using namespace std; int main() { //declare variables const double FEE = 10.00; double total_fee, charges, checks; //display header information cout << "Chapter 4 Homework\n\n"; //request input from user cout << "Enter number of checks written this month "; cin >> checks; cout << "\n"; if (checks = …

Software Development c++
Member Avatar for nUmbdA
0
153
Member Avatar for A Haunted Army

i'm having a bit of a problem getting my collision handler to work correctly, my collision detection works fine but handling the movement after the collision is where things have gone a bit buggy. the idea is that if the object is colliding horizontally it will be moved back before …

Software Development c++
0
79

The End.