49,761 Topics

Member Avatar for
Member Avatar for winrycool

You see i am new to c++ programing and i have just started classes and i hae a project where i have to do a game in c++. so how do i draw circles grids and other shapes plz help me!

Member Avatar for Colin Mac
0
82
Member Avatar for Agni

Guys i have a design where in i have 6 classes called 1)HttpServer 2)ParserClass 3)InputInterface 4)Cartonization 5)OutputInterface and then i have a 6)Manager class. HttpServer gets the request xml as a string in request body. ParserClass parses the string xml and stores value in variables. inputInterface inserts the values in …

Member Avatar for ithelp
0
99
Member Avatar for superjacent

I'm learning C++ from C++ Primer Plus, 5th Edition, and have come across the following problem. The following class declaration is given as part of the question: [code="cpp"] /* Name: move.h Copyright: Author: Steven Taylor Date: 31/01/08 15:05 Description: Class 'Move' header file. C++ Primer Plus, Ch.10,Prog. Ex 6. */ …

Member Avatar for superjacent
0
204
Member Avatar for gus898

I would like to convert DMG files to ISO. Can anyone help. I use a MacBook

Member Avatar for Salem
0
55
Member Avatar for bhuvanwip

Hi, I am stucked with this error d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2143: syntax error : missing ';' before '*' d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2501: 'CRPCValidation::IRPCCtl' : missing storage-class or type specifiers d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2501: 'CRPCValidation::m_pRpcControlImpl' : missing storage-class or type specifiers d:\Odin_1\ODIN_1\OdinRPCvalidation.h(127) : error C2146: syntax error : missing ';' before …

Member Avatar for wamuti
0
277
Member Avatar for tonyaim83

Hi My current problem stmt is :- There are n no. of cities each having unique name and each city having m no. of streets. I have all the information as in which street belong to which city and so on. I'm able to extract information from the given input …

Member Avatar for vijayan121
0
99
Member Avatar for Jboy05

Input = Fourdigitnum Output = digit1, digit2, digit3, digit4 Major Task (Module/Subproblems) 1. Receive Fourdigitnum 2. Extract the Fourdigitnum received 3. Remove the digit from the original number 4. Display digit 5. Repeat Step 2 1. Fourdigitnum ("Enter a four-digit positive integer: ") Receive Fourdigitnum 2. digit1= (Fourdigitnum)/1000 3. (Fourdigitnum)%1000 …

Member Avatar for Jboy05
0
97
Member Avatar for Jboy05

Hey, I need assistance in creating a IPO Chart for a homework assigment. [B]Problem[/B] Write a program that prompts the user to input a four-digit number positve integer. The program then outputs the digits of the number, one digit per line. For example, if the input is 3245. 3 2 …

Member Avatar for JRM
0
1K
Member Avatar for gcardonav

Greeting guys Rookie here again. By the way, thanks for all the help. Anyway to business. I am trying to compile a program to understand how to handle exceptions using inheritance. I have created first error.h where all the classes and child classes are defined. Then when I create my …

Member Avatar for vijayan121
0
137
Member Avatar for toolmanx

I'm running AMD Xp1 compiling with Borland bcc32 with cpp extensions. When I minimize and then bring my window back up to normal, the buttons in my toolbar disappear. I can bring them back up to the top by doing a resize (mouse on edge of window with a button …

0
84
Member Avatar for kux

