General C++ Programming - September 2013 (Page 30)

go through vectors? which way is better?
 
How can I use one index to iterate between all the values for example: //I defined vector<t...
[7 replies] Last: Iterating over two vectors is called a zip in functional programming I... (by closed account 3qX21hU5)
size_t going down from uplimit to 0?
 
to go through an array from 0 is easy for(size_t i=0; i<size; i++) but when going starting from ...
[3 replies] Last: non-member rbegin/rend are not all that complicated to stick into your... (by Cubbi)
by Toshen
delete[] crash a program
 
All works fine but "delete cmd;" crash the program; I tryed to find explaination in Internet but th...
[4 replies] Last: Well, I normally just tell people to stay away from Windows-isms but w... (by closed account S6k9GNh0)
making application store using c++
 
i have my defense on saturday but i cant present any.. I seriously cant because no matter how hard ...
[5 replies] Last: "Defense"? In the UK we call then viva voce, or viva for short. An... (by andywestken)
Integer LP solver with Qt application
 
I am writing a Qt C++ application in which I need to solve a Mixed Integer Linear Programming Proble...
[3 replies] Last: Thanks a ton keskiverto! That surely clarifies things... (by abhishekm71)
Adding Two Arrays with different sizes
 
#include <iostream> #include <array> #include <sstream> #include <iomanip> using namespace st...
[2 replies] Last: Lets look at your code: int *vArr= new int ; int *vArr1 = new int ;... (by keskiverto)
by Ceset
inheritance and headers
 
guys i remember i have read that inheritance slows down the process. because a_class -> b_class -> ...
[3 replies] Last: maybe i should just forget about my questions other than "does inherit... (by Ceset)
SDL window image flickers
 
Hi! I've been learning some programming with the SDL libraries and I've encountered a problem, whene...
[7 replies] Last: Whoops yeah you did say that. For whatever reason I thought you said ... (by Disch)
SDL - Can't run program outside of IDE
 
Hey guys, I've been working on a small SDL program and decided I wanted to throw the program on to a...
[8 replies] Last: What is the error message that appears or will it just crash? (by Cronnoc)
what is wrong with this example of dynamic 2D array? It gives segmentation fault on execution.
 
#include <iostream> using namespace std; class TwoDArray { private: int** Array; int ...
[3 replies] Last: @cire I got your point actually it was a very silly mistake I need to ... (by vijay daultani)
by zionet
cplusplus.com OFFLINE VERSION???
 
'm looking for the cplusplus.com OFFLINE VERSION reference, anyone know where I can download the PDF...
[1 reply] : Why not? Also, it would have been much easier to just reply to your ot... (by Danny Toledo)
micro-mini interpreter challenge
 
Implement the algorithms on expression evaluation using the ADT Stack. The input will come from a...
[15 replies] Last: @Duoas ,For me, It's nothing more passion than waitting you to post in... (by closed account 28poGNh0)
SFML threads
 
All i need to know is what a thread is and how to implement them into a program. (i don't have a par...
[1 reply] : A thread is a path of code that is run at the same time as your main p... (by Disch)
how can i get rid of this error ...?????
 
LNK1181: cannot open input file 'sfml-graphics-s-.lib' (RELEASE) 'sfml-graphics-s-.lib' (DEBUG)...
[1 reply] : The linker is telling you that it can't find the .lib file. Looks li... (by AbstractionAnon)
by Ceset
key inputs
 
this is the thing i m working on: #ifdef __cplusplus #include <cstdlib> #else #include <std...
[12 replies] Last: ohhh. com'n man. got a hold to yourself. by saying that you are really... (by Ceset)
by DrZoo
operator= error
 
My program is crashing when I'm trying to call b = a. What has me confused is that when I call c = d...
[13 replies] Last: Thanks everyone for your input and help. I greatly appreciate it! (by DrZoo)
I want to make a bot.
 
I want to make a personal bot for fun. I am fairly good with C++ and i am currently getting into net...
[2 replies] Last: I forgot to add, i am using windows, but i also have Cygwin. Though i ... (by thornx1)
by Snaksa
Error while opening a file
 
Hi! I have started studying about working with files but I have some problems. I have this code: ...
[9 replies] Last: That could probably be the reason, as inverting them will first try to... (by S G H)
what's wrong with this code
 
Hey Below is a code, which sometimes randomly says error, unhandled exception error something to d...
[5 replies] Last: >i don't understand by what you wrote. Use a debugger to trace the ... (by abhishekm71)
NorFlash Memory Acces
 
Hello, I am doing a project which I have to read, write and erase data from a NorFlash Memory. Then...
[3 replies] Last: How much memory is there? You could just keep copies in RAM (on the h... (by kbw)
September 2013 Pages: 1... 2829303132... 36
  Archived months: [aug2013] [oct2013]

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