132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Collapse Troll

Hi! When i was passing the test, i got this question: [quote] "You are asked to design classes for a board game system. The board has 8X8 squares. The board game will allow the user to play "Chess" and "Checkers". The GUI is done by another team; you have to …

Software Development c++ gui
Member Avatar for Collapse Troll
0
130
Member Avatar for Tauren

Does anyone know any Winsock books I need them so I can learn about the functions and the coding about it. So if anyone has any books that They can post about that would help me out ty

Software Development c first-post
Member Avatar for Tauren
0
125
Member Avatar for RobertNashon

Hi I'am having a problem in debugging this code of mine .There is a problem in the execution of cl.e file. This is the code; [code=c] #include<iostream.h> #include<string.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> #include<math.h> class hospital { char password; int telno,mobno,fax; char name[20],log,address[20], website[20],email[20]; public: hospital; int loging(); void menu(); class reception …

Software Development c++ email
Member Avatar for dwks
0
195
Member Avatar for MiloTN

Hey there everyone^^ Im almost finished on my mighty code of mighty... urm, -ness :mrgreen: The finished code is actually to calcuate displacement thicknesses of various velocity profiles (read from flies as floats) using the trapezium rule. Its sooo close, ive got a few little bugs remaining tho. Firstly, the …

Software Development c
Member Avatar for dwks
0
132
Member Avatar for livingsword

i dont know if this the appropriate forum for this question, I wrote few programs on turbo c++ ide and they work perfectly fine. but when i try to compile the same code in openSUSE 10.2 , i get errors like : clrscr not recognised, clreol not recognised, gotoxy not …

Software Development c c# c++ first-post ide
Member Avatar for dwks
0
141
Member Avatar for torbecire

[Torbecire] I want to get the a.cpp to read from the a.h file. But it won't, i have done this class thing before and it worked on another program but won't work on this. Help me out. [code=cplusplus] // File a.h #ifndef LINEAR #define LINEAR class linear { public: linear(); …

Software Development c++
Member Avatar for Narue
0
151
Member Avatar for ajay kandari

[code] #include<stdio.h> #include<conio.h> void values(int a[4]); void main() { int x[4],i; clrscr(); printf(" enter 1st number "); scanf("%d",&x[0]); printf(" enter remaining values "); for(i=1;i<4;i++) scanf("%d",x[i]); values(x[4]); [COLOR=red](cannot convert int to int* and type mismatch in[/COLOR] [COLOR=red]parameter 'a' in call to'value(int *)[/COLOR]' getch(); } void values(int a[4]) { int m,max,min,j; max=m; …

Software Development c display
Member Avatar for Ancient Dragon
0
92
Member Avatar for hiddenben

I need some help because i am trying to do this use a Cn as new ADODB.Connection , and a Dao Rs as Dao.Recordset so i need to put this to together? because i had a test in my university and my teacher put this in the exam, and nobody …

Software Development visual-basic
Member Avatar for AycheKay
0
105
Member Avatar for Need_help!

okay so the problem is: I need to develop a program that determines whether a department store customer has eceeded credit limit on charge account. for each customer, the following facts are available: - accunt number Balance at the beg. of the month total of all items charged by this …

Software Development vb.net
Member Avatar for Need_help!
0
134
Member Avatar for covertx

Hi all, I'm trying to add a little bit of extra functionality to my programme by using the Graphics class to draw lines in accordance to values held within text boxes... I've converted the values of two textboxes to Int32's like so: [CODE] gUK = Convert.ToInt32(tbUK.Text); gNotUK = Convert.ToInt32(tbNotUK.Text); [/CODE] …

Software Development algorithm
Member Avatar for covertx
0
108
Member Avatar for Venks

Hai friends.. iam doing project in j2me.. i want to get the current time in mobile in hours minutes and seconds format.. and i want to display it in mobile ,is there any way to get the time? pl help

Software Development java
Member Avatar for Venks
0
108
Member Avatar for csharpa

