132,726 Archived Topics
Remove Filter ![]() | |
Hi all. Eventually my program needs to prompt you to enter a year between 1800-2007 and then it will print off the calendar for that year. In order to do this I must create functions that determine what day of the week Jan 1 was that year, and a function … Software Development c++ | |
Hi GURUS, Sorry to disturb you and take your time, I have a small job to do, it is - We will be taking back-up's regularly at certain time intervals according to the non - business hours. Suppose according to the business logic we scheduled a back-up job that takes … Software Development shell-scripting | |
Hi Guys, I need to be able to print something like: [B]Player 2: Enter a word (1-20 char,blank line to quit):[/B] and then right after I have entered the word the output should look like : [B]Player 2: Enter a word (1-20 char,blank line to quit): apple[/B] My printf looks … | |
Hi guys, Been an IT student for a few months now, and I've been kinda struggling along until now, but my last assignement I can't do. I don't expect anybody to do my homework for me, but I do want to just be able to understand the code rather then … Software Development visual-basic | |
My problem is that i have been asked to try and find out how to, and to make a program in VB which is linked to an access database. I help out at a charity band thing which happens every week. there are three bands play (but that doesnt matter) … Software Development email visual-basic | |
Hi, I've got a project in which I need the program to reject a sentence if it has a certain word in it using StringTokenizer. Here is what I have so far [code] import TerminalIO.*; import java.util.*; public class Censor { public static void main(String args[]) { KeyboardReader reader = … Software Development java | |
Hi, I am a basic learner in C language.Could u please provide me a good link or tutorial or explanation regarding "order of precedence". I have the table of "order of precedence"........but needed some examples. I am always confusing with them. like, *ptr++=something; *++ptr=something i=i++................etc. Thanks & Regards. Software Development c | |
Really strugling to get an .ini file in to a DLL and still be able to edit it. Any one plz help send anything you can to help me to [email]michaelbrianlake@gmail.com[/email] | |
Hello everyone. I'm still working on that forum system I mentioned a bit ago (perlBB). Hopefully it'll be ready for Christmas :p . However, I ran into a strange problem while I was re-writing parts the two functions below. [code=perl]sub enter_post { my(@field, $input, $offset1, $offset2, $n, $name, $field_length, $flag_guest, … Software Development perl | |
I'm having trouble writing a program. I have to determine the name of student who scores the highest marks for each module and the highest in the average score of 5 modules. Hence display them in a table form where 1st column is the modules and the 2nd column is … Software Development c mathematics | |
Hi all. I am required to create a application which allows a user to drag images to a icon/ folder. This image file will then be copied. A thumbnail is then created and the thumbnail uploaded to an online Gallery. My first question is whether this is possible to achieve … | |
Hello, this is my first time posting here, so I'm new to the site and C++. First off I'm not asking anyone to do my homework, but I'am having some homework troubles. I've been working at it for awhile and I'm not really sure where to turn next. so any … | |
I am trying to convert an Enum type called: enum Category{unknown = -1, meat, poultry, seasfood, diary, vegetable, fruit, grain,sweet}; And a struct Food that contains array Category category. The user is given numbers to enter for the Category types, ie: 0 = meat, etc. My program can take that … Software Development c | |
OK I had C/C++ programming classes a few years ago and now I'm taking a ASP.net class and programming in C#. I need a little help with an assingment. We have to create an if state to display text depending on if the day of the week is a weekday … Software Development asp asp.net display web-server | |
Can someone take a look at this. Create a method called findElement, which takes an integer value and a two-dimensional integer array as inputs and returns true if the value is in the array. If the value is not in the array, the method should return false. This is what … Software Development java | |
>_< I've been searching for nearly an hour and trying to find this memory leak. If you guys could help me find it it would be great. Thx. [CODE]#include <iostream> #include <cstring> #include <crtdbg.h> using std::cout; using std::cin; using std::ios_base; /////////////// user defined data ///////////////////// /////////////// function prototypes //////////////////// class … Software Development c++ open-source | |
Hey everyone, this is my first post. I have viewed these forums alot in the past for C++ help and it has helped me out alot, however I have reached a problem myself. I have been doing C++ since last September and until then i was a complete newbie at … Software Development c++ first-post | |
Hi guys, I have a problem in a GUI i am trying to build. Below is the question and I was hoping you could help me out with what to do. Basically, I have do the first program which is to create a GUI but I am having a problem … ![]() | |
Hi friends, I am using Perl Tk for a GUI application. It uses a telnet part wherin I need to login to a unix machine, execute a command and process the result. The code is as follows : my $result = $t->cmd(("grep - $filename.txt~ | wc -l | awk '{print … | |
Hi guys...I am currently writing a program and it compiles fine but when I run it it says... Problem with input/output IOException:Null Problem with input/output IOException:Null I have two files in it and I dont know what to check anymore...Anyone have any idea on what I need to look at? Software Development java | |
I was starting off with making the game " Cows and Bulls". And to start off i am having a problem in inputting the 4 digit number in a mannar that it appears in form of "*" on the screen. similar to a password. And each digit should be separately … Software Development c | |
How can i include graphics in my C program which is compiled in windows compiler like Dev-c++? I was wondering whether it was possible to make the game "SNAKE" in C [B]without[/B] using commands like [INLINECODE]gotoxy[/INLINECODE] But a few moments later I realised that it was practically impossible to make … Software Development c++ | |
Hi, I am new to Java, and have been trying to write a program that calculates the square root of a number using the Babylonian/Heron method. I have been able to make it work, largely due to a lot of help from a PhD student. So yeah, what I'm trying … Software Development java | |
I'm working on an IM client in Python and my idea was to make it fully modular. It seemed to me that the obvious approach is to make all plugins derive from a Plugin class (with ProtocolPlugin, UIPlugin subclasses) and to be loaded on program startup by yet another object, … Software Development python | |
I'm starting to learn C++, and I wrote this program as a test: [Code=c] #include <iostream> #include <fstream> using namespace std; int main() { char *cString; ifstream File("file.txt"); File >> cString; cout << cString << endl; system("PAUSE"); return 0; } [/code] And when I try to run it it gives … Software Development c++ | |
Hi guys, I have a really puzzling question... I really want to start programming more. (Programming will be more of a hobby than a job for me.) The problem is that I can't figure out which language would be better to learn...C or C++ I want a language that: * … | |
i need to access a variable from a class to another class currently running at the same time. my plan is to: Save the values of the variable to a file and access it from the other class other options i have Use a database use RMI what other features … Software Development java | |
Could someone please suggest a way I can get the following sub to work? I'm trying to check to see if a field in a datagrid has been changed. I get runtime error 424 Object Required. Thanks [Private Sub DbGrid1_BeforeUpdate(Cancel As Integer) If DBGrid1.Columns(1).Value.DataChanged = True Then ' Check for … Software Development visual-basic | |
package umadas.examples;import java.io.*;import java.util.*;class Counters{int iCount = 1;} public class Wordfreq { public static Reader r; private static String str=""; public static void main(String args[]) { try { r = new BufferedReader(new FileReader(args[0])); fnWordFrequency(); r.close(); } catch (IOException e) { System.err.println(e); } } public static void fnWordFrequency() { HashMap map … Software Development java | |
hi, i want to add library to borland c++ it consist of header files and .lib files I try to put the header files in include file and .lib in lib file but they still not working, does that mean the .lib files are corrupted Software Development c++ | |
and when i add a new int data type my program has an error and yet when i add a new String data type it has no error // objectSort.java // demonstrates sorting objects (uses insertion sort) // to run this program: C>java libmainsys //////////////////////////////////////////////////////////////// [code] class libary { private … Software Development java | |
| |
Hi to everyone, I am using createProcess("setup.exe","",...) to launch an installation. When I call this function from a "normal application program" everything works fine. However, when I call same function from a service application, it hangs up when writing information to add remove programs. Can you tell why this happens … Software Development c | |
[B]Wat according 2 u ppl is the strongest cryptography for c ?:!: [/B] [B]I mean that can be acctualised using a C program.[/B] Software Development c | |
I'm making a shape editor. When I choose the circle button if I press the mouse button it appears a circle in the form, if I choose the square button it appears a square in the form. But I have to do an MDI Application with this. When I want … | |
To do shapes in the form I use a vector that stores a struct with the x, y, color and shape values of every shape I put on the form. I have to save and open these values. To save and open files with shapes. I use a TOpenDialog and … | |
Hi there, I need to create a program that generates a random number, and asks the user to guess the number and the program tells them higher or lower, and if the program tells them higher, and they enter a number lower, or vice-versa, you call them a moron. For … Software Development c++ | |
Hey, I have here a piece of code that works in parts but does not work together. If I test all three parts at once, I get a segmentation fault immediately before the program is supposed to test for a (null) value in the string array. However, if I comment … Software Development c | |
this the full code, which works like a charm, except for the error when i close the program. (a normal 'send report' / 'do not send report' error). I've narrowed it down to one line (a variabele being read from a file -> posted in red), but can't seem to … Software Development c | |
hiii every body. well i am a new member . well my problem is that i am a first year students and obvoisly i am studying c++. but i got an assignmet to do. i still not writing the code and i need help as soon as possible . please … Software Development c++ open-source | |
I had created one project using Ms access as backend.I have four forms in it.I cant able to create exe for that project.When i click make exe it is not responding(when i click the task manager it displays that not responding.im using xp os).Can some one help me pls....:sad: Software Development visual-basic | |
Decided to start my own thread rather than hijack thread "Sorting" I followed ghostdog74 advice and used module re to extract numeric strings: [php]import re data_raw = """[20] [ 35+ ] age = 40 (84) 100kg $245 """ # use regex module re to extract numeric string data_list = re.findall(r"\d+",data_raw) … | |
Hi all , I'm having problem during parsing xml files using DOM API due to whitespace characters. Here is my sample XML File ,coding and output : XML File : [code]<demo> <empid>e100</empid> </demo>[/code] Coding : [code]import java.io.*; import org.w3c.dom.*; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; class demo{ public … | |
I am working on a struct. The two requirements are for the user to be able to input an entry and then view it. I have two questions, when entering the data shouldn't I be able to enter spaces when entering the address i.e. 654 smith st and store that … Software Development c++ | |
I need to convert a code having arbitary number of nested loops using tail recursion. can any one provide me its solution in c/c++. For example: [code] for ( int a = 0; a < 3; a++ ) { for ( int b = 0; b < 3; b++ ) … Software Development c++ |
The End.