48,986 Topics

Member Avatar for
Member Avatar for ellisrn

Hi, I have this monster program. But, mostly I need help in Main and in Derivs. I know some is written in a juvenille form, but I'm not a C++ student! I have defined all these arrays in the Main function and I need to write an "if" statement in …

Member Avatar for Dave Sinkula
0
162
Member Avatar for Frogstar

Hi, I'm trying to make a little tool that would come in handy for some work i'm doing, but my knowledge of C++ is quite limited (i've done a few simple projects at uni, and i've got some books on it). My task is to compare to series of numbers …

0
94
Member Avatar for chebwanawe

Hi, I am new on this list. I would like to learn how to deal with turbo c++ errors :rolleyes:

0
78
Member Avatar for pinguwin

I'm an experienced programmer and I've been using C and other languages for many years. I've been learning C++ on my own and writing programs and feel quite comfortable doing so. However, when I look at a C++ Faq, I can get lost trying to follow some of the examples. …

0
91
Member Avatar for paynekiller

I've got a singly linked list, and the following code is supposed to delete all nodes that are ranked as "Trainee", it deletes them all, but if the last node is a "Trainee", it will not delete it, why is that? [code] void LinkedList::removeLowest() { Soldier * ptrDelete; ptrCurrent = …

Member Avatar for Chainsaw
0
131
Member Avatar for RITZY_G

ANY ONE WHO CAN PLEASE HELP........ Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and using parameters and local variables in subprograms or functions. Add comments where necessary for each function. Use meaningful variable names. …

Member Avatar for RITZY_G
0
162
Member Avatar for coolice

Hi ! I am sorry if I posted in a wrong place, but I could not figure it out, where I should. I am urgently looking for a POP3 Server VCL component for Borland C++ Builder. I had checked through all components site, but I could not find one. Is …

Member Avatar for coolice
0
116
Member Avatar for paulm

I am having difficulty with this problem with setting up the classes. If you could shed some light to get me started that would be great! :rolleyes: Design a Line class that uses Point objects point.h. Include a slope() member function that throws an exception for undefined (vertical) slopes. Add …

0
70
Member Avatar for gsreerekha

I am using Turbo C++ 4.5 version. I tried window (). But when I complied the code given at the bottom of this page, I am getting the following error messages: "call to undefined function 'window' in function main ()" "call to undefined function 'textcolor' in function main ()" "call …

Member Avatar for arash
0
83
Member Avatar for stg110

I have a code which is near to this one struct first { int data ; list <second> seconds ; }; struct second { int data ; list <first>::iterator vert ; }; how i could get rid of the circular reference problem in c++ note : i must put the …

Member Avatar for stg110
0
91
Member Avatar for kohkohkoh

[font=Times New Roman][left]here is the question:[/left] [left] [/left] [left]Use a two-dimensional array called [/font][b][font=Times New Roman]price [/b][/font][font=Times New Roman]to hold the prices for Proton’s car[/left] [left]regarding to the models and CC as listed below. [/left] [left]--------------------------------------------------------------------------[/left] [left] [/left] [left]in 2d array..i could get[/left] [left](for example)[/left] [left] [/left] [left]void disp(a[][3]);[/left] [left] …

Member Avatar for Dave Sinkula
0
97
Member Avatar for freesoft_2000

Hi everyone, I would like to ask a question about visual c++. When i go to my projects folder i see the icon for the dialog is the mfc icon. No i am not talking about the icon on the right hand corner when the dialog is executed but the …

0
60
Member Avatar for Milan

Hi. How can I call common open dialog box in MS Visual C++ 6.0 ? I tried to use getOpenFileName() and CreateFile(). But my function doesn't work. There is tehe body: void FlashProgram::OnButtonPOpen() { // TODO: Add your control notification handler code here OPENFILENAME ofn; // common dialog box structure …

Member Avatar for freesoft_2000
0
242
Member Avatar for LuSiFeR

Hello, Can someone write few interesing problems for novice c++ programmer? Can't come up with any good ideas :( Thx in Advance :mrgreen:

Member Avatar for alc6379
0
147
Member Avatar for taimour