Hello, I have tables which have relation. I want to know how can I set the PK value of table A which is the FK of table B while I can’t have “SET IDENTITY_INSERT BATTERY ON” for two table at one time? Thank you,

Software Development
Member Avatar for JerryShaw
0
79
Member Avatar for Duki

hey everyone, I am including my code and was wondering if there is a prefered way to document? I have comments which describe what does what, but I'm wondering if there is a neater and/or more efficient way to do it... /***************************************************** * COSC 230 - Structured Programming * Chapter …

Software Development c++
Member Avatar for Duki
0
100
Member Avatar for vinod_javas

hey guys., Help me out.. I am doing some project using java swing..in that i get stuck up with one problem in combo box... I am having 5 items in the combo box([B][U]Contains same item names[/U][/B]) for ex: abc abc abc abc abc when i select any one of these …

Software Development java java-swing
Member Avatar for jwenting
0
312
Member Avatar for jan1024188

I have a javac working in Linux, but I dont know how to get that in winows. Is there any nice GUI compiler for Windows?

Software Development gui java
Member Avatar for jwenting
0
150
Member Avatar for ITgal

Visual Basic 6 VBP Assignment Mail Order As a member of a development team involved in setting up the accounting and financial systems for a new mail order business for household items, your task is to develop an application to calculate the amount due for each order. The specifications for …

Software Development visual-basic
Member Avatar for WaltP
0
102
Member Avatar for rQQt2

Hello folks I'm trying to simulate a magic square algorithm, but having some problems. The program successfully creates the magic square, but when I'm trying to print it, the VC2005 compiler says "vector subscript out of range", which it shouldnt be. Any help would be appreciated. Cheers Here's the code: …

Software Development algorithm c++
Member Avatar for rQQt2
0
449
Member Avatar for SoulDaddy

Hello, i am trying to make a CustomCheckListBox but i cant seem to get it to display my items the box itself creats fine and all the rest seems fine but it wont display my items any help on this matter would be greatly apreciated Thanks. here most of the …

Software Development delphi pascal
Member Avatar for linux
0
420
Member Avatar for endsamsara

i need a program , that receives an input file with words and a puzzle and gives an output file, with the words and their coordenates in the puzzle. input has the number of words (3 in this case), the words to be found, and the text where the words …

Software Development c os-x puzzle
Member Avatar for endsamsara
0
123
Member Avatar for chris99

