49,761 Topics
| |
what is the difference between openGL glut and openGL? | |
I'm a total newbie and.. with the code above.. What I want to do is have 10 dValue numbers, but if, of those 10 I only enter 5 values, the exe shouldnt ask me to enter all 10 and just add the 5 values I entered when I press the … | |
Hi, How can I convert the TeMyEnumeration constants to integer values? See code below [CODE] typedef enum{ zero, one }TeMyEnumeration; typedef struct{ TeMyEnumeration myEnumeration; int myInteger; } [/CODE] I send this complete structure, byte by byte, using a memory pointer to some serial output. I want the myEnumeration variables also … | |
Hi, I'm hoping someone can help! I'm writing a sign language tutor that displays a video of someone signing and then expects the user to record themselves performing the same sign. The program works perfectly when run through Visual C++ 2008 Express Edition. However, if the .exe file is run … | |
help me with the linked list where we have parkinglot ,with class apassenger,class acar,class aParking area.the program should register passenger, driver,car also able to remove a car in parking area[code]limplementing a linked list[/code] | |
Well. I've been developing a small game. This is what I have done: I've created a Engine project, which has these files in it: Geometry.h Engine.h Engine.cpp Now, I've created another project, called Test, and it has only one file in it: Main.cpp. I've included the Engine.h by modifying the … | |
I'm having some real problem with a list of objects. My objects in this case are called Aircraft & I've given them these features: [CODE] int flightNo; void setFlightNo(int i) { flightNo = i; } int getFlightNo() { return flightNo; } [/CODE] Ok, all good - until I put them … | |
hmm.. i have just a bit of experience in c++ and i'm just coding a program to learn. it is a windows forms app and there are 3 forms in one same project. how do i get a textbox value from one form and use it as a variable in … | |
[B]* please help me to download the file (inpout32) form the page ( [url]http://www.logix4u.net[/url] ) becuase : [/B] * when I opened that page , appeared there is error in page. * please put the file in this forum. | |
I'm working on a Project, which includes downloading some files from INTERNET, and the code language is C++, I'm using Codegear C++ Builder 2009, If anyone knows how to download a file using c++ code. please help me, I'll be greatly thankful if you provide a code snippet and then … | |
I am writing a database API in C++ and I cant seem to think of a good way to handle the errors. For example if certain error conditions are met I would like to set some sort of error flag and allow every class to check that flag. I have … | |
I am inclined to suspect that Borland C++ compiler 5.02 is seemingly full of bugs. Even though my C++ codes could be bug free, it reported External errors on compiling and failed to create an EXE file to run. Thanks to Mr. Salem, I have successfully compiled the above codes … | |
I am trying to create a program where it will read in the student name, nationality, and grades, and calculate their tuition fee based on those information. I began to write a bit of code by I have ran into some problems. When I try to run my code, the … | |
i usually use Visual Studio 6 or sometimes Dev Cpp.. but, they can't show me the runtime and the memory spent.. i need that information, to make sure that my program is qualified.. can someone help me about cpp compiler that can do that? thx. | |
hello every one.. i m a newbie and was going through structures.the code is as followes: [code]#include<string> using namespace std; #define n_emp 3 struct workerdb { string name; short age; int salary; }employee[n_emp]; void printdb (workerdb); int main() { int n; for (n=0;n<n_emp;n++) { cout<<"name: "<<endl; getline(cin,employee[n].name); cout<<endl; cout<<"age: "<<endl; … | |
Hello, I would like to find out if there is a c++ library that supports fuzzy string search. If I have a list of words such as: hello, there, cool. But I search for 'Helo' I would get Hello. I assume this is a solved problem for spell checkers. Anyone … | |
When you're done reading this feel free to tell me if I've completely misunderstood .NET As I understand it on Windows code can be compiled to IL which then allows it to be used from any .NET language like c\c++\c#, and basic. So could I, and if I can how … | |
Hello all, I am taking a course in C++ and in Ada. Our professor has given us the choice to be tested in language profficiency in either C++ or Ada. The test format will be of simpler programming problems and more geared towards shortanswer concepts. I was wondering if anyone … | |
i'm a little confused with the keypress thing.. this is how i write my code.. if(KEY_DOWN(VK_UP)){ // my statement ... } now what i want to achieve is, i want my statement to execute only once when i press up key. instead what happens is it keep executing till i … | |
p1a.c: In function `main': p1a.c:20: parse error before `char' p1a.c:46: parse error before `char' p1a.c:47: `result' undeclared (first use in this function) p1a.c:47: (Each undeclared identifier is reported only once p1a.c:47: for each function it appears in.) p1a.c:47: `basechars' undeclared (first use in this function) | |
Is it possible to call a .dll I made in C#, and use it in my unmanaged C++ code? If so, can someone show me an example of how this is done, or a link to go about doing it. I wasn't able to find much on google, and most … | |
When debugging my code, I put a break point at this line: [code] std::set<unsigned int>::iterator it; [/code] When I step over that line, I get "Debugger reported the following error: cannot access memory at address 0x10". I am using KDevelop that ships with Fedora 11. I've used that line of … | |
Dear friends, I need a help with a Wait (Hour Glass) cursor. In my MFC program, I have the following code: [CODE] void CBookDoc::SomeMethod() { AfxGetApp()->DoWaitCursor(1); // display the hourglass cursor ... // Some stuff is done ... AfxGetApp()->DoWaitCursor(-1); // -1->>remove the hourglass cursor }[/CODE] I wonder why the cursor … | |
Two lines in the codes below have been remarked out else compiling would fail: //arrcon[1]=*scon; //count << "arrcon[1] " << arrcon[1]; The intention was to assign character values to an array with 5 elements, each with a maximum 35 characters, declared as a string array, arrcon[5],[35]; I was trying to … | |
I have filled up a List with many elements of "Hello". Now I wonder how it is possible to use MemoryStream to "chunk" this and append it to an existing file.("C:\\OutFile.txt") I have googled around on examples for 2 days without really understand how to do this. I have understand … | |
when i compile, it gives the following error : Undefined first referenced symbol in file main /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/crt1.o ld: fatal: Symbol referencing errors. No output written to a collect2: ld returned 1 exit status Can anyone please tell as to what's going wrong here.[code]I have some code where i want to … | |
Hi, I need to use the borland c++ complier for making my college project. I use only linux and I am unable find the compiler. Any help will be much appreciated as I am stuck. cheers, Vishal p.s- Gcc and other compilers are not allowed for the project . | |
Hey i have this homework problem that i can't seem to solve. i have already did the rest of the program but i have to change the output of this program but i can't seem to make it work. the output they want is.. Home Owner Price of Home Seller's … | |
Hello everyone, I'm writing some code for an assignment that reads in a line of characters into a STL list, sorts them alphabetically and then has to reorganize them vowels to the front. Right now I'm stuck on the step of writing a function that accepts the list as a … |
The End.