51,593 Topics

Member Avatar for
Member Avatar for ghadahelal

i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++

Member Avatar for Bench
1
254
Member Avatar for SiliconSpec

My friend has challenged me to create a simple c++ program. I have had the last 3 weeks to work on it, half way through I have realised I am doing it wrong. The program is: Entering 10 random numbers into an array( the easy part ), then printing the …

Member Avatar for ghadahelal
0
307
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 dwks
0
147
Member Avatar for janito2008

May 2, 2006 Hi! I am trying to write a program that uses a structure to store the following weather data for a particular month: Total Rainfall High Temperature Low Temperature Average Temperature The program should have an array of 12 structures to hold weather data for an entire year. …

Member Avatar for Bench
0
509
Member Avatar for derangedone

For my C++ programming course, the prof wants us to do an order queuing program, however he hasn't taught queues and stacks yet. Is there a way I could use arrays (with dynamic memory allocation) to act as a queue? This is the code I have so far, but I …

Member Avatar for Lerner
0
207
Member Avatar for ontrix

Hi there i have a big problem i am tring to send asski code out via the serial port. what my code does is look through a saved file and picks out text information then sends it to the serial port. My problem is a wierd one!! it works ok …

Member Avatar for Ancient Dragon
0
117
Member Avatar for ernie

I’m looking for an up-to-date C/C++ compiler which is available for free and not dependant on .NET. I would also like to find a compiler for Linux, GCC or G++ is ok but I’m having issues installing. (Actually [U]using [/U]Linux is new to me).

Member Avatar for ernie
0
187
Member Avatar for amarie

I have a program project to complete, but I don't know exactly what to do. This program is in C++ programming language. This what I have to do? Write a program that will use a array to store a linked list. Your linked list should contain an Student number and …

Member Avatar for Bench
0
123
Member Avatar for ghadahelal
Member Avatar for rowin

Hi, I have a table called event in my database. I have 2 fields called Event_Id and Project_Id. I want to search the table to find out if there's event_id=27 for a project_id. Kind Regards, Rowin

0
85
Member Avatar for ghadahelal

i 've an input file in .xls my user wrote that in german excel version and so the floating point is like that 55,77 my c++ program can not read this number as i'm using an english c++ version i did the conversion from , to . in the excel …

Member Avatar for Ancient Dragon
0
123
Member Avatar for nguyen duy khoi

I am studying visual C++ and turbo assembly, can you help me how to using assembly in c++, thank you very much.

Member Avatar for Ancient Dragon
0
126
Member Avatar for protmus

hey, sorry if this is in the wrong spot to post this thread but i got 2 Questoin to ask. 1)I'm hoping to learn c++ what's a good book to teach me? 2)What's good program to use (im looking at making game & programs)? thank you in advance:)

Member Avatar for Salem
0
94
Member Avatar for q8z
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
268
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
126
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
174
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
126
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
236
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
142
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
606
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
161
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
260
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
157
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
240
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
151
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
72
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
267
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
200
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
445
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
336
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
126
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
164
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
138
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
824
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
554
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
134
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
526
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
212
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
116
Member Avatar for chelo77

I am doing a small assignement that has one class with two private members.....numerator and denominator. The question asks to make three overloaded constructors, some have arguements while one does not example .....fraction() now the deconstructor is basically has to print out the two private members now this works great …

Member Avatar for iamthwee
0
790
Member Avatar for Tester99

Hello, Could someone help me, I don't know how to build project with Visual C++ toolkit 2003, that project has made with [I]Visual Studio .NET 2003 or is this generally possible.....[/I] Any suggestions?

Member Avatar for WolfPack
0
236
Member Avatar for neno14me

i have got this OOP project of implementing minesweeper using classes.Can anybody just hint me what classes i have to use and what would be their relationship like association,containment,weak containment and strong like that.anybody plz.If i failed to do so i would be getting an f!!!!!plz!!!!!!!!!!!!!!

Member Avatar for iamthwee
0
538
Member Avatar for Excal1502

I am unsure why I am reciveing a segmentation fault: INPUT: ./a.out Enter the output file name (maximum of 15 characters): output.doc Enter the number of names to sort in lexicographical order: 3 Enter a name: John Smith Enter a name: Mel Gibson Enter a name: Mark Anthony Segmentation fault …

Member Avatar for Salem
0
157
Member Avatar for Roujin

HI all could anyone please tell me where i can find some public domain source codes for Visual C++ 1.52, I am trying to teach myself programming as i dont have the patience for classrooms and i thought that some sample codes would give me some practice. I have already …

Member Avatar for WolfPack
0
257
Member Avatar for worms707

I have the following code This is the Point header file [code] #ifndef POINT_H #define POINT_H #include<string> using namespace std; //Class Point represents points in the Cartesian coordinate class Point{ protected: double xCoord, yCoord; //coordinates of the point string name; //name of the point public: Point(); //default constructor Point(double, double, …

Member Avatar for Bench
0
1K

The End.