General C++ Programming (Page 49)

OpenGL unreferenced function
 
Hopefully someone can help with this problem. I use Codeblocks IDE + MingW compiler and try to writ...
[14 replies] Last: @cire: Freeglut is working fine, I can compile and run a simple OpenGL... (by chihwahli)
Trouble with this program.
 
Having some trouble with this C++ program. I need to rewrite it so that the customer can select mult...
[3 replies] Last: I didn't see that you were required to us a vector, so I changed the v... (by Carm)
by tanja
template parameter
 
Hello, i have following template class template <int nr = 10> class my_class{ ... }...
[2 replies] Last: thank u (by tanja)
by aj3423
std::regex problem, why \s\S doesn't work
 
Hi, Why this code not working? #include <iostream> #include <string> #include <regex> using names...
[8 replies] Last: some dialects support [^] as real "all symbols" character class. The... (by aj3423)
1>LINK : fatal error LNK1561: entry point must be defined
 
#include <iostream> #include <math.h> #include <string> #pragma once namespace Project1 ...
[1 reply] : If you are very new with C++ I would suggest starting somewhere more b... (by booradley60)
Bubblesort Template
 
I keep getting this error no matter how much I change sort. This are 3 separate files header, CPP, a...
[4 replies] Last: The error you posted is generated becouse, in line 5, you declared onl... (by Nobun)
Variadic Templated Mixin Class...
 
I've been messing around with variadic template arguments, and I can't get a template pack to expand...
[1 reply] : bump Works fine if I use no ctor at all, but ctor functionality is ... (by Bourgond Aries)
reading a string 2 characters at a time
 
hi guys may i know how do i read a string 2 characters at a time? lets say i have a for loop like...
[3 replies] Last: no, it won`t always be an even number. it is subjected to the user`s i... (by CLearner88)
by aruna
Inheritance program...
 
I made some changes in my previous program and tried to debug. there are no errors but i am not gett...
[10 replies] Last: Thank u that made me understand where i was wrong.. But still i am not... (by aruna)
Beginner
 
I am literally a beginner, I stated a few days ago. Anybody have any suggestions on good ways to lea...
[3 replies] Last: I'll just quote what I wrote on another topic a couple of days ago. ... (by Drippar)
Why not class calling the main's function?
 
Ok guys I want your help in my programming assignment. I have two files, main.cpp and a class fil...
[1 reply] : Because class does not know about this function existence. You can for... (by MiiNiPaa)
Friend function. ERROR: modifiers not allowed on nonmember functions
 
#include <iostream> #include <fstream> #include <cmath> using namespace std; class frac{ ...
[4 replies] Last: Thanks a lot Cire and Firedraco. I love you all! (by Rehan FASTian)
how to display inputed values
 
Program works perfectly fine. I input in the length, width and height. But i want it to display thos...
[2 replies] Last: double sa, v; at line 95 are being used without having been initializ... (by Rehan FASTian)
guide me to solve parking rate..
 
THIS IS THE QUESTION. 1- The user would enter how many minutes he/she would like to park in the par...
[4 replies] Last: hi Smac. i've not learn about #include <cmath> yet ( also i know thi... (by maggotz)
by seehat
Reading from a text file
 
Hi everyone ! just need a bit of knowledge from your overflowing stack ! :) i got an assignment ...
[2 replies] Last: @samueladams thanks alot for reply mate. our study system in australia... (by seehat)
String to Long Long
 
Hey guys. I am writing a program and one of the functions that I need to write is supposed to co...
[6 replies] Last: Well I am breaking it up into 10 digit parts. I have added a for-loop ... (by struzy629)
problem with using the tea algorithm methods from wiki
 
i have been trying to call out the tea algorithm from wikipedia. However i keep getting a segmentati...
[2 replies] Last: ok thanks man! I solved it, its kind of a silly error. Thanks for you... (by CLearner88)
Tic Tac Toe Help
 
Hello, I am trying to revise my code, however, I am unsure of what to do for these last two thing...
[no replies]
by Shala
Program that eliminates whitespaces
 
im trying to write a program for class that when it reads it, it corrects all the spacing and capita...
[3 replies] Last: syntax: #include <iostream> #include <string> using namespace std; ... (by Shala)
trouble with pointers
 
Hi, Ive got a struct called Node that contains, among other things, a pointer to a vector of pgm obj...
[2 replies] Last: Thanks mate, I need to do more coding, I should have picked that up. (by Crakrjack)
Pages: 1... 4748495051... 65
  Archived months: [apr2013]

Cannot post in this page. To post a new message, go to the first page.