49,761 Topics
| |
Is there any real concern with using iostream.h and stdio.h in the same program? Sometimes I feel like printf, and sometimes I feel like cout. | |
I have to create a 20 x 20 array (turtle program), I am sure you guys get these alot.. I have been working on this for way too long and I am not getting it.. I have read the chapter again and still am lost.. here is the code I … | |
i need some help on this, im making a blackjack game and i need to make a stack of cards and i dont know what to do so just get me started is all im really askin for. here is what i have so far [CODE]#include <stack> #include <list> #include … | |
i have a global array of char pointers declared as: [code]char *strings[ARRAY_SIZE];[/code] I don't seem to understand the arithmetic necessary to compare individual characters in each array element. I haven't had any luck finding concise examples. Maybe someone can point me in the right direction? | |
Hi everybody Can you please explain me the weakpoints of c++ language? I think it is very difficult to create GUI in C++, isn't it? I also would like to know is there any method to combine C++ program and Java Program. | |
Hello, I'm asking for help w/ a dictionary look-up program by building the following two classes: String class, and Associative_Array class. I think that an associative list is the simplest way to implement this notion. Should I use the C++ maps? If so, how? I'm struggling w/ how to begin … | |
Hi,everyone I have to write a calculator which can + , - , * , / , + = ,- = , * = , /= ,++,-- do this operations with operator overloading [code]#include<iostream> using namespace std; class complexNumber { private: double realPart; double imaginaryPart; public: complexNumber(){realPart=0.0; imaginaryPart=0.0;} ~complexNumber(){cout<<"Destructor do … | |
I am trying to write a C++ program that finds the root of the following function: `x{(1 + [(k*n)/(1 + k*x)]} - L` using newton's method and this is the code I have and I cannot figure out what is going wrong, no matter how many iterations I put in, … | |
Dear All members. I'm a very freshy member and just register today. Programming is very new for me. Please advice how to how to put the random integer between 1-100 into the 2 dimensions array (5x5 metrix). What me just know the function rand() can be used to generate a … | |
Hi.. Iv'e got this realy annoying error,, as soon as I start up mij PC it says Microsoft Visual C++ Runtime Library Runtime Error! Program: C:/WINDOWS/SYSTEM32/SPOPSETU.EXE This program has requested the Runtime to terminate it in an unusual way. Pleas contact .. blablabla I don't know what it means :-| … | |
Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert … | |
Hi I was just wondering how you change the text colour of only some of the text in a console when you are using cout to display your text. I tried using [CODE]system("Color XY");[/CODE] obviously where X and Y are hex numbers and X sets the background color and Y … | |
Hi, I need to use function: SPI_modifytuple HeapTuple SPI_modifytuple(Relation rel, HeapTuple row, ncols, colnum, Datum * values, const char * nulls) How can I get object Relation? If I insert NULL as relation function does not modify tuples. I have found an example, when the function was called by trigger. … | |
Hi, Is it possible to set the value of a DateTimePicker to blank so that when you run the application there's no value in the DataTimePicker? Kind Regards, Rowin | |
hi every1 i have this code which is delete a node in the graph but there is 5 errors and 1 warning I need u to help me with this errors [CODE]#include<iostream> using namespace std; template<class TYPE> struct Vertex; template<class TYPE> struct Arc; template<class TYPE> struct Vertex { Vertex<TYPE> *pNextVertex; … | |
Hello, everybody. Sorry to disturb you all. Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able … | |
so basically, i think i have the basic idea written down but am not really understanding the errors i recieve like for example one of the errors were, "error: invalid conversion from `int' to `double*'" but ya...code if below....id appriciate the help, thanks [code]/** * CS-11 Asn 9 * gradebook.cpp … | |
some one told me to repost this with code tags so here it is again I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that … | |
In case anyone has this book, I'll mention it. I'm trying to complete Exercise 8-2 from Oreilly's Practical C++ Programming. The problem is to total the resistance of n resistors in parallel. The forumla for this is 1/R = 1/R1 + 1/R2+ ... 1/Rn For example, say you have one … | |
I am working on a C++ program where you enter 6 integers and then use an array to store them. It then asks you to enter another integer and then reports if the last one is in the array. I have been working on it a while and I can't … | |
I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that there is a piece that interrupts the connect four if it were like XXXOX it … | |
I am suppose to write a c++ program that show 1. shows the different breakfadt items offered 2. allow the customer to make more than one selection 3.allow the user to select multiple orders of a particular type 4. calculate and display the bill This is what i've got so … | |
so basically i have four files named, "ASN, EXER,MID,FINAL" that have grades inputed in with the amount shown below.....all i want is to have them saved in an array so i can use them to calculate a grade....the code below is what i have right now, dont understand the errors, … | |
Hi, I have an C++ Builder application. I want to print a report with the values appearing in my application. I get these values from my database. I already have a crystal report format of how the report should be printed. How to do this? Kind Regards, Rowin | |
How to load an image (say a JPG file into Turbo C or C++)? If can't can it be done only in VC++? :-| | |
The first three people to complete this program will be entered into the annual contest for Top Coder! The grand prize is the chance to become one of TopCoders independent programmer. This is a special opportunity to get paid for programing projects that you create. Below is the program to … | |
I'm coding in VC++.NET 2003. I have a class that needs a log file to log info and errors for debugging. The problem I have is that FileStream and StreamWriter can not be global. I get compiler error C3145 : cannot declare a global or static managed type object or … | |
i have a xml document from which i must get the following things, [B]Riigi_nimi[/B], [B]pindala[/B] of it and [B]rahvaarv [/B] with the [B]riigi_nimi[/B] and [B]pindala[/B] i have no problems, but i can't get the program to print [B]rahvaarv[/B], i just can't find a way to copy it into a new … | |
hi, i have a program that read from a text file and write the output at an excel file. i want 2 make some modifications at the text file before my program read it. it's only a replacement for something.this replacement is already a built in order in the word … | |
Hello! I have a dll library (AXACAC.dll) whuch was made in VS project. This dll exports one function: __declspec(dllexport) void CreateRasterFile (const char *pszFormat, const char *pszDstFilename) {} And I try to import this function in the DDK sample - unidrv interface plug-in: __declspec(dllimport) void CreateRasterFile (const char *, const … |
The End.