48,986 Topics
| |
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 … | |
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 … | |
Hi, I am new on this list. I would like to learn how to deal with turbo c++ errors :rolleyes: | |
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. … | |
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 = … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
| [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] … |
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 … | |
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 … | |
Hello, Can someone write few interesing problems for novice c++ programmer? Can't come up with any good ideas :( Thx in Advance :mrgreen: | |
Hi i am new programer in c++ and want somebody to show me the first step, Thank you all :cheesy: | |
[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 | |
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 … | |
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 … | |
LOOK THE FOLLOWING STATEMENT int *p[](); PLS TELL ME THE MEANING OF THIS STATEMENT.& WHERE WE USE THIS STATEMENT. | |
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 … | |
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.. | |
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 … | |
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 … | |
[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 … | |
Hello Everyone can anyone please explain me about the concept of namespaces? Regards | |
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: | |
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 … | |
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. | |
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 | |
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 … |
The End.