49,761 Topics

Member Avatar for
Member Avatar for ernie

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.

Member Avatar for ernie
0
265
Member Avatar for totalnewb++

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 …

Member Avatar for Salem
0
123
Member Avatar for tyczj

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 …

Member Avatar for iamthwee
0
171
Member Avatar for CaliVagabond

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?

Member Avatar for CaliVagabond
0
122
Member Avatar for Forsal

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.

Member Avatar for Ancient Dragon
0
233
Member Avatar for signal1st

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 …

Member Avatar for server_crash
0
141
Member Avatar for Roc

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 …

Member Avatar for Roc
0
5K
Member Avatar for javamum

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

Member Avatar for Dani
0
603
Member Avatar for mixsir

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 …

Member Avatar for siu05rr
0
157
Member Avatar for P.Kulkes

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

Member Avatar for alc6379
1
254
Member Avatar for sargorath

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 …

Member Avatar for dude543
0
154
Member Avatar for axiss

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 …

Member Avatar for Ancient Dragon
0
237
Member Avatar for maciek1024

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

Member Avatar for Dave Sinkula
0
148
Member Avatar for rowin

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

0
71
Member Avatar for some one

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

Member Avatar for Bench
0
265
Member Avatar for cindy_16051988

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 …

Member Avatar for cindy_16051988
0
2K
Member Avatar for crizzio

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 …

Member Avatar for Dave Sinkula
0
198
Member Avatar for qljolly

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 …

Member Avatar for Ancient Dragon
0
441
Member Avatar for riscphree

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 …

Member Avatar for riscphree
0
320
Member Avatar for avalloc

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 …

Member Avatar for Ancient Dragon
0
124
Member Avatar for qljolly

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 …

Member Avatar for Rashakil Fol
0
162
Member Avatar for qgirl

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 …

Member Avatar for Lerner
0
135
Member Avatar for crizzio

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

Member Avatar for dude543
0
99
Member Avatar for rowin

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

0
100
Member Avatar for Vedavyas

How to load an image (say a JPG file into Turbo C or C++)? If can't can it be done only in VC++? :-|

Member Avatar for Vathanak
0
819
Member Avatar for stallion88

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 …

Member Avatar for Rashakil Fol
0
525
Member Avatar for DotNetUser

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 …

Member Avatar for Ancient Dragon
0
129
Member Avatar for tydruk

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 …

Member Avatar for tydruk
0
521
Member Avatar for ghadahelal

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 …

Member Avatar for Ancient Dragon
0
211
Member Avatar for remedius

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 …

Member Avatar for remedius
0
114

The End.