132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for th3learner

Can anyone tell whats wrong in below code? I m learning c++ ..so maybe this ll be very easy solution for you guys[code]Hello i m learning c++ ..so maybe this ll be very easy solution for you guys #include<iostream.> #include<conio.h> void main() { int a,b,c; clrscr(); cout<<"Enter Your 1st Value"; …

Software Development c++
Member Avatar for th3learner
0
149
Member Avatar for alkeshtech

Hey guys, what are advantages of external and internal iterators? I understand that internal allows you to add and remove nodes as it has implicit reference to data in the outer class? So, why would we need an external iterator? What are pros and cons of both?

Software Development java
Member Avatar for JamesCherrill
0
124
Member Avatar for ekonagu

helo i am developing an vb.net access application.i am frustrated with this access that i am getting error while updating records. Data Type Mismatch In criteria expression here is the code , if i run the sql statement its works fine .but thru vb.net its giving error.i am not understadning …

Software Development vb.net
Member Avatar for TomW
0
525
Member Avatar for bliya123

#include <stdio.h> #include <math.h> #define PI 3.141593 // prototype of function to find the great circle distance between two points double gc_dist(double, double, double, double); int main(void) { double lat1, long1, lat2, long2; printf("Enter latitude north and longitude west "); printf("for location 1 : "); scanf("%lf %lf", &lat1, &long1); printf("Enter …

Software Development c++
Member Avatar for VernonDozier
0
212
Member Avatar for dre-logics

I have Visual basic 8.0 and use Statusstrip . whenever I change the [COLOR="Red"]height to 50 [/COLOR]will change automatically changed back to default. What am I doing wrong I go to properties of Statustrip1 Size Width = 616 Height = 22 I change to Size Width = 616 [COLOR="Red"]Height = …

Software Development vb.net visual-basic
Member Avatar for TomW
0
442
Member Avatar for iamthwee

Hi guys, I've come to a road block so i need some help. 1)I have an exe which i need to run at start up. So I put the following bash file in the inid.d directory: [code] #!/bin/bash # # . /etc/rc.d/init.d/functions EXE_DIR="/root/monkey-0.9.2/bin/" EXE_NAME="monkey" ############################################################# #################### Functions ############################## ############################################################# function …

Software Development shell-scripting
Member Avatar for iamthwee
0
207
Member Avatar for dkalita

hi I want to retrieve the contents (including the tables) from a .doc file using C in linux. If I can get the representation of the .doc file, then also I can proceed. I have though done that but it has some bugs because I am using a logic which …

Software Development c
Member Avatar for dkalita
0
168
Member Avatar for ayeshawzd

i want to know try n catch code which i can use for space bar during entering user name

Software Development
Member Avatar for ayeshawzd
0
219
Member Avatar for low1988