i noticed that when u compile with visual C++ u don't need the throw statement in function headers, but when u compile with g++ u need to explicitly mention all the exceptions u're function might throw. i mean: [code] void functionx() throw ( exception1 , exception 2) { //blabla throw …

Member Avatar for kux
0
157
Member Avatar for rwagnes

I have a dialog that contains three spreadsheets of the class CSpreadSheet. I was trying to use the following export function to export the data to a text file: BOOL CSpreadSheet::ExportToTextFile(LPCTSTR FileName, LPCTSTR CellDelim, LPCTSTR ColDelim, LPCTSTR RowDelim, long Flags, LPCTSTR LogFile); My code currently looks something like this: m_Page1.m_patchSummary.ExportToTextFile(fileName, …

Member Avatar for rwagnes
0
567
Member Avatar for gcardonav

I have this simple program. I created a file called input.txt containing a list of names and I want to read from it. I have two versions of the program. The first one only gives me the first letter in the file and nothing else. The second one does not …

Member Avatar for Duoas
0
124
Member Avatar for shadowfire36

[code] this is what the assignment says : Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to …

Member Avatar for VernonDozier
0
332
Member Avatar for ITprincess

I really need help with this problem. I created a text file with five bank customer records including integer account number(starting with account #1000), first name(max 10 char), last name(max 15 char), and a floating point account balance. Now I need to write a program that reads the records into …

Member Avatar for Ancient Dragon
0
114
Member Avatar for vze2zv5v

This is Paul Michael. I need help with my homework. The sooner you can help me the better. I am stuck. Please give me the solution ASAP.

Member Avatar for Narue
0
196
Member Avatar for mysterio

Write a program that read a line of text, changes each uppercase letter to lowercase and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome Output: Please enter a line of text I am A.I …

Member Avatar for gkbush
1
580
Member Avatar for comwizz

Hello everyone, I ahd to make a program for initializing members of a class and displaying them.The members were name , bank account no, account type and current balance. Well , the program works well except for that null pointer assignment is displayed on the screen after correct output.Could you …

Member Avatar for Pranav Aggarwal
0
634
Member Avatar for hschitte

While executing an VC++ exe file i am getting an error as : could not found MSVCR90D.dll

Member Avatar for Ancient Dragon
0
42
Member Avatar for jjt

Dear Group, I am using VS.NET2003 VC++ 7.0 compiler to build the Snake Game (sample game) developed in C++ 3.0, now i would like to recompile in VS.NET2003 C++. Whereby it has three files, the root file snake.cpp and csnake.h header file. When i build the solution i ask me …

Member Avatar for Colin Mac
0
83
Member Avatar for sir avalanche

ok. so i decided to make a very irritating program that fills the computer its run on with junk. here is what i have done yet: [CODE]#include <iostream> #include <fstream> int main () { int i; ofstream filut1 ("allisdust1.txt"); ofstream filut2 ("allisdust2.txt"); ofstream filut3 ("allisdust3.txt"); ofstream filut4 ("allisdust4.txt"); ofstream filut5 …

Member Avatar for hollystyles
0
161
Member Avatar for brk235

Hi all i want to use GUI wıth the Mıcrosoft vısual C++. I have taken some reference code for Win32 GUI and compiled ıt..but ı was gettıng error to compile this code. This is the code which ı compiled... [code=cpp]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int …

Member Avatar for Nick Evan
0
99
Member Avatar for begueradj

[B]Hi people, I want to know how could we embed SQL code into C/C++ code. Please, give me a link or give me a small example. Thank you very much. Begueradj.[/B]

0
27
Member Avatar for AshwinCareem

Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.

Member Avatar for Nick Evan
0
154
Member Avatar for kadajett

hey guys i am having a problem here... i am working on a new text based rpg and im trying to use a name that someone enters EXAMPLE #include <iostream> using namespace std; int main() { char name; cout <<" do you remember you name? " << endl; cin >> …

Member Avatar for brk235
0
98
Member Avatar for jaepi

Hello there! I come across this function and I was having a hard time dealing with it because it has two function prototype. [B]int swprintf(wchar_t* buffer, const wchar_t* format[, ...argument])[/B] and [B]int swprintf(wchar_t* buffer, size_t count, const wchar_t* format[, ...argument])[/B] I used the first one in Windows and it worked …

Member Avatar for Salem
0
92
Member Avatar for shaikh_mshariq

Thanx to daniweb and all the posters. I have created a program for viewing process and hardware information on windows platform. Now i want to run this program on remote machine. How can i do this. I have administrator permission on that machine. Making dll of this program would help …

Member Avatar for shaikh_mshariq
0
262
Member Avatar for moffett018@aol

I need help on how to write a program that determines the number of days between two dates input by the user...u have to use at leat one loop structure and i dont know where to start...can someone please help me...i have the input by the user down i jus …

Member Avatar for moffett018@aol
0
85
Member Avatar for DesiShaddy

Help with sorting hand of playing cards Hi Guys, I have all my code working except sort function . I need to sort the cards in hand......and I am having hard time with that.... Any help would be really helpful ;) [code=c++] #include <algorithm> #include <iostream> #include <string> #include <stdexcept> …

Member Avatar for ndeniche
0
167
Member Avatar for USUAggie

Hello everyone, My name is David and I am new to these forums as far as posting goes, but I have used alot of the advice given here in my programs. I have come across a problem though in my program that I cant seem to figure out why it …

Member Avatar for VernonDozier
0
79

The End.