132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for raydogg57

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++
Member Avatar for John A
0
252
Member Avatar for varundba

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
Member Avatar for kuom
0
118
Member Avatar for hariza

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 …

Software Development apple c
Member Avatar for John A
0
143
Member Avatar for Havokie

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
Member Avatar for Havokie
0
212
Member Avatar for dont767

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
Member Avatar for jbennet
0
84
Member Avatar for Talon

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
Member Avatar for Talon
0
143
Member Avatar for pointers

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
Member Avatar for WaltP
0
200
Member Avatar for wnm

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]

Software Development email pascal
Member Avatar for jwenting
0
104
Member Avatar for jlord05

:cheesy: pls help me on my project!!! you must input 5 numbers and the program must find the smallest from the five inputs then subtract the smallest from the other inputs..pls help me and pls show the source code:cheesy:

Software Development java
Member Avatar for jwenting
0
74
Member Avatar for Mushy-pea

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
Member Avatar for swampyankee
0
86
Member Avatar for k3n

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
Member Avatar for Lerner
0
199
Member Avatar for confussed!

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 …

Software Development c++ image
Member Avatar for confussed!
0
266
Member Avatar for Rickenbacker360

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 …

Software Development c c# c++
Member Avatar for Nick Evan
0
109
Member Avatar for vermeet

I have xml file for my project which is in vb.net and asp.net. I want to create exe file from the xml file, Can anyone guide me please. Regards

Software Development asp asp.net vb.net xml
Member Avatar for vermeet
0
93
Member Avatar for sbenware

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
Member Avatar for Dave Sinkula
0
941
Member Avatar for cassyjack

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
Member Avatar for Maidomax
0
221
Member Avatar for fesago90

:o EDIT: Forget my question :eek:, thanks for looking :mad:

Software Development c
0
95
Member Avatar for cassyjack

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
Member Avatar for Infarction
0
154
Member Avatar for degamer106

>_< 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
Member Avatar for Salem
0
201
Member Avatar for iaaan

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
Member Avatar for iaaan
0
146
Member Avatar for dami06

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 …

Software Development gui java
Member Avatar for iamthwee
0
105
Member Avatar for alex_wil

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 …

Software Development gui perl unix
Member Avatar for mandible
0
192
Member Avatar for Klitzy

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
Member Avatar for mzd12111
0
111
Member Avatar for ankit_the_hawk

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
Member Avatar for Nick Evan
0
153
Member Avatar for ankit_the_hawk

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++
Member Avatar for vegaseat
0
124
Member Avatar for Thinka

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
Member Avatar for Thinka
0
159
Member Avatar for Jergosh

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
Member Avatar for woooee
0
98
Member Avatar for Firestone

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++
Member Avatar for John A
0
308
Member Avatar for wait4the1

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: * …

Software Development assembly c c# c++ google linux-kernel
Member Avatar for Ravalon
0
92
Member Avatar for Covinus

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
Member Avatar for Covinus
0
103
Member Avatar for stan yost

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
Member Avatar for stan yost
0
105
Member Avatar for umadas

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
Member Avatar for jwenting
0
154
Member Avatar for cassyjack

Can someone please take a look at this for me. I have to create a program that models a simple card game. I have to shuffle the card and deal 1 card at a time and display the card that I have dealt. Not sure how to do this. The …

Software Development java
Member Avatar for peter_budo
0
308
Member Avatar for amirwan

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++
Member Avatar for amirwan
0
285
Member Avatar for dowen

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
Member Avatar for Phaelax
0
99
Member Avatar for shouvik.d

how to retrieve [B]mangled names in GCC[/B]. any Idea:?:

Software Development c
Member Avatar for shouvik.d
0
85
Member Avatar for edogan

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
Member Avatar for edogan
0
77
Member Avatar for apurv

[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
Member Avatar for sham51
0
149
Member Avatar for bluecat

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 …

Software Development c c# c++
Member Avatar for bluecat
0
148
Member Avatar for bluecat

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 …

Software Development c ios
Member Avatar for bluecat
0
98
Member Avatar for GuruGhulab

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++
Member Avatar for Ancient Dragon
0
127
Member Avatar for coolman2006

Does anyone know about LISP Programming I am trying to make this program where I have 3 types of cars, which are ford bmw merc ford has focus and fiesta BMW has 1series and 2series and the merc has SK100 and SK200 well basically i am trying to put them …

Software Development display
Member Avatar for ~s.o.s~
0
129
Member Avatar for tehloki

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
Member Avatar for Ancient Dragon
0
976
Member Avatar for flageolet

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
Member Avatar for Salem
0
154
Member Avatar for ameeroman

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
Member Avatar for WaltP
0
345
Member Avatar for sydryz

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
Member Avatar for ~s.o.s~
0
122
Member Avatar for bumsfeld

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) …

Software Development python regex
Member Avatar for bumsfeld
0
1K
Member Avatar for parthiban

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 …

Software Development api java xml
Member Avatar for jwenting
0
238
Member Avatar for SHWOO

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++
Member Avatar for disc
0
110
Member Avatar for tgmtgm1

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++
Member Avatar for VatooVatoo
0
379

The End.