Is there anybody could tell me what does this function use for?For example : [CODE] String strTemp = JOptionPane.showInputDialog(null,"Please Enter C To Open A Current Account \n Or J To Open A Joint Account"); switch(strTemp.charAt(0)){ case 'c': case 'C': //code statement break; case 'j': case 'J': } [/CODE] Basically if …

Software Development java
Member Avatar for low1988
0
708
Member Avatar for ShailaMohite

Hi, I am create one application using c# and Ms Access 2007 which is run on one machine how to run this application on LAN. suppose keep database on one machine how to access database from another machine Regards, Shailaja

Software Development
Member Avatar for DdoubleD
0
98
Member Avatar for PyroPaul2

Hi all. Could anyone give me a pointer please? I've almost finished a project I'm working on but have one last issue to resolve. I have an image on a form that I apply a colour gradient to. However, when I grab this to create a bitmap (this.DrawToBitmap(BackGroundBmp, BackGroundRect);) I …

Software Development c c# c++
Member Avatar for DdoubleD
0
317
Member Avatar for jp071

Hi, I want to split a char string. We can use “strtok” function for split a string by using token. But in my problem, there is no specific separation/token between each value. The data directly come from an external device through the serial port. I used “ReadFile” function to read …

Software Development c++ visual-studio
Member Avatar for iamthwee
0
112
Member Avatar for yorro

Why am I getting this error during design time? [B]Error Number 5: Key cannot be null [/B] [CODE=vb] If Me.Visible = True Then If RetrieveSubjectsAndSection(Username, Subject) = True Then InsertSubjectsAndSection(Username,Subject) End If End If [/CODE] [B]RetrieveSubjectsAndSection[/B] function checks if record exist. The code is written inside a Usercontrol. Also I …

Software Development vb.net
Member Avatar for yorro
0
91
Member Avatar for MadSkyrim

I have an assignment due in 2 days and I've hit a bit of a wall. I have a client program which receives parts of a file from multiple servers and combines them into the original file. The client can receive the files without a problem but wont combine them …

Software Development c
Member Avatar for MadSkyrim
0
96
Member Avatar for tomtetlaw

I want to be able to extract the file info of music files(title, artist, album, genere, ect.) and then rename the file to the title of the music track. But I don't know anything about this and have no idea where to start, can someone tell me?

Software Development c++ file-system
Member Avatar for iamthwee
0
62
Member Avatar for avirag

hello Sknake......I need your help once again.......... In my application I have made forms on which there are two panels each having a picturebox. Here, when user enters the string in textbox for searching and the Text(caption) of the matched string are displayed. But I want that it should display …

Software Development display listview
Member Avatar for avirag
0
298
Member Avatar for ejazmusavi

Hi everyone I have a datagridview with a checkbox culumn. I want to check whether the check box cell is checked or unchecked. my code is as below. it does work for the checked cell but when i uncheck one of the checked it does not remove it from the …

Software Development vb.net
Member Avatar for sknake
0
370
Member Avatar for yorro

I am coding like usual, haven't click anything I don't know. Then suddenly I got an error [B]"Could not find type 'LFRv2.AdminTabEdit'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has …

Software Development assembly vb.net
Member Avatar for yorro
0
655
Member Avatar for The-IT

Hello all, I have been doing some work on my HTML editor lately, and I have come to a (what seams like a) dead end. The file its self is about 3.7kb smaller than my text editor, ProssesIT, and yet it fails to run any where near as smoothly. When …

Software Development python tkinter
Member Avatar for jlm699
0
3K
Member Avatar for farsen

Hi. I am about to program a piece of software which contains a single server, and about 20-40 clients. All parts can be spread out on a lan, or on a wan. The server shall be able to broadcast/multicast to the clients in some way, and the clients should be …

Software Development client-server lan-wan
Member Avatar for farsen
0
110
Member Avatar for Krondorl

Greetings, I have a workbook that has 600+ rows of information. I want to iterate through all the rows and copy sections from that sheet to a new workbook that is created on the fly. The following code is what I am using to attempt this, but the .Range line …

Software Development visual-basic
Member Avatar for AndreRet
0
204
Member Avatar for HelloMe

hello guys im just doing a pos project and i wanted to ask how to print a receipt. im so far that i can sell items and display the change money...but after that i need a receipt to be printed. Can u maybe give me an idea how to do …

Software Development visual-basic
Member Avatar for AndreRet
0
123
Member Avatar for EvilLinux

Hi, its me again, I promise this should be quick and simple because I have an idea of what needs to be done. I'm working on my form (if you saw my other post its basicly a grade book with 5 forms). Is there any simple way to write the …

Software Development file-stream file-system
Member Avatar for EvilLinux
0
1K
Member Avatar for OffbeatPatriot

I just made a program using JOGL and one problem I'm having is that if I don't include the arguments -Dsun.java2d.noddraw=true and -Dsun.awt.noerasebackground=true then the screen flashes and sometimes just stops refreshing until I jiggle it a little If I include these arguments everything is perfect but my intention is …

Software Development java
Member Avatar for OffbeatPatriot
0
91
Member Avatar for shroomiin

Hello all, i was just introduced to objects and am trying to construct a program using get/set. i just want to set the user read variable and read it back. I have it almost figured out but for some reason it will not display anything for the value. heres what …

Software Development java
Member Avatar for javaAddict
0
124
Member Avatar for keekee

Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j ava:240) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) [CODE]import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.FlowLayout; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Image; import java.awt.Toolkit; import java.awt.Dimension; import java.net.URL; class Inventory { String number; // item number String name; // item name int …

Software Development gui java java-swing
Member Avatar for masijade
0
189
Member Avatar for Dragazarth

Im really new to Python and I just learnt about Quadratic equations in maths, and so i made it made it my project to make a quadratic solver. But i have a problem i have a line [iCODE]if tocontinue == n:[/iCODE] I try to run it in IDLE and i …

Software Development python
Member Avatar for Dragazarth
0
91
Member Avatar for UmH

hi , i'm new in programming world i want to write c++ class in c it was ok .. when i change to c++ i've problems [CODE] #include <iostream> using std::cin; // using std::setprecision; using std::cout; using std::string; using std::endl; // using std::streamsize; class STD1{ int id; string name ; …

Software Development c c# c++ visual-studio
Member Avatar for dattu mhaismale
0
171
Member Avatar for Nerrisa

How can one update automatically the tables in Ms Access such that once you input an item it is automatically viewed to other tables that are related to that particular table in relationship and the methods used to link Ms Access contents to Visual Basic Interfaces created according to the …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
116
Member Avatar for GooeyG

I'm designing a game "Battleship" and I can't get get rid of a syntax error in the header file. I'm using a 2-D array for my grid. The error is: error C2059: syntax error : '{' The error seems really simple, but for some reason i can't get rid of …

Software Development c++
Member Avatar for VernonDozier
0
147
Member Avatar for xirosen

Anyone please give an idea on how to create text box & label control during run time... Anyone pls..

Software Development visual-basic
Member Avatar for abu taher
0
135
Member Avatar for c+++

hi, who can give me the address offset's time of system

Software Development assembly
Member Avatar for NotNull
0
85
Member Avatar for sebassn

Please, can someone help me in this exercise, because I really don't know too much about swaping!...I dont need to write the whole code, only a part of it when it's shown how I swap and round them... _____ Write the code that swaps the value of two int variables. …

Software Development c++
Member Avatar for sebassn
0
113
Member Avatar for StarZ

I've got the codes all done; so its looks like this: [code]public class RightTriangle { public static void main(String[] args) { Triangle shape = new Triangle(); shape.setBase(4.0); shape.setHeight(5.0); System.out.println("The base of the right triangle is " + shape.getBase()); System.out.println("The height of the right triangle is " + shape.getHeight()); System.out.println("The area …

Software Development python
Member Avatar for StarZ
0
265
Member Avatar for VirtueAL

Hello. This is my first post! I'm having some difficulty with this code. I have a light-bulb which is attached to a powerplug. When the mouse clicks the power plug, the light-bulb turns on, and turns off when clicked again using mouse events. Now I want to create more light-bulbs, …

Software Development java
Member Avatar for quuba
0
101
Member Avatar for tkud

This code draws different shapes to the screen,(in this version, only a square or a cross. It will be updated soon!!). This code was written by a beginner, for the beginners!!

Software Development c++
0
190
Member Avatar for toomuchfreetime

Hey all, I'm doing my final year in collage and have come up with an idea of using rfid readers and chips to track peoples movement within a defined zone. I've been told that i will be using JBoss but that hasn't been nailed down yet. What i need help …

Software Development java
Member Avatar for toomuchfreetime
0
190
Member Avatar for junioryz

Hi, I need someone to put me on the right track as I need to read a Notepad file that contains the following: int mappy2_map0[4][4] = { { 0, 23, 23, 0 }, { 0, 23, 23, 0 }, { 0, 23, 23, 0 }, { 0, 23, 23, 0 …

Software Development c++
Member Avatar for K0ns3rv
0
146
Member Avatar for jrkeller27

I am writing a sample chat-like function to learn how to use sockets in unix. I am using gcc. To send between clients of a tcp connection I need to encapsulate a bunch of different data: [code=c] typedef struct { short type; int messageID1; int messageID2; short messageID3; int ipAddr; …

Software Development c socket-programming unix
Member Avatar for gerard4143
0
830
Member Avatar for triumphost

I think I have to the code right cuz it all compiles perfectly except when its done running, and I go to my documents, I dont see my directory... [code] #include <iostream> #include <windows.h> #include <winuser.h> #include <stdlib.h> #include <string> #include <stdio.h> #include "stdafx.h" #include <lm.h> #include <assert.h> #include <fstream> …

Software Development algorithm c++
Member Avatar for triumphost
0
197
Member Avatar for infinities

I don't think I've ever successfully linked a library before. I'm using the Code::Blocks IDE and I have installed the Windows SDK. I've tried going to Settings -> Compiler & Debugger settings -> search directories tab and adding "...\Microsoft SDKs\Windows\v7.0\Include", but when I try and compile a simple source code …

Software Development api c++ ide windows-api
Member Avatar for K0ns3rv
0
88
Member Avatar for DustinS

For some reason, the row header is being automatically set to the same value that appears in the adjacent cell in the first column. I can set and get HeaderCell.Value, but it has no effect on what is displayed. [CODE] If I (manually or programmatically) enter: Length Radius Obj 1 …

Software Development vb.net
Member Avatar for DustinS
0
413
Member Avatar for vileoxidation

Hello! Thank you for taking the time to help me out! I am working on a program that maintains information about staff members, such as volunteers, and full time and hourly employees. I am having two problems with the program. First, I have most of the code written already, except …

Software Development c++
Member Avatar for vileoxidation
0
249
Member Avatar for Joe Hart

I had asked this question and thought that I had it solved but I could not get the text defined as variables. Below is the text file. I would like to specify a line and the length and set that to a variable. In the Example below the items in …

Software Development file-system python
Member Avatar for Joe Hart
0
123
Member Avatar for masterofpuppets

Hi all, for some time now I have been trying to practice developing python games and I've had a really annoying problem. I want to use image files but most of the time the picture itself is not a regular rectangle but an oval etc. and the thing that I …

Software Development image python
Member Avatar for ov3rcl0ck
0
137
Member Avatar for preet4fun

A bank updates t customers'' accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer's balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 …

Software Development c++
Member Avatar for puranchandra248
0
2K
Member Avatar for yeya

Hi, I wonder if there is some open source C++ library for creating SWF movies, something like SWF Scout but open source? Thanks!

Software Development c++ open-source
Member Avatar for jbennet
0
190
Member Avatar for crazyboy

Hello friends ... i want to call mouse click event on any icon or button ... but i dont want to press click from my mouse.. i want to do it through code... any help plz???

Software Development
Member Avatar for DdoubleD
0
138
Member Avatar for jonnytabpni

Hey folks, I have an Epson POS printer which support printing via my COM port using ESC/POS. This all works well in my c# app. I have used Epson's BMP converter tool to convert a bmp file to a binary file which can be sent directly to the printer. How …

Software Development file-system printer
Member Avatar for sknake
0
862
Member Avatar for infern0

I'm have serious trouble with this program. The average and the range do not work. The program runs...I just don't know how to fix this. Please help. I have to find the average and the range of an unlimited number of integers between 0 and 100. [CODE] #include <iostream> using …

Software Development c++
Member Avatar for infern0
0
101

The End.