Hi i am new programer in c++ and want somebody to show me the first step, Thank you all :cheesy:

Member Avatar for Dave Sinkula
0
88
Member Avatar for merlin208

[FONT=Arial]undefined[/FONT] I am newbie to C++ and am trying to teach myself to program. Could someone please explain in very simple language what data validation means and how should I check for it (in relation to input data) before any processing occurs. :-| Merlin208

Member Avatar for Chainsaw
0
133
Member Avatar for andremc

i'm trying to keep track of how many comparisons and swaps my sorting algorithms are making. i know it's probably a variable referencing problem, but i can't seem to get it to work right. it's fine when i run only one of the sorts, but if i run both, moves …

Member Avatar for andremc
0
1K
Member Avatar for Mr A

I need some help, heh, i have to store a twelve digit number somewhere... as i've understood it nothing like unsigned int or long double or anything won't work :-/ have i missed something? or can anyone point me to anything which i can use to be able to do …

Member Avatar for The Code Poet
0
223
Member Avatar for Sukhbir

LOOK THE FOLLOWING STATEMENT int *p[](); PLS TELL ME THE MEANING OF THIS STATEMENT.& WHERE WE USE THIS STATEMENT.

Member Avatar for FireNet
0
81
Member Avatar for icono

I am novice, and I am working now in a proyect with the vga colour palette, over DOS with borland c 3.1. The project include cpp.h and asm files. Sintactically I checked that is ok, BUT when I do the link tell me DECLARATION SYNTAX ERROR , in the first …

Member Avatar for icono
0
247
Member Avatar for Tex_Tootell

Hi can I delete a ".cpp" file and start the project again ? and how do I do it? I am using Microsoft visual C++ .NET Thanks Tex..

Member Avatar for Tex_Tootell
0
92
Member Avatar for steelers_fan

Hello, everyone I am pretty much a new programmer programming a little in C++ and basic. I am having trouble with this portion of the program that I am working on. When I include line 16, cin >>FullTimePartTime; the program skips line 21, cin.getline(response,256); and does not let me enter …

Member Avatar for steelers_fan
1
198
Member Avatar for Tex_Tootell

I am new to programming and would like some help getting up and running. I am using the Microsoft Visual C++.NET 2003, Iam up to Object-Oriented Programming [Animals], and I have 4 errors I can't fathom out..... #1 C2143:syntax error? #2 C2501:'_cg' missing storage class? #3 C3265: cannot declare a …

Member Avatar for Tex_Tootell
0
166
Member Avatar for Dani

[b]O[/b][b]rganize Your Data[/b] Arrays allow programmers to store a series of data of the same type. For example, suppose a program is to keep track of twenty numbers. Such a set of numbers would be stored in an array of integers (whole numbers) or doubles or floats (decimals). Arrays work …

Member Avatar for paawam
0
545
Member Avatar for vivekgalatage

Hello Everyone can anyone please explain me about the concept of namespaces? Regards

Member Avatar for TITAN
0
194
Member Avatar for tahataha

that s what i learned since i saw in many examles programmers using a function main whithout any class asking for any explication please :confused:

Member Avatar for Chainsaw
0
175
Member Avatar for stv

I'm more or less a beginner programmer with a little (mostly useless) programming background. My goal is to develop applications to run on my PPC (a Dell Axim 3). My Background: Did some simple Basic programming on a TRS-80 in the late 70’s when they were the cutting edge(!), as …

0
89
Member Avatar for Kalitko

Can sombody advise me or show me a semple code how I can obtain 10 bit data information from device connected to my com1 port? Thank you very much in advance.

Member Avatar for Kalitko
0
161
Member Avatar for vivekgalatage

Hi everyone, can anybody know how to forward a RAW packet i.e. the buffer containing the ethernet header upto the TCP/UDP data using the send() and socket() system calls in C or C++ Regards, Vivek

0
100
Member Avatar for Trevor@Taran

I am trying to get the Microsoft Mappoint OCX working in C++ Builder 6.0 Pro. So far I can place pushpins and delete them but I cannot attach a name or note. When the compiler is in Debug mode the code will compile without any error but crashes when running …

Member Avatar for Trevor@Taran
0
117

The End.