General C++ Programming - June 2012 (Page 12)

CSV file of random words
 
Hi, Just a quick post; anyone know where I can obtain a CSV (Comma Separated Value) file, containing a load of random words? Preferably with English spelling...
[3 replies] Last: Fair points; cheers :) Keith (by hnefatl)
inheritance wont work << "Pet not a struct or class name " <<endl
 
I continue to receive and error in the base class declaration of "Pet" not being a class or struct, when i have included the parent classes header file. #...
[8 replies] Last: Thanks for more knowledge :-0 i'll take as much as you can give :-)) (by bgreen7887)
C Graphics
 
Actually I want to move a line. But it has to be simultaneously with another function of moving another line.But i am not able to run both functions simultaneou...
[1 reply] : The trouble is in your design loop. - Record changes to be made. - C... (by Computergeek01)
textures in glut tutorial (2d or 3d)
 
Hello, I'm looking for a good tutorial on how to make a texture and attach it to an object WITHOUT using glaux or someone else's header (this is mainly targeted...
[no replies]
by viliml
Do array dimensions have to be constant???
 
I have heard and read a LOT about how array dimensions should be either const or macros, but I almost NEVER do it that way. For example: #include <iostream>...
[14 replies] Last: Add the compiler flags -pedantic (or -pedantic-errors) and -std=c++03 ... (by Peter87)
Eclipse ide for C++
 
i want to use eclipse on mac but can seem to get the compiler to work i have xcode but it still has errors when i make the default helloworld C++ project please...
[1 reply] : Could you be more specific than "it still has errors"? (by ascii)
Square Root Estimation Precision Tuning
 
I have created an algorithm for calculating a square root of an integer value, that was the hard part, or so I thought, I want to also be able to change the pre...
[no replies]
MIC-input for Fourier?
 
Hi, I am a rather inexperienced Programmer, but my goal is to write a Program that computes the Fourier-Transformed of the Microphone Input in real time. My P...
[no replies]
by sanu
Template Vector class
 
Hi everyone! I am having problem with my destructor; private: T list ; int size; }; template<class T> myVector<T>::~myVector() { ...
[8 replies] Last: @doug4 thanks so much... finally i have the template vector class wo... (by sanu)
by luuksa
SMS API
 
So, here's a thing, I need to make an application that receives SMS from mobile phone (via 3G, Wi-Fi) and I need to store received data in database or some sort...
[no replies]
Hiding functionality of members in a base class
 
Hello, In inheritance, you can hide or change the functionality of members in a base class. Usually, you either overwrite a member function/variable with the...
[9 replies] Last: We could use any feature in any way we want, but the features apply to... (by Veltas)
Question about copy constructors
 
I'm trying to figure out exactly when a copy constructor is called. I wrote the following minimal program: #include <iostream> using namespace std; clas...
[6 replies] Last: I see, that makes sense. (by tijmentieleman)
I'm very green
 
I'm just starting out. In the book it shows 1: #include <iostream> 2: int main() 3: { 4: int x = 5; 5: int y = 7; 6: std::cout << std::endl; 7: std::cout...
[5 replies] Last: It was std::cout << x + y << " " << x * y; not std::cout << x + y <... (by netsecdude)
by five1
Error please help
 
I have this following code and following error is poping up!!! error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'con...
[1 reply] : Please post code with code tags (click the <> button on the right to g... (by Veltas)
Timer C++
 
Hi so currently I'm making a simple game. But I need there to be a timer so that after 30 seconds it says how many points you've achieved. I'm pretty shore a he...
[2 replies] Last: You should simply use clock() form the "cmath" header. (by viliml)
by Milun
SDL.h: No such file in directory
 
This is driving me crazy. Hello, I am attempting to draw a hexagon using CodeBlocks and SDL. I have tried countless times to include "SDL_draw.h", but no mat...
[6 replies] Last: I don't know if this helps, but I followed these instructions: http://... (by Milun)
Dependent Names in Using-Declarations
 
Hi,there is an example from ”C++ Templates: The Complete Guide 9.3.4 “: template<typename T> class BXT { public: typedef T Mystery; templat...
[4 replies] Last: That bug report shows the bug as fixed. The particular part of the co... (by guestgulkan)
problem getting boost to work on code::blocks
 
I installed the code::blocks/mingw bundle and I'm trying to get boost to work, and I *think* I'm almost there. I followed the guide in the wiki here: http://...
[no replies]
The programme does not read the data from the file
 
Hi, my programme is not reading the data from the file as it is supposed to do for some reason. When I compile and run the programme, it does not show any data ...
[4 replies] Last: i tried ur code, its working fine, try to call ur exe from the cmd pro... (by SirSmilesaLot)
HELP ME!!!!!!!
 
Assume you are looking to buy a house in a new development.After looking at various models they are majestic,split-entry,and single-story.The builder gave them ...
[1 reply] : i dont see a problem, if u are using some stl container to store all ... (by SirSmilesaLot)
June 2012 Pages: 1... 1011121314... 33
  Archived months: [may2012] [jul2012]

This is an archived page. To post a new message, go to the current page.