132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sixtysecasasin

I am using VC++. I want to display to the user all data that is stored in an input file and an output file. My input file contains the following so far but will continue to grow as the user uses it: 100.00 123.45 234.56 212.45 Here is what my …

Software Development c++ display file-system ios
Member Avatar for Ancient Dragon
0
135
Member Avatar for Jon182

Hey guys I am using code that does the following: [code] cin.ignore(); cin.getline(file, 250); ifstream test; test.open (file); if (test.fail()) { cout<<"error"<<endl; exit(1); } ... [/code] The problem is that if a file name is entered that does not exist for example c:\\fred.txt the error message will not appear and …

Software Development c++
Member Avatar for Jon182
0
171
Member Avatar for Armando.Zamora

Hello, I have a windows application on VB.Net and I connect it to a MS Access database placed on a server. This application is multiuser (50 users aprox reading and writing data), all of them can access the application at the same time with no problem. This application works Fine …

Software Development vb.net windows-server
Member Avatar for Armando.Zamora
0
121
Member Avatar for Prestwick

Hello all, Essentially a newbie to shell scripting (and Unix/Linux as a whole!) Essentially doing this project for my year in work placement. Essentially it is a script which searches for specific files and backs them up to tape. However I need to modify said script so it can verify …

Software Development first-post shell-scripting unix
Member Avatar for Prestwick
0
204
Member Avatar for student_help

Hi I am trying to open other programs in a PDA using C# Compact Framework. Would anyone be able to advise me on how it would be possible to go about this. This programs all exist external of my program but they are meant to be open throught the one …

Software Development
Member Avatar for plazmo
0
150
Member Avatar for perlsu

Hi all, My csocket program is as follow. The program run properly but the server don't wait the message from client and the client also don't send. Can anyone help me what's the problem in client server communciation API. Thanks a lot in advance. #include <afxwin.h> // MFC core and …

Member Avatar for WolfPack
0
238
Member Avatar for Black Knight

Hi Just wondering if anyone can help. I have a gui and have assigned a KeyListener to it, It recognizes keyboard input for standard keys but doesnt seem to recognise special keys like shift and function keys? Is there some special way to be able to get it to react …

Software Development gui java
Member Avatar for Black Knight
0
169
Member Avatar for Frank0051

Alright I have been using the setSize method for the JSlider to try to set it's size but it seems to be having no effect what soever. I have the JSliders instead a JPanel that is using a GridBagLayout, the JPanel is then being adding to another JPanel which uses …

Software Development java
Member Avatar for jwenting
0
190
Member Avatar for osean

Hi, i've started to use time.h and i'm needing help with something.. basically, i want to be able to return the specified number of seconds in a week/day/hour/minute/second format very similar to that of mIRC's $duration(). I've done it before but I can't remember what I did.. i know how …

Software Development c++
Member Avatar for osean
0
171
Member Avatar for ahkeah

im studying C++ and am having a problem with multiplying two arrays of integers. can i get help with setting up a loop that gets the size of the first array and the second array. then multiply the last integer of the second array with all the integers in the …

Software Development c++
Member Avatar for ahkeah
0
208
Member Avatar for rich_m

