49,761 Topics
| |
gl\glaux.h: No such file or directory. i get the error above when trying to compile any code with #include <gl\glaux.h> in it??? | |
Hi all, I'm completly useless at C++ and was wondering if anyone can tell me how to tell a program that when I have pressed Enter, if the string is empty do nothing. Its for updating details. I'm using an Input header file that my lecturer wrote. This works fine … | |
Hello, I'm new to VC++7 and openGL but have luckily gotten some basics down and am ready to show off what i know to some friends. What I tried doing, is to simply zip the .exe, but this failed. My friends and I all play quake 3, which uses opengl, … | |
Can anyone tell me if there's any standard package for C++ to work with regular expression, or I will have to get some third-party package? | |
<< moderator edit: split thread from [thread=8544]here[/thread] >> i've found that somehow cin has a '\n' by default and you should use cin.ignore() to clear the input stream. hope this helps. :idea: | |
Hi, I was wondering if anyone has encountered this problem. I'm using Win32 API calls FirstFile() and FindNextFile() to search for files on my computer. The problem is, both function calls seem to return extra files that aren't part of my search string. Has anyone else experienced the same problem? … | |
hi could someone help me . Exist some function in c or c++ or visul c++ to do a conversion from ASCII character in decimal number??? please help me thanks in advance | |
| If you are an absolute beginner to C++, it is a good idea to grab some books from Amazon (that's what I did!) The first 2 books i bought were: C++ - A Beginner's Guide C++ For Dummies It is generally better to read the beginner's guide first, as it … |
Anyone has any idea how to open a windows registry key using C++? from my understanding, there is a function in winreg.h that does this, RegOpenKeyEx and RegSetValueEx. But i cant seem to open the key with RegOpenKeyEx. When debugging, the debugger showed this error message "First-chance exception in Proj.exe … | |
Hi, I am just wondering how to remove particular *obj file from a given *lib file. Details: I am using C code in VC++6.0 compiler. I created project with few files (such as 1.c, 2.c, 3.c…etc.,). My project output is *.lib. I want to remove 1.c or 1.obj from *.lib. … | |
I have been a Delphi user for 8 years and now migrated to C++ and have found the changeover quite taxing indeed. I am using Visual Studio .NET and have before that used MSVC 3 and MSVC 6 and always had the same problem: I code my classes and methods … | |
Hi evrybody and thanks in Advance. I am programming with Borland C++ 5.02. I am trying to do a dialog where the user can choose a directory. I would need something like TOpenSaveDialog, but only with folders, not to have to choose a file. Thanks | |
hi, i want information about where i will get e-book for Registry API to chang or modify Registry from platform SDK in VC++. Is any one have book related with registry changer or registry handler through WINDOWS REGISTRY API please give me . | |
I have files called “1.c , 2.c, 3.c and 4.c | |
Hi all, Can any one tell me how to delete any file from a C++ code. I can do it with the help of the function 'system()', but is there any other way? :?: :?: :?: | |
Hi, In my never ending quest to improve my C++, I'm trying to write a class that sets and reads shared memory. For the time being I am avoiding dealing with issues of concurrency/locking, etc. and starting small. I was successfully able to put into shared memory things like integers, … | |
Hi, After completing my Date class, I realize that I am suffering from the 2038 problem. (As described here-> [url="http://pw1.netcom.com/~rogermw/Y2038.html"]http://pw1.netcom.com/~rogermw/Y2038.html[/url]). Does anyone know which libraries (or which code) I need to switch to on *nix systems to overcome this? (I know windows has someting like mktime64 (instead of mktime). Google … | |
| HI! I am new to programming (*although i know some html*) and I was wondering if someone could tell me what is wrong with my C++ area calculator? Thanks! [CODE]#include <iostream> using namespace std; int main (int argc, char **argv) { int height; int width; int area = height*width; cout … |
the values are not being passed correctly, in my constructor i copy the value of d to decimalNum and the value of b to base. when i run the program the values are 0. what am i doing wrong?: baseType::baseType(int b, int d) { base = b; decimalNum = d; … | |
Ive made a program in .sh that flushes urls with topic into standrard out, now i want to make that program do the same as a c++, please help any 1 basicly i need the program to "download" urls with matching topic from the site... :idea: | |
Hello.. I wish to write a client program in C++ which will keep on sending a packet of info to a server on internet at regular intervals. As I am a newbie, i am not getting any idea how to do it.....Further, I would like to mention that the program … | |
hi , i need function to calculate primitive root for prime q that if i choose prime number q then a which is primitive must satisfy that a%q ,(a pow 2 )%q , ...... (a pow i )%q = distinct integers betwwen 1 & q-1 that 1<i < q-1 and … | |
write a recursive function to convert a number in decimal to a given base b, where b is between 2 and 36. so far converts between 2 and 16 what must be added to convert between 2 and 36? [code]#include <iostream> using namespace std; void toBase(int n, int base) { … | |
Any1 plz help me.im new to this site and a begineer of C.... this may be stupid ques to ask.. char msg1[20]="hello"; char msg2[20]="welcome"; char msg3[20]="goodnite"; can i store these three arrays in one sigle array....not in pointers. ie in..... char result[50]; i need the result like this.. output: hello … | |
Dear All. Basically I am having trouble passing my class object to myQueue. I know my Queue works as I had it working for Integers and Charachters but after approx 25hrs over 4 days I still can not get my Object to store in my Queue. Any and All help … | |
I am at uni doing computer science and interested in game programming. i just have a few questions . . . are most games programmed in C++? how long will it take to learn i mean to get good enough to do a game like dig dug (a classic man)? … | |
[b]PLEASE FORGET THIS POST... The problem was located in the debugger, which is not able to handle several running threads of ThRead().[/b] [quote] I wrote a file-buffer using Borland C++ 4.x. The buffer is implemented as a thread, which fills itself automatically. I implemented a function, called GetChar() which returns … | |
I'm wondering if i can create a program that reads texts file. In the text file is c++ code ... could that be compiled in the running exe? So basically you'll have somehting like this in this first file: [php] #include <iostream> #include <fstream> using namespace std; int main() { … | |
i have the following for my operator overload [code]fraction fraction::operator+(const fraction& object)const { fraction temp; temp.a = a*object.b + b*object.a; temp.b = b * object.b; return temp; } fraction fraction::operator-(const fraction& object) const { fraction temp; temp.a = a*object.b - b*object.a; temp.b = b * object.b; return temp; } fraction … | |
| Hi again, I have started to make an angle calculator using C++ but i am struggling. How would i recieve a command from the user to open a help screen?? Help would be appreciated, thanks! |
The End.