General C++ Programming - March 2017 (Page 18)

by rp2345
Connect four game program
 
You are to create a knock-off of connect 4 that: allows for three players (I recommend using tokens...
[2 replies] Last: well, you need a board, probably a (conceptually) 2-d array of charact... (by jonnin)
PPP2 Chapter 11 Exercise 2 (1,2)
 
Exercise specifications: Write a program that given a file name and a word outputs each line tha...
[22 replies] Last: If it interests you, try extending this so that if the word being sear... (by JLBorges)
How to use add_lvalue_reference as a template function parameter?
 
I have seen functions where add_lvalue_reference is used as a template function parameter. Eg: ...
[4 replies] Last: > template< typename T > void f( typename std::add_lvalue_reference<T... (by JLBorges)
Automatically saving the operation through passing the command line argument
 
I already have a save function in my tool as like a normal tools. Now I would like to add auto save ...
[5 replies] Last: You could use timer. When the timer fires you call the save function (by Thomas1965)
Help Duplicating Array
 
ok so here it is. Here is my code to read my file 'CSC1244N.txt' and sort the integer values and flo...
[5 replies] Last: ok so i was piddling around with my previous assignments and finally g... (by Jubberwacky)
Duplicate array??
 
I am trying so make a structure to sort int and float values from a file using an array. How can I p...
[8 replies] Last: ok so i was piddling around with my previous assignments and finally g... (by Jubberwacky)
Header file and .cpp - Bugs ! - C++
 
Instruction: For practice write a header file code that includes your code, and write a .cpp file t...
[3 replies] Last: The problem with the bugs are it is one after another. The problem w... (by cire)
Can public members of base class be initialised using initialisation list in a derived class.
 
Hi Guys :) I am trying to initialize a public data member of a base class (Animal class in my examp...
[2 replies] Last: > all the public members of base class are inherited by the derived ... (by ne555)
Need help with win xp WIN32 console app
 
Would you mind converting my project https://drive.google.com/file/d/0B-ZE5xJRLFgwc3ZBUXFGcTFCSVk/vi...
[4 replies] Last: Thank you. However, I have used DEV C++ to build a new project directl... (by Codelyoko2409)
by rudi
Template function pointer argument
 
I have a container of variables that are created from template class and types are detected in runti...
[8 replies] Last: Consider plain-old inheritance --store owning pointers to base classe... (by rudi)
arrays and strings
 
im having a hard time with a hangman game i have to read in the file of the sentences that will be u...
[no replies]
Problem in Looping back to Start
 
now I'm Having problem in repeating the loop after it finished doing the first and i want to try it ...
[1 reply] : you can wrap all of main in a bool done = false; while(!done) { ev... (by jonnin)
Problem declaring typedef TOKEN_ELEVATION using windows api
 
Hello, i am trying to create one program to check if its running with admin rights or not and show a...
[3 replies] Last: TOKEN_ELEVATION is a type. See: https://msdn.microsoft.com/en-us/li... (by coder777)
Help!: Printing out all monotonic functions
 
Dear Cplusplus friends, I am a rookie in C++ programming language who is trying to learn the C++ ...
[3 replies] Last: the program will run until numerical limits are reached which will tak... (by jonnin)
Cross Correlation of Two Signals
 
Hi, I'm fairly new to programming and cross correlation but I'm attempting to develop a DSP to autom...
[1 reply] : If anyone might have any advice on this, it would be really useful for... (by EdJames94)
Encryption/Decryption Function
 
My encryption/decryption function will not run correctly. I am able to grab the command (encrypt or ...
[3 replies] Last: Got it, thanks for all the help. (by glennyballs)
Euclidean distance between std::vectors
 
Hello People, I am stuck with a problem here, so I need your wisdom. The following is a templa...
[2 replies] Last: Excellent JLBorges! Thank you very much! (by dariodem)
Memory Access Error Vector
 
Hello, I'm gettin a memory error. I'm not sure what's wrong. Program received signal SIGSEG...
[3 replies] Last: Looks like the line // Generate patch ... (by elbanono)
-Wreorder
 
Hi all, I'm working on a project that uses a hash table I wrote a while ago. I'm getting the foll...
[2 replies] Last: It's logical to assume that the member variables will be initialized i... (by Peter87)
Send Unit8
 
Hi all I want to do my project using openvibe and another software. i made a connection between ...
[no replies]
March 2017 Pages: 1... 16171819
  Archived months: [feb2017] [apr2017]

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