49,761 Topics
| |
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! | |
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 … | |
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. */ … | |
I would like to convert DMG files to ISO. Can anyone help. I use a MacBook | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
[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 … | |
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 … | |
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. | |
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 … | |
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 … | |
While executing an VC++ exe file i am getting an error as : could not found MSVCR90D.dll | |
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 … | |
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 … | |
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 … | |
| [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] |
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. | |
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 >> … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … |
The End.