General C++ Programming - November 2013 (Page 41)

Getting an infinite loop
 
I am writing a program for grading a multiple choice test. The test data is pulled in from another f...
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg216313 we must be ab... (by ne555)
reverse c_string question using pointers
 
Hi all, I'm self-learning. I tried to reverse a c-string using pointer. For example href->ferh...He...
[4 replies] Last: There are easier solution template<class BiIter> void reverse(BiIter... (by stereoMatching)
SFML 2.0 crashes in code::blocks
 
I had this problem and it took me a while to find the solution so i thought i would let everyone kno...
[no replies]
How to increase memory for a single variable?
 
So, I've made programs like Prime number searchers and such. But the problem is if I use an int or ...
[3 replies] Last: Thank you. I'll give those a try. (by bbeallo12)
What to do next for Latin Square Program
 
I have to create a program that allows a user to fill in a (partial) Latin Square of order 4. You ca...
[no replies]
Mouse Escape.. for school project..
 
-The program running was okay but how can i make the screen freeze while the mouse is moving ? #in...
[no replies]
FindMax value
 
Hello, Im currently trying to make a simple method for an array that would find the highest value. ...
[3 replies] Last: Nvm. i fixed it. i used {} instead of . thanks for the help :) (by drzazga)
by VuKid
Clock function error
 
**Why is it that when i use ctime to capture the time I am getting this error: time_t now = time(...
[4 replies] Last: Well... There is the entire <chrono> header in C++11. However, you mi... (by Albatross)
by maniac
Clear screen without blinking
 
Hello! I have a one simple question :D. I want to output to the console some symbols. Let's say that...
[4 replies] Last: Thanks, that helped :D (by maniac)
return to main menu
 
Trying to return to the main menu of adding contact or showing contact after i finished searching a ...
[no replies]
Printing out prime from array
 
I am trying to print out prime from array. I have viewed other sources that are similar and tried to...
[4 replies] Last: You can integrate that function in your code as follows: # include <... (by condor)
Array data loss after return from function (1,2)
 
I searched half of the day, yesterday,trying to figure this out. If anyone can help I would appreci...
[35 replies] Last: Are you aware of the reference section on this site? Yes, and it has... (by fatirishman53)
getting keyspace in between objects numbers that store in vectors or maps
 
i have a fix number of vectors object to store. Each have a private variable key number in it. lets ...
[no replies]
by Snaksa
Snake Game
 
Hello everyone! I want just to ask you something. I don't expect any code from you. I want to make a...
[4 replies] Last: Yeah that's the one i was talking about ;) (by Uk Marine)
need help, im not that smart on templates
 
Write a simple function template for predicate function isEqualTo that compares its two arguments of...
[3 replies] Last: this is what i got : this is for only int if you guys help me and he... (by GokuK97)
by Ceset
undefined reference to
 
hi guys i was working on a error manager and come across with a problem i declare this at defi...
[2 replies] Last: thx (by Ceset)
gcnew class objects?
 
Hello, I am relatively new to object in C++. Specially, the ones using gcnew. I am using cpp to cal...
[1 reply] : Is you question whether using gcnew with classes of not? Well the so ... (by coder777)
Data structure, program using stacks!
 
I really need help with this problem!! Given a set of different types of paired symbols; determin...
[1 reply] : This needs to be modified . for (int i=0;i<x.size();i++) { if ((x =... (by a k n)
How do streams work..Getting error “more than operator >> matches these operands”
 
I'm not sure how streams works as I am fairly new to c++. I have a program which is suppose to add, ...
[1 reply] : the ostream operator is wrong: std::ostream &operator >> (std::ostre... (by coder777)
Removing characters from a string
 
I want to remove a particular character from a string. Say '.'. I've tried the following: void r...
[3 replies] Last: Thank you stereoMatching for the explanation and thank you both for th... (by JohnLys)
November 2013 Pages: 1... 3940414243... 46
  Archived months: [oct2013] [dec2013]

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