Anyone here got this [URL=http://www.sesfocus.com/education/catalog/CX-310-035.html]java certificate[/URL].

Software Development java
Member Avatar for rich_m
0
88
Member Avatar for Alexander1987

I need a python-based network library for a game, any sugestions?

Software Development python
Member Avatar for monkeyy
0
166
Member Avatar for Slavrix

hey boyz/girlz i need to make a code for a server status checker, how would i do it? at the moment the server is checked by using this [url]http://deep.phpwebhosting.com/~paradox/Chaos%20Knights/ServCheck/ServerCheck.php[/url] how can i convert that into a simple program that can run on the desktop?

Software Development visual-basic
Member Avatar for Slavrix
0
429
Member Avatar for Texpert

Hi, in the .NET 1.1 and VB application, I am calling a store procedure [SQL-SERVER 2000] in a subroutine. the store procedure simply SELECTs rows from tables and returns data, when I try to use the data to fill the web form, it works fine until it hits any column …

Software Development sql vb.net web-server
0
136
Member Avatar for Stoney

I an doing a program that uses the READ DATA statements. My problem is I can't print the headings. My program reads the data and displays it, but no heading before it. My other problem is adding up all the Pieces in the problem to display a total. I know …

Software Development display
Member Avatar for Stoney
0
151
Member Avatar for perlsu

When I run my program, the following error occurs. If anyone knows how to solve this error, pls help me. Thanks a lot in advance. Rgds, perlsu fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, …

Software Development c++
Member Avatar for SpS
0
198
Member Avatar for thinhbk1802

Hi everybody. I have a problem with my program. I want to make a program that can display the Fibonacci, but the number of term i must display is 2147483647. So there is a float number problem. How can i do it with fast speed.

Software Development c display
Member Avatar for SpS
0
111
Member Avatar for Alvein

Hi, This is a boring problem, long to explain. I will try to make things simple. There is a C library that has a function with this interface: [CODE]void ne_set_server_auth(ne_session *session, ne_request_auth callback, void *userdata);[/CODE] Where ne_request_auth is declared this way: [CODE]typedef int (*ne_request_auth)(void *userdata, const char *realm, int attempt, …

Software Development c++ session
Member Avatar for Alvein
0
152
Member Avatar for muthuivs

I need to change all the chancters from a string to uppercase. the toupper() function only works for charachters but not strings. My program looks like this: int main() { string myString; cout<<"Enter the String : "; cin>>myString; myString = toupper(myString); //this doesnt work, i guess since its not char. …

Software Development c++
Member Avatar for beuls
0
253
Member Avatar for Acidburn

Hello, I've got a function that returns a memory addres of an array. However making the char * static seems to be the only solution. However it since its static it doesnt get cleaned out so everything is kept. [code] #include <iostream> // cout << endl ... #include <fstream> // …

Software Development c++
Member Avatar for Narue
0
275
Member Avatar for JoBe

Hello ladies and gents, I had to do the following exercise: Write a (1)function that reads words from an input stream and stores them in a vector. Use that function both to write programs that (2)count the number of words in the input, and to (3)count how many times each …

Software Development algorithm c++ file-stream google
Member Avatar for JoBe
0
112
Member Avatar for murschech

Calling all Dev_C++ users, Here's a mystery! The following little program, which determines whether one integer is a divisor of another or not, compiles and runs fine using Borland's bcc32. [code] #include <iostream> using namespace std; bool divides(int,int); main() { int a,b; char ch; cout << "Enter a then b: …

Software Development c++
Member Avatar for jwenting
0
105
Member Avatar for katharnakh

how to get the file dialog window and save dialog window in python. for example if select the File menu we can see Open menu option, when we click on that we get file open dialog window similarly when we click save as.... /save option we can see file save …

Software Development file-system python
Member Avatar for bumsfeld
0
1K
Member Avatar for muthuivs

Does anyone know how to get a c++ program to output to a usb printer or at the very least an acrobat distiller? I am trying to use the following: ofstream print; print.open("lpt1:", ios::out); print<<"blah blah blah"; but I guess I have a usb printer and not a lpt1 printer. …

Software Development c++ ios printer
Member Avatar for muthuivs
0
2K
Member Avatar for muthuivs

I have the logic all figured out for a nes program that will spit out labels with unique charactrs on it...Almost like barcodes, but nothing that fancy. My stickers will have something like this: ABCGIU101.DFF Like I said, I have the logic but I am not sure how to start …

Software Development c++
Member Avatar for dwks
0
585
Member Avatar for startingover

Here is my problem: Create Two classes ProcessInt Class knows An array of integers ProcessInt class knows how to One constructor that will set the size of the array of integers Method to set the value of a particular array element Method to get the value of a particular array …

Software Development display java
Member Avatar for Java4u
0
127
Member Avatar for peter_budo

Can somebody please provide my with usefull info how to open internet browser from java program? The way how this should work, work cross platform & open default browser don't force certain browser I tried to use info from [URL=http://today.java.net/pub/a/today/2004/10/14/jdic1.html]this page[/URL] but couldn't get it work. Together with tutor we …

Software Development google java
Member Avatar for peter_budo
0
375
Member Avatar for Drowzee

I have a dilemma. I have a program that I was able to compile and run successfully when I first unzipped the files, but the buttons used to do frame acquisition were hidden off to the side. After I started making changes (I did NOT actually modify the code in …

Software Development video
Member Avatar for Drowzee
0
238
Member Avatar for Acidburn

Hello guys. I've got a query which is most likey really simple. I've got an array of char's thats : char temp[10] = "abcd"; I'm wondering why I can't put these into char a; since char a = 'abcde' would be legal right? Or can a single char only hold …

Software Development c legal
Member Avatar for Narue
0
128
Member Avatar for bumsfeld

I am making progress learning Python. and English. I understands tuples, lists and dictionaries, but sets don't make muchly sense. Why use a set? What is a set good for?

Software Development python
Member Avatar for bumsfeld
0
246
Member Avatar for abell1234

can anyone help me convert this vba script to python [CODE]On Error Resume Next Dim pMxDoc As IMxDocument Dim pMap As IMap Dim pCurve As ICurve Dim pFromPoint As IPoint Dim dXFrom As Double Dim bSrefFromMap As Boolean '======================= 'Adjust the parameter below 'bSrefFromMap = True ==> the coordinates will …

Software Development python
Member Avatar for bumsfeld
0
242
Member Avatar for katharnakh

is there any tool like IDE which assists to develop the UI, like VB, drag and drop. i know that we get IDE with the Python package but we have to hard code for the UI. if there is any please suggest.

Software Development gui ide python
Member Avatar for bumsfeld
0
107
Member Avatar for katharnakh

how to bind keyboard keys to menu items? i know to bind with mouse buttons but with keybooard keys dont know. for eg: [I]Cntl+O[/I] to open a file in File menu. how to implement undo, redo, find, find again, copy, paste functions in python. i actually gone through the IDLE.py, …

Software Development python
Member Avatar for bumsfeld
0
308
Member Avatar for groove04

need to have an input of money to pay for an item and amount given. to return change due with denomination format: 20 dollar bills 10 dollar bills 5 dollar bills 1 dollar bills quarters nickels, dimes, pennies, etc. so far i got this: import java.util.Scanner; public class Cashier { …

Software Development java
Member Avatar for Phaelax
0
194
Member Avatar for Stoney

There is a problem my professor assigned. It's not suppose to be complicated but I can't grasp the concept. I can grasp it in the english language but if I turn it into Pascal, I have no idea what to do. Here's the problem and what I have created in …

Software Development pascal
Member Avatar for Stoney
0
122
Member Avatar for javafan

Hi I am not able to set the position of Jpanel, having a tough time. Code is attached. 1. How can I reduce the gap between To and textbox Cc and textbox etc 2. How can I reduce the vertical space between Send/Contact/Spell/.... and the row containing To with textbox …

Software Development gui java
Member Avatar for jwenting
0
148
Member Avatar for xjim72

I am having trouble with an exercise of finding how many times a number appears in an array and display the value and the count of times it appears in the list. The array can be the size of 100.

Software Development c++ display
Member Avatar for xjim72
0
888
Member Avatar for edmicman

I'm working on a side project/consulting job for my former employer...basically I want to recreate an app I did in VB6 using VB2005. It's a simple app, but it was built when I was less experienced, and while I've got the business logic, I'm having troubles getting to a point …

Software Development asp asp.net display sql vb.net windows-server
Member Avatar for edmicman
0
163
Member Avatar for dreamreaver

Hi I have this error..can someone Please help me to solve it?? The coding works on my friend's pc though... [code]#include <iostream.h> #include <cstring.h> struct program { int employee_id; int salary; int eval; string name; }; // Use constants for Arrays Sizes like below. const int NUMBER_OF_EMPLOYEES = 2; const …

Software Development c++
Member Avatar for SpS
0
160
Member Avatar for Mikecool509

First of all, this is NOT for homework, so if you help, you WON'T be doing my homework for me! :lol: I am trying to create a quiz site for my school. I want the trachers to be able to create quizzes for their students. They will fill out a …

Software Development vb.net visual-basic
Member Avatar for f1 fan
0
154
Member Avatar for midwesternstyle

I am having trouble implementing a type def in a header file and using the same typedef in a source file (.c). Any help would be appreciated. Also, I can't get a sum function to work, for when i want to sum the numbers pressed on a keypad( i would …

Software Development c++
Member Avatar for midwesternstyle
0
147
Member Avatar for complete

I need suggestions for creating a Help system for a Visual Basic Program. We have a requirement to provide "on-line help" to our Visual Basic program. What I believe they mean is the sort of Help functionality that one normally sees in C++ generated program. Does anyone have any suggestions? …

Software Development visual-basic web-browser
Member Avatar for yni420
0
180
Member Avatar for kharri5

I know I've been posting a lot into this forum with questions that might seem....dumb, but I am learning a lot actually from those questions and the help I've been given. Many thanks( mostly to Rashakil Fol. I salute you sir!) The latest and greatest problem, is that I'm not …

Software Development c unix
Member Avatar for kharri5
0
133
Member Avatar for Acidburn

hello ive got 2 arrays defined below char RW[100]; char array[80]; ive got this algo for now but not 100% certain its working [code] void setI(char array[]) { cout << "now in seti function" << endl; for (int j = 0 ; j <=sizeof(RW[j]); j++) { for (int i = …

Software Development c++
Member Avatar for dwks
0
91
Member Avatar for sosy2001

This is my assignment: > Step 1.Create a structure with the name StudentRecord containing a Name stored as an array of 20 characters, an ID stored as an integer, and a GPA stored as a floating integer. Create (instantiate) a variable from StudentRecord called TESCStudent. > > > > Step …

Software Development c++
Member Avatar for dwks
0
131
Member Avatar for fevershark

how can i use a class and dynamically allocate memory for an array? my class is called Fraction. [CODE] int n; /* n holds the user input */ int *array; /* array which you want to allocate later */ cout << "Enter the number of array elements..."; cin >> n; …

Software Development c++
Member Avatar for dwks
0
146
Member Avatar for tyczj

cant figure out this error. im trying to do a 3 dimensional static array that just displays the number in a matrix form ex: 1111111 1111111 1111111 im sure the error has somethin to do with the depth, row and col being constants but i dont knwo how to fix …

Software Development c++
Member Avatar for dwks
0
153
Member Avatar for Acidburn

[code] #include <iostream> #include <fstream> using namespace std; char RW[10]; char id[10]; void populateArray(char ch, int &i, char * array); void valid(char *array, int i); #define MINUS '-' #define PLUS '+' #define TIMES '*' #define DIVIDE '/' #define EQL '=' #define LP '(' #define RP ')' #define SEMIC ';' #define …

Software Development c++ file-stream
Member Avatar for dwks
0
119
Member Avatar for Acidburn

Hello, I've been asked to make my own user defined type. when we've got this on an imput stream (a+b+c$) the a = ID b = ID c= ID how can I say that when its not a reserve word assisn ID to the a,b,c? I know this is a …

Software Development c
Member Avatar for iamthwee
0
203
Member Avatar for visual one

public class Palindrome extends JFrame { private String input;private Stack<Character> charStack = new Stack<Character>(); public Palindrome(String input) { this.input = input; fillStack(); } private void fillStack() { for(int i = 0, len = input.length(); i < len; ++i) { charStack.push(input.charAt(i)); } } private String buildReverse() { StringBuilder result = new …

Software Development java
Member Avatar for jwenting
0
167

The End.