• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
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...
[3 replies] Last: Still the same problem Really? Maybe the code needs to be recompile... (by Chervil)
Writing readable code
Okay, family. I have a confession to make. I'm that guy who writes the unreadable code. I'm trying t...
[6 replies] Last: Haha I see you're quite the geek. (by RealGiganitris)
a c++ program to calculate time given the speed and distance
Have been on this for 2days, have written it severally but i keep on running into errors . DOnt what...
[6 replies] Last: To do float math ... // A int distance; int speed; // input cout << ... (by keskiverto)
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...
[no replies]
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...
[7 replies] Last: Yes this is for embedded systems programming, where it's historically ... (by NorseMN)
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)
by ZimCa
Need help with C++ OpenGL
I need help to make a program that works so that when you press the mouse on the object to the objec...
[17 replies] Last: Ok ty (by ZimCa)
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)
by danciu
c++ const_cast
Why the statement below print two values and one address: #include <iostream> using namespace std;...
[1 reply] : You're breaking the rules of C++ so anything is allowed happen. (by Peter87)
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)
Multidimensional Vectors
m trying to get data to store in multidimensional vectors. While executing m getting Error : "vector...
[5 replies] Last: Here's an example #include <string> #include <vector> #include <io... (by JayhawkZombie)
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: 123... 23
  Archived months: [jun2016]