General C++ Programming - September 2015 (Page 9)

Vector curly braces initialization list
 
In a textbook I am reading, the author initializes a vector using initialization list using curly br...
[4 replies] Last: > But even in C++11, this creates a two item vector containing {128, -... (by JLBorges)
i have no idea, tranlating psuedo code.
 
How can I translate this into a program? Set a Boolean variable "first" to true. While i...
[6 replies] Last: I would seriously suggest reading this very carefully http://www.cplus... (by shadowmouse)
Soccer Score
 
I am trying to complete this program but am stuck. Soccer Scores. Write a program that stores the f...
[no replies]
by yj1214
Moving undecorated window (GLFW)
 
I'm trying to solve this problem for about a week but I still can't figure out what the problem is. ...
[5 replies] Last: You need to get relative cursor position compared to where it was last... (by NoXzema)
by Andym
Writing to text files
 
so let me ask these questions to see if I can figure out my problem. When I open a text file in a...
[18 replies] Last: Can anyone please tell me why that each time I write the "TextToWrite"... (by Andym)
by jen98
Case not working
 
In this program the case 4 of report function is not working.It directly executes the default.All ot...
[2 replies] Last: You can't define a variable inside a switch statement unless it's with... (by dhayden)
illegal else without matching if
 
i have looked up past discussions about this and i have retyped a few things to try to make it work ...
[1 reply] : Could you apply code tags? http://www.cplusplus.com/articles/z13hAqkS/... (by Zhuge)
by Andym
matching one string to another
 
I know that I can use istringstream to match the text from one text file to another but I just cant ...
[5 replies] Last: I need to search for a match of course numbers and then get the credit... (by Andym)
by mkb555
Trouble returning a char array
 
I have a function Solve(const char first , char dar ) that needs to return the full dar array. I'v...
[2 replies] Last: Ah, you're right. I've been reading the function's description wrong. ... (by mkb555)
C ++ program to manage a game
 
I came late to a software engineering class, and i havnt really gotten into the subject,my class is ...
[2 replies] Last: Analyze conception coding , look for UML (by Ericool)
Code coverage tool for tests
 
The project that me and my colleagues are working on is a multithreaded C++ client-server applicatio...
[1 reply] : There is bullseye coverage but i dont think its free (by Ericool)
If while loop won't end
 
When I run this it gets the sorting right but it runs though each one and I can't make it stop whe...
[3 replies] Last: use && rather than || (by claudeyboy)
Hyperlinking programs.Urgent.
 
So. I've been working on this school assignment and I wanna know how I can hyperlink two cpp files. ...
[4 replies] Last: Glad I could help. :) (by Peter87)
HTA or C++
 
Hello All, I require to create a tool to showcase the GUI that changes its screens on the basis o...
[no replies]
NES to Neural Network
 
Hi guys! I would like to ask is it possible to get an input from a NES to a Neural network? I saw a ...
[2 replies] Last: Might be slightly easier if you use an Emulator that has built in scri... (by Hippogriff)
Calculating the total number of grains of wheat and squares needed for x amount of wheat
 
There is a story of the inventor of chess. The king wanted to reward him with riches, but he only as...
[6 replies] Last: Don't get confused by my last post. It was mostly aimed at MiiNiPaa. ... (by Peter87)
by Andym
Help extracting line from text file
 
ok, so I've been running in circles for a while and I really need help with this. How do I extract ...
[4 replies] Last: First of all you are doing loop wrong. your code should be: while( ge... (by dwarak17)
Trying to work out how to use eof to read in characters to a dynamic array from console.
 
I created my own string class which uses dynamic char arrays to store data. the problem is, i nee...
[1 reply] : You can use array::size(). It works almost the exact same way as strin... (by YFGHNG)
help-please
 
Ecrire trois exemplaires d’un programme en C permettant de lancer la commande passée en argument ...
[8 replies] Last: @TheIdeasMan: oh ok thanks for the that. I knew something looked weird... (by YFGHNG)
Copying code from this site
 
Hi, I was wondering if I have the rights under this site's license to copy code. For my specific ex...
[1 reply] : Yes. The site owner has specifically indicated that he expects that. ... (by Duthomhas)
September 2015 Pages: 1... 7891011... 21
  Archived months: [aug2015] [oct2015]

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