49,761 Topics
| |
Hello everybody! I'm trying to display the result of addition of vectors. But Builder shows the error after compilation (line 29). What should I change for in my code in order to find the problem? Thanks in advance. #include <iostream.h> #include <iomanip.h> #include <conio.h> class CVector2D { public: CVector2D(double x0 … | |
#include <iostream> template <unsigned, unsigned> class Screen; template <unsigned H, unsigned W> std::ostream& operator<<(std::ostream&, const Screen<H, W>&); template <unsigned H, unsigned W> std::istream& operator>>(std::istream&, const Screen<H, W>&); template <unsigned H, unsigned W> class Screen { friend std::ostream& operator<<<H, W> (std::ostream&, const Screen<H, W>&); friend std::istream& operator>><H, W> (std::istream&, const Screen<H, … | |
Here is some of the most beatiful books to learn C++ quickly and easly, i do recommend any one how want to learn c++ programming to start with any of this books [C++ Programming From Problem Analysis to Program Design](http://iit.qau.edu.pk/books/C++%20Programming%20From%20Problem%20Analysis%20to%20Program%20Design%20%5B5th%20Edition%5D.pdf),5th Edition by # D.S. Malik # [C++ primer](http://cdn2.filepi.com/g/Y9VSbKZ/1401289997/ebb756f7254ad66a01b5322f7d4d00e2), 5th Edition … | |
Can anybody help me solve this case? there's an example input and output | |
I'm getting a compiler error when trying to initialize a geometry shader using OpenGL. I'm using VS2013. Here is how I initialize it on OpenGL myCgContext = cgCreateContext(); cgGLSetDebugMode(CG_FALSE); cgSetParameterSettingMode(myCgContext, CG_DEFERRED_PARAMETER_SETTING); CGprofile gpProfile = cgGLGetLatestProfile(CG_GL_GEOMETRY); if (gpProfile == CG_PROFILE_UNKNOWN) { if (cgGLIsProfileSupported(CG_PROFILE_GLSLG)) gpProfile = CG_PROFILE_GLSLG; else { fprintf(stderr, "%s: geometry … | |
I need a solution to this problem The idea of the project is about to draw a small village where we can change the weather by using (swich) function>> The problem is that when I Write a function to draw a rain was the raindrops scans colors that appear above … | |
an online ATM machine, connected to the server (another computer). All the data is stored on the server. The ATM client will only be used for cash withdraw or some other basic ATM functionality. | |
Could you tell me what problem this code has? This is a simple ATM code. (Menu: openAccount, deposit, withdraw, displayAccount <-display All Account). There is no noticed error(red line). Code was running. But I can't store information on Object.. (It maybe my fault thought) class Account{ private: string accNum; string … | |
Can anyone please eleborate this project.I have to make a console application of it. Please tell me what is knap-sack and whats the concept behind its programming. | |
i'm reading these page: http://msdn.microsoft.com/en-us/library/windows/desktop/bb775951%28v=vs.85%29.aspx but see the Remarks section: Remarks For illustrations of the principal button styles such as BS_CHECKBOX and BS_GROUPBOX, see Button Types. The appearance of text or an icon or both on a button control depends on the BS_ICON and BS_BITMAP styles, and whether the BM_SETIMAGE … | |
C++ is a powerful general-purpose programming language. It can be used to create small programs or large applications. It can be used to make CGI scripts or console-only DOS programs. C++ allows you to create programs to do almost anything you need to do. The creator of C++, Bjarne Stroustrup, … | |
Write a C++ program that asks the user to enter the price of a car (real), the down payment (real) and the number of years for the loan (integer). Calculate and output the monthly payment (real) of that car. Assume the sales tax rate is 7% and an interest rate … | |
Hi, All last year i posted for solution to programatically retrieving I Q data from USB Tv Tuner (Gadmei UTV382 USB TV BOX) for implementation of SDR. Since then no reply was received that could solve the problem. Some detail of the device, it has 1. XCEIW XC4100ACQ tuner 2. … | |
C program which calculate Sale,balance Am new for c++ and pleas help me | |
Here is a link to some C++ Code that I did while I was in college. Thought I would post it because maybe it will help someone else. [url]http://www.vsbrown.com/cplusplus.asp[/url] :D | |
webBrowser1->Document->GetElementById("email")->Value = textBox2->Text; this code an error. help me. | |
plz cheak this if you dont know? >>>>>surf birthday paradox #include <iostream> using namespace std; #include <stdlib.h> #include <time.h> const int SAMPLE_SIZE = 24; const int NUMBER_OF_SETS = 1000; int Menu(int); void ExplainBirthdayParadox(); void VerifyBirthdayParadox(int Birthday[]); void SortBirthdaySet(int List[], int Last); inline void Swap(int &A, int &B); void LookForMatch(int Birthday[]); … | |
The 3rd party to EXE calls like call backs work but call backs from 3rd party DLL to another DLL won't work. 3rd party DLL has to message the upper EXE or DLL that evetually gets emailed out. Working platform is Vista or Win 7. | |
Ok I need to know how to fill in blanks on a website. My example is if I wanted to fill in First name, second name, address on a website and repeat. Can someone help me with this. Some people say its called a "bot" | |
Actually i need help in making a project on reservation system(hotel,bus etc) in C++(oop) ..can somebody just guide me in making my project ,,, thanks in advance | |
Hi all , I would really appreciate if any one will help me. i am working face recognition system for security system i am comparativly new to work on such system. i looking for code snap to start the project. project requirment is, once a person's face get recognised by … | |
Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions: • void getScore() should ask the user for a test score, store it in a reference parameter variable, and validate it. This … | |
I have declared, map<int, vector<int>> abcmap; map<int,vector<int>>:: iterator itmap; vector<int>SPLINKS; SPLINKS contains: 1 3 4 abcmap contains; 1=> 1 2=> 2 6 3=> 1 2 4 I want to iterate both SPLINKS and abcmap to find and erase elements that do not match in both containers; ie after execution; 2=>2 … | |
using the WM_KEYUP message: how can i combine the keys? if(wParam== VK_CONTROL & 'a') MessageBox(NULL,"hi", "hi",MB_OK); if i click on control key, the message is showed.... but my combination key is ctrl+a.... so how can i combine the keys? :( | |
Dear all I used codeblock to make a machine and now I need to capture the screen, I tried the GDI and DirectX examples in this site : http://www.codeproject.com/Articles/505 ... the-screen but codeblock gave errors , I think I do not know how to use them , please tell me … | |
I have a assignment on Knapsack(tree and bound) and went online to find out how to code tree and bound in c++ but most of the resource are all theories. Thus I don't know how to begin coding and need some help to start off. | |
Requirement: To distribute a list of sorted numbers in evenly sized group based on the sum which will be fixed. For example 4 11 16 18 49 74 90 100 101 --> Sorted list Sum = 100 --Fixed Groups will be Set1 = 103 Set2 =101 Set3= 100 Set4= 90,4 … | |
can anybody have idea about maze traversal in c++ language # | |
can any help me i have to do my assignment that how to swap 5 number using pointer in c++... | |
I have delared two multimaps such as; multimap<int,vector<int>> allpathsmap; multimap<int,vector<int>>:: iterator itapm; typedef pair<int,vector<int>> pairapm; multimap<int,vector<int>> graphtextmap; multimap<int,vector<int>>:: iterator itgtm; typedef pair<int,vector<int>> pairgtm; And I wrote the following code to traverse the values of multimaps to print the key; for(itgtm=graphtextmap.begin(); itgtm!=graphtextmap.end(); ++itgtm) { for(itapm=allpathsmap.begin(); itapm!=allpathsmap.end(); ++itapm) { cout << endl … |
The End.