General C++ Programming (Page 2)

List of generic references to mixed types
 
I just posted a topic titled: "template for access of single element of static array". But after sec...
[9 replies] Last: Maybe the scope of my concept is just too broad to explain. But I'll g... (by NorseMN)
Xcode can't read the txt file
 
Im typing a code from my textbook just to test my Xcode. i put the txt file in right path and nothin...
[10 replies] Last: This all works for Mac OSX & Xcode latest, sorry Chervil to cut acros... (by Chervil)
Need some advice on a C++ project idea
 
I'm not a well versed programmer, but I've made a couple of things so far, right now I am trying to ...
[2 replies] Last: Thanks Samuel, the more confusing part to me is how I can allow the us... (by CreativeEcko)
Multidimensional Vectors
 
m trying to get data to store in multidimensional vectors. While executing m getting Error : "vector...
[6 replies] Last: That works. Thanks!! (by adbharad)
clang produces a different result than gcc
 
Hi guys, This code: #include <iostream> using namespace std; int someFunction(int var1, int var2){ ...
[5 replies] Last: > I have heard that clang is a much better compiler than gcc, With th... (by JLBorges)
Fastest Nth Prime Algorithim
 
Whats the fastest way to get the Nth prime number? There can be no gapes what-so-ever, and N can be ...
[13 replies] Last: Well, that could be right and was something I quickly thought about an... (by kemort)
int24_t, char24_t with exactly 3 bytes
 
Hello, sizeof(wchar_t) is 2. It can store any character from 0 - 65535. That is why I need an unive...
[2 replies] Last: Create a user defined type char24_t which holds three bytes, and has... (by JLBorges)
A solution to exercise 2.1 of "C++ Template Metaprogramming"
 
hi, I have benefited from the kind help of so many programmers in this site that I felt I needed to...
[1 reply] : Where is int main() {}? What will you use replace_type<T, X, Y> for th... (by gentleguy)
write a c++ program to tell degree or class
 
writing a c++ program to tell the degree or class of a student when you key in the cpga. dont know w...
[1 reply] : its now running. #include <iostream> using namespace std; int main... (by clementleibniz)
Help compacting Functions (1,2)
 
Hey guys, I need a way to compact functions. In order to understand my question, please go to ...
[21 replies] Last: You can pack your n < max_args arguments into a tuple of max_args ... (by mbozzi)
A file has some fields with white spaces - problem reading some fields
 
I am reading a file that contain string and int data. However, some strings have white spaces in b...
[3 replies] Last: take a look at string erase (by SamuelAdams)
how can i read this file!?
 
how can i read this file file.text names "admin" lets say i have file called file.text i...
[1 reply] : http://www.cplusplus.com/reference/string/string/find/ (by SamuelAdams)
c++ to tell degree
 
How do i write a c++ program that tells the class or degree of a student when his cgpa is keyed in.....
[1 reply] : You need to tell us what you've tried and what issues you are having. ... (by JayhawkZombie)
List of generic references to mixed types (Part 2)
 
I have managed to get a few things to work. Maybe some example code will help to focus the conversa...
[2 replies] Last: TheIdeasMan, Thanks for the link to the "How to use tags" article. I s... (by NorseMN)
Moving Robot C++
 
The walking robot based on a series of orders given , each command is one of the following types: -...
[5 replies] Last: If you like to create a simulation of roboter movements (2D)... I hav... (by Necip)
what is this
 
Hi, Regarding the following snippet I know that we are dealing with freind functions, members, class...
[4 replies] Last: On the topic of const-correctness, the member function displayItem() d... (by keskiverto)
Smart Systems - Possible or Not?
 
Dear Community, As a new user, I am happy to be able to ask for your assistance! Your thou...
[no replies]
Program access
 
I am seeking clarification on a problem that surprisingly is largely ignored by every textbook on...
[10 replies] Last: The code you supplied shows "while(true)" and embedded "return true" ... (by helios)
Program crash
 
Am making my own small program to analyse football games. i am reading a text file and using three f...
[3 replies] Last: Am reading the file into the class variables. However, i cannot use ... (by Mwangi Elijah)
by RobCh
Skip rendering obscured polygons - OpenGl
 
I am told there is a way to skip the rendering of obscured polygons in opengl. I am told it has some...
[1 reply] : You may use the z-buffer with a two-pass algorithm. The first time you... (by ne555)
Pages: 1234... 24
  Archived months: [jun2016]

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