49,761 Topics
| |
Is it possible to move the screen focus in allegro. Like, key[KEY_UP] would move the screen up on a map? Thanks in advance. | |
Hi guys, I am getting similar "identifier cannot be found" errors, except with "mkdir" they look like: 1>------ Build started: Project: shot_detect, Configuration: Debug Win32 ------ 1>Compiling... 1>film.cpp 1>c:\documents and settings\kedar\my documents\downloads\shotdetect-1.0.86\shotdetect-1.0.86\src\film.cpp(22) : fatal error C1083: Cannot open include file: 'ffmpeg/swscale.h': No such file or directory 1>image.cpp 1>c:\documents and settings\kedar\my … | |
hi, i have the following code for tic tac toe game Human vs. Computer, it runs without problem but when i prompt for entering X or O, it gives an error, can someone help, appreciate the answer. here's my code: [CODE]#include <iostream> #include<conio.h> #include<process.h> using std::cout; using std::cin; char matrix[3][3]; … | |
Hi guys, Firstly, a quick thank you to whoever put this site up, wealth of advice and everyone here sounds helpful. I'm quite new to C++ and programming in general so go easy on me. I'm trying to find a way through a maze from a given start point through … | |
hi guys, I've created a function that returns the number of times a value resides in a container (in this case, vector). The user is able to specify were in the vector they wish to search for the value. [CODE] int number(int n, vector<int>::iterator start, vector<int>::iterator end) { int count … | |
Hi Everybody; I wrote a class that uses boost library to create thread. My thread function just do select operation for mysql database. Besides, I developed a client program to test server side, but server side gave 'segmentation error ' after fourth client request via socket. [CODE] void Thread::Start(void (*function)()){ … | |
Hi, I am trying to embed python in c++. everything is working fine apart from couple of issue. what exactly i am doing is creating an API for C++ functions in my application to be accessible using python script. When i run a script its runs fine and when i … | |
I had this:[CODE]classA* class[10];[/CODE] But now i dont know the exact number(10) and i want to put a variable there and i get a compilation error.What i should do instead? | |
can anyone guide me how to run a c++ program inclusive of graphics through notepad++ by using borland compiler OR plz guide me hw to compile n run a c++ graphics prog in vista..as it's not possible by normal tcpp | |
This code defines a new operator new in C++ such that the memory returned is in the shared memory segment rather on the heap. This code exists to prove a point. "Objectifying" shared memory. One can not overload the new operator but one can overload operator new. Reference the C++ … | |
Im trying to write a golden section optimization search program. I have written it to this point and im getting 25 errors in it and i do not know how to fix them. I am new to programming and did do research on the errors and am still unsure. I … | |
Hello All, I have some questions regarding C++ and ASN.1: 1. I have a C++ class with several data structures, which themselves hold different types of variables. Can I create an abtract model of such a class with ASN.1? 2. I also plan to write a program later on, that … | |
| Hi, Apologies if this has been covered already - I searched but couldn't find anything relevant. I am looking to learn both of these languages mainly because I am in a bit of a dilemma career-wise. To be as concise as possible (this aint no agony aunt page I hear … |
Hi, What is the difference between CObList and CList? If we use a CList as - CList<CObject*, CObject*>, is it similar to CObList? | |
I want to make drum software.I need to use standard midi for this.Someone please tell me how I can. | |
I'm in beginner stage of VC++. While i compiling the pgm with MFC there's an error "error C2065: 'IDD_DIALOG' : undeclared identifier" | |
I am not interested in C++ but it is most important to learn it i was scared from it since my college time but it is a professional task for me any body have any good way to learn it? | |
i was just wondering if anyone can give me an example of how to use a menu and parallel array together for a vending machine c++ code. Also when do you need to initialise all these things? before the main() or inside the main()?? pleaase helppp! thanks youu.. | |
Hi, i have this assignment and i would like some help with it please. It is my first assignment ever in c++ and it is my first go at writing code for it. Ill post the question and my code so far if anyone could help me get the code … | |
What does the linker error "SEGMENT_TEXT EXCEEDS 64K"mean,is there any way to solve this.Plz Reply SOON!Thanks in advance | |
Hi guys...I am learning binary trees and its quite interesting. But I am unable to make4 a the delete a node function in it. Whenever I try to delete a node, a fatal error occurs and the program closes. Can you please point the error out for me in the … | |
i need to ask some question about header file and some sentence in c++ because i prepare master in image processing cane anyone offer help ,please thanks | |
I am working on a programing that needs to accept a text file as input and read that data into an NxM matrix. The only given size limitation is that the max row length is 1024. Additionally, the program needs to produce an error if all rows do not contain … | |
Hi, I have started programming in C++ and I have a newbie question: How to get a wxEdit text value into a message box, like this: [icode] void Project1Frm::WxButton1Click(wxCommandEvent& event) { MessageBox(NULL,"You typed: '" PLUS "wxEdit text" PLUS " in the textbox","Testing",MB_OK); }[/icode] Any suggestion is welcome. Thanks. | |
I have done approximations of I=∫dx/x using Simpson's rule and Trapezium rule, and I output the results to excel. And I plotted a graph. My problem is, why are there fluctation at a point of n instead of showing linearity all the way(Picture below)? I have been thinking this all … | |
Hi Everyone. Apologies for the length of my first post but this one has perplexed me an bit in my project. Im creating an Windows Media Player Visualization in VS2008 and am drawing an blank on the below. What i need to do with the below code is to create … | |
Hello sir, This is Rajasekhar murthy.... I want a c++ program on files i.e.., write a c++ program to eliminate blank space ,comments, tabs in a given file. I am waiting for your reply sir.......... | |
Is this possible to declare a template struct similar to template class: [CODE]template<class type> typedef _stack { type arr[MAX]; int tos; } stack;[/CODE] Thanks. | |
Hey :) I wonder how i can make my program make a shortcut to itslelf, and put it in a specific directory? | |
Can any 1 help me or give me a tip i know that i have some mistakes what I want to do is : - Read the input until eof keeping track of each letter that occurs in the input as well as the number of occurrences of that letter. … |
The End.