How do I do this? In JustBasic I simply read from a text file and coverted the letter it found into an image that it loaded. I want it to load the image I need with this class: [CODE]def load_image(name, colorkey=None): """When this statement is accessed, coupled with the name …

Software Development python
Member Avatar for vegaseat
0
827
Member Avatar for alejo

[CODE]#include <iostream> using namespace std; int main() { char function; double num1, num2; char option; option = 'y'; cout << " Please enter two numbers: "; cin >> num1 >> num2; cout << "\n + for addition "; cout << "\n - for subtraction "; cout << "\n * for …

Software Development c++
Member Avatar for alejo
0
119
Member Avatar for torbecire

[COLOR=DarkSlateGray]I am trying to write a file with extension h and a cpp file. When i try to compile the cpp file it gives me an error that says. [Linker error] undefined reference to `counter::counter()' . Could anyone help me out please. I am using a Dev.c++ compiler Here are …

Software Development c++
Member Avatar for Lerner
0
97
Member Avatar for mjmythili

Can anyone please help me to display system date and Time in VC++ 6.0 I need it very urgently

Software Development c++ display
Member Avatar for WaltP
0
74
Member Avatar for jrcagle

So this isn't a Python question exactly, but the code is in Python, so there it is. I have a mostly-working version of pacman -- currently, one monster v. pacman -- that includes the usual features: eat the power-up, chase the blue or flashing ghosts, get points. When a ghost …

Software Development algorithm python
Member Avatar for G-Do
0
2K
Member Avatar for kaushik259106

a picture link has been given. I want to do the same but it should work with database but not with folders and files.. that is i want my database made with MS Access to show like this where each node is the primary key and all the childs will …

Software Development vb.net
Member Avatar for iamthwee
0
97
Member Avatar for livingsword

i want to initialize an array(set all elements to 0) . The array is to be used by different functions which r defined outside the class. obviously i cant initialize it in the class. and if i do it in a constructor or main(), it isnt recognised by all the …

Software Development c++
Member Avatar for ~s.o.s~
0
119
Member Avatar for ctrohana

Hi guys, I need ur help. If I have character strings (data array file) as below: X001234 X001345Y002323 X00142 X001567 How do i program, if I want to enter Y002323 to the next line? and how I can add '0' character after X00142 so that the the array is like …

Software Development c++
Member Avatar for ~s.o.s~
0
167
Member Avatar for japat

I am using c++ and would like to know the easiest way to turn decimals in to the form hours:minutes:seconds. You can assume the integer is in the form of hours (e.g. 242.4 = 242 hours 24 seconds etc) Also, I would like it so that seconds is to one …

Software Development c++
Member Avatar for Ancient Dragon
0
74
Member Avatar for bploog

Hello, I am new to this. Hope I won't break any etiquette unknowingly. I DID my homework, I believe ... I'd like to get C/C++ code which allows me to get the path of the active application, ideally in the format of char. I wrote a program for which I …

Software Development c++ os-x
Member Avatar for bploog
0
247
Member Avatar for linux

I am currently writing a game in Visual Basic 6. It is a role-playing game that has many real-life features, like buying shops, cars, houses, and also joining a gang. I need help with something. On the main GUI, which has options for a job, like a shop owner, a …

Software Development gui visual-basic
Member Avatar for linux
0
186
Member Avatar for livingsword

I've got an assignment which says "Write a program to find complex numbers". Could someone explain the question ...what do i need to do? do i need to check the user input for complex no. ?? im not asking for codes, just the logic. Please help :sad: thanx for reading …

Software Development c first-post
Member Avatar for ithelp
0
114
Member Avatar for dahlia_06

Hello people, I am new to this community and the only reason for why I joined here is to learn and get all my doubts clarified as I am learning C++ all by myself and also I dont have any computer literate people around me in my place. I started …

Software Development c++
Member Avatar for dahlia_06
0
123
Member Avatar for Berniceazzopard

[B]Hi[/B] [B]I need printscreens of .exe and the it not returning a copy of the screen but its returning the characters in the screen. What s the problem?[/B] [B]Urgent Help pls[/B] [B]Thanks Loads[/B] [B]Bernice[/B]

Software Development pascal
Member Avatar for radu84
0
98
Member Avatar for MattEvans

I'm carrying this around in my signature at the moment, because I found the statement somewhat amusing: [quote] class `Matt' is implicitly friends with itself. [/quote] (Of course, the class wasn't really called Matt. I like the look of my own name. Perhaps). Preamble aside; the more I think about …

Software Development c++
Member Avatar for thekashyap
0
89
Member Avatar for Darkmeerkat

I'm having some trouble understanding how Exceptions thrown from constructors work... Let's say I have a class like this: [code=C++] class A { public: A() { if( error ) throw MyExp; } } [/code] If I try to define a variable of type "A" within a [inlinecode]try {} catch {}[/inlinecode] …

Software Development c c# c++
Member Avatar for John A
0
135
Member Avatar for kiethnt

Dear all, Now I have a small program to communication via RS232 cable with 3964R protocol that is written by Borland C++, however I don't under stand it can be used on Win98 only. Any body please show what I could do to use this program on Win XP. Many …

Software Development c++
Member Avatar for vegaseat
0
100
Member Avatar for AnonyMOUSE

have to make 4 triangles * ** *** **** **** *** ** * up to 10 lines on each, but to save space i threw down 4, i have those done no problem here is the code i popped to make those happen, this is VB '05 Command App btw. …

Software Development visual-basic
Member Avatar for AnonyMOUSE
0
161
Member Avatar for Tauren

A person ineed deserves books indeed! Umm any college like books we know of that I can get?? From C++ to the end! Maby not way end but enough to build a game! Other post disregard Noones responded to it in the last [B][I][U][COLOR=purple]48[/COLOR][/U][/I][/B] hours!

Software Development c++ first-post
Member Avatar for jbennet
0
113
Member Avatar for degamer106

Hi, I can't get the following code to work. I have my converting constructor (second line) to change an int type to a car type but my compiler says there's something wrong with the overloaded + operator. It says here in my book that if I want to do an …

Software Development c++
Member Avatar for ~s.o.s~
0
104
Member Avatar for daphnie

[COLOR=darkslateblue]Please help me!!![/COLOR] [COLOR=darkslateblue]How can I do the below ex. , please help me!!![/COLOR] [COLOR=red]Description: [/COLOR]In this assignment you will implement the ADT Stack. You will be using stacks in order to count the pairs of three types of brackets: {}, [], and (). The input will consist of an …

Software Development c++
Member Avatar for Lazaro Claiborn
0
101
Member Avatar for MiloTN

Hi there^^ Its my first post on these forums, and as much as I hate it to be a shout for help ive got a problem I could really use someone with a bit of knowledge to help me out with =) My scenario being ive got to write a …

Software Development c first-post
Member Avatar for MiloTN
0
181
Member Avatar for virsa

access c++ private data members without using the " Friend" type main() can be a friend function?

Software Development c c# c++
Member Avatar for Laiq Ahmed
0
141
Member Avatar for ajay_tabbu

hello friend i want to make java program to slove trigomeric eq but i dont know how to stare as i m new in java i don't 9 how trigomeric eq can slove bye java can u tell me how i should thikg logicaly i need u r logical help …

Software Development java
Member Avatar for masijade
0
130
Member Avatar for vishwanatha

Hi all, Can anyone help me how detect USB using ASP.NET with C#. I need this one specifically in ASP.Net

Software Development asp asp.net
Member Avatar for brijesh mehta
0
88
Member Avatar for paramasivan

Hello to all thread viewers, There is any way to set a control's property through its "TABINDEX"... For example can i focus a textbox by simply knowing its "TABINDEX"... Thank you...

Software Development visual-basic
Member Avatar for paramasivan
0
100
Member Avatar for wandie

:sad: Please could some please help me out here . I have an array. I want to count how my 'a' appear and the a must have its quotes 'a' [code][(' ', ' ', [('a', 'Scott'), ('9', 'vth')]), (' ', ' ', [('a', 'Jenny'), ('9', 'vth')])][/code] Like this one has …

Software Development python
Member Avatar for wandie
0
847
Member Avatar for degamer106

How do i dereference a pointer to something in a class without having to write another function to dereference it for me? For instance in this code: [CODE]class Fraction { public: Fraction(int left = 0, int right = 1); Fraction(Fraction & obj); ~Fraction() { delete fl; } double getFraction() { …

Software Development c++
Member Avatar for thekashyap
0
80
Member Avatar for ammochck21

can someone tell me what is wrong with this code? We are supposed to use recursion to see if the two arrays are equal. [code] int Equal(int a[], int b[], int left, int size) { if (a == b) { return Equal(a, b, left + 1, size); } else return …

Software Development c++
Member Avatar for John A
0
121
Member Avatar for mercury049

Hi, thanks for any help provided in advance. I've tinkered with programming for years, but trying to get serious now. I just read a book called "Learning to Program with VB.net". pretty good book. But the writers approach (since it was for beginners) was to use txt files as a …

Software Development vb.net
Member Avatar for mercury049
0
221
Member Avatar for jasworld

Need a help, or hire VB progarammer to interface between different excel sheets.

Software Development visual-basic
Member Avatar for mjwest10
0
91

The End.