General C++ Programming (Page 2)

Predicate function for deleting vector elements
 
Hi, vObjects.erase(std::remove_if(vObjects.begin(), vObjects.end(), (wzSolId) { return wzId ==...
[1 reply] : > But the compiler doesn't recognize "object" It's low on magic. Perh... (by ne555)
by dchin
Customizing make file with added library
 
I'm fairly new to C and have been trying to edit an example code in a library. The example comes wi...
[2 replies] Last: Automatizing CPPFLAGS = -I../../include CFLAGS = LDFLAGS = -L../../l... (by ne555)
by cpxand
Visual C++ driver's exam
 
What is the code for this? The local Driver's License Office has asked you to write a program...
[1 reply] : http://www.cplusplus.com/forum/beginner/194921/ (by jlb)
Tic Tac Toe Troubles!
 
Hello all! I am having trouble with my Tic Tac Toe console game. I have the user enter which row/...
[3 replies] Last: it wouldn't let me post the code like it should be Use code tags: [co... (by coder777)
In corporating a Sentinel
 
Hey guys, I have a code that sorts 50 numbers that is in a file and then stored an array. The progra...
[1 reply] : I want to incorporate a sentinel which will stop the array from stor... (by kemort)
by DICE21
Please Look At My Games I Really Want Feedback
 
I am a beginning C++ Coder and have worked on very basic projects. I have been teaching myself with...
[6 replies] Last: I think you need to address your question by conducting a survey with ... (by kemort)
by DICE21
IF statment not working!! SOLUTIONS?
 
I am creating code for a console game and one of my if functions isn't working. If I put in 2 separ...
[4 replies] Last: I am surprised that you don't use the "else" int theCorrectCheatCod... (by Nico)
Errors when seeding rand() with time(0)
 
Hi, I'm an amateur hobbyist working on a project involving random number generation. I'm tr...
[7 replies] Last: All right... That fixed the problem! Thank you! O... (by Lord Mirdalan)
need help with code for drink program
 
HI everybody ! i am a begginer programmer and need some help with my code. It works ok but when i cl...
[2 replies] Last: oh ok it works now. thanks very much ! (by leo11313)
API for I/O from/to Excel
 
Hi. I am looking to build an accounting software where data should be read/write to/from Excel. ...
[2 replies] Last: http://www.codeproject.com/Articles/13852/BasicExcel-A-Class-to-Read-a... (by Thomas1965)
Serializing Huge Structures
 
Hello, I have a program that has at one point to transfer data from the structure of the server t...
[1 reply] : There are five levels of sophisticated solutions: https://isocpp.org... (by Necip)
regex
 
I want to query a database, I use 'regex' to implement some 'Contain' query. Such as, if a field is...
[4 replies] Last: it is about 'regex' and the 'regex' is nested in database language. ... (by cire)
invalid conversion error
 
Hey guys. I'm having trouble when it comes to sorting my array in ascending order. When i build my c...
[6 replies] Last: http://www.cplusplus.com/doc/tutorial/arrays/ (by Necip)
question about Scott Meyers book
 
Hi, In the following code, class Uncopyable makes private any child class copy functions. I under...
[4 replies] Last: Hi cire, You're right! Thanks a lot (by wiskimo)
Base class iterator pointer corruption of values
 
I have an odd error in which if the pointer on line 46 is of the base class type and it points to th...
[1 reply] : The it++ uses the type to know how much it should advance the pointe... (by Peter87)
char arrays in a class
 
ddd
[2 replies] Last: s ). (by Andrewcen16)
Cannot split a void function into two separate void functions
 
Hi guys! This is my first post here, I am in need of assistance. I am a beginner taking a basic C++ ...
[8 replies] Last: You can use pointers for the stuff suggested by AbstractionAnon... (by shadder)
constructor question
 
Hi, I provide a constructor or not and the program executes the same. What is the purpose of init...
[7 replies] Last: Thx ID-will catch up on the suggestions and reading. Later : ) (by technologist)
Strings comparison
 
Hi, I'm working on a Win app that opens another Win app with additional arguments. The thing is tha...
[6 replies] Last: In general you should not expect command-line arguments to be in any p... (by Duoas)
Opening Applications
 
Two things: 1- system() is BAD, I get that. How could I open wordpad without: system(...
[6 replies] Last: It's not a security hole when used in the proper context. On Windows ... (by Duoas)
Pages: 1234... 25
  Archived months: [may2016]

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