132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … Software Development api c client-server windows-api windows-server | |
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 … | |
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 | |
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++ | |
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++ | |
Anyone here got this [URL=http://www.sesfocus.com/education/catalog/CX-310-035.html]java certificate[/URL]. Software Development java | |
I need a python-based network library for a game, any sugestions? Software Development python | |
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 | |
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 | |
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 | |
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++ | |
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. | |
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, … | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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. … | |
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++ | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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. | |
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 | |
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 | |
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 | |
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 … | |
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. | |
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 … | |
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++ | |
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 | |
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 | |
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 … | |
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++ | |
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++ | |
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++ | |
[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 | |
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 ![]() | |
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 |
The End.