General C++ Programming - December 2015 (Page 19)

by Yufe
How to print the list of sorted score?
 
Hello, everyone I want all scores show like xx.x For example, 78.8 instead of 78, 64.5 instead of ...
[4 replies] Last: code kiddy, Thank you very much ;) (by Yufe)
So i have this assignment.
 
I have this assignment where i have to write a program being a Liberian assistant here is the actual...
[5 replies] Last: heres what i have for my card.c file so far... #include <iostream> ... (by delag20)
Pathfinding from a text file (1,2)
 
I'm working on a program that reads coordinates from a textfile that contains several coordinates. S...
[21 replies] Last: About your comma problem, one thing that other languages have that c++... (by wizebin)
Tic Tac toe
 
I'm building a tic tac toe program with multiple players. Each player has a symbol char as a place ...
[2 replies] Last: AHA! Thanks. Pointers are confusing but I didn't need it! //THIS WO... (by juicyjames)
How to play PlaySound() anything else than *.wav?
 
Hello, I have a problem, I want to play some long sound files for a playlist made in C++ and the .wa...
[1 reply] : PlaySound will only play .wav files. To play files of any other format... (by Shadowwolf)
by toast9
<Unable to read memory> error
 
I keep getting this error and I can't figure out why. This error is saying this error for member var...
[4 replies] Last: I print the pointer with a null value to make sure it is a null value... (by Thomas1965)
Reading a text file......
 
Hi. What is wrong with me reading the text file? int main(){ ........... int fh = _open("g://P...
[11 replies] Last: OK, I was making a stupid mistake in making fh get the value of _read(... (by hooshdar3)
help me compare 3 or more arrays
 
well i have this project which i need to create a lot of user defined array say: int num; int arra...
[5 replies] Last: I'll try that. Thanks all. (by Coolestbomb)
college assignment,text file~
 
i can read the first customer detail only,others cant read....how it work to read all customer? here...
[2 replies] Last: You need to skip the first line of the file or remove it. //Read cu... (by Thomas1965)
While Loop not working as expected.
 
When I put while (valid = true) the loop prompts me to input Pass but then the program does nothing....
[2 replies] Last: int Pass, valid; while (valid = true) Also valid has a random va... (by Thomas1965)
undefined variable
 
Hello. I am defining my variable outside my function quickSort() and when used it inside the func...
[3 replies] Last: You wouldn't happen to have using namespace std; and be using the a... (by TheIdeasMan)
Creating a faux console
 
How can I create a fake console? What I mean is, how can I create a window that looks and behaves...
[1 reply] : How you do it depends on what OS you are targeting the program for. M... (by closed account E0p9LyTq)
by Ozzy69
Help me with fscaf
 
Hello, i dont found the error of the function fscaf, look my code: #include <stdlib.h> #include <...
[3 replies] Last: float i ; .... ... &x[ i ] ... // *** error: array subscript is not... (by JLBorges)
by Jetman
Replace a specific word containing a space (string)
 
So, Ive written a chatfilter for this game I do some programming on. It's mostly working, but if the...
[1 reply] : Consider using regular expressions for this. #include <iostream> #in... (by JLBorges)
by asernx
Array not acting as intended
 
I have made some progress on my current program and I am almost finished. I can't seem to get it to ...
[1 reply] : cout << "Please enter a sentence to analyze: \n"; cin >> size ; Her... (by cire)
by a10e29
out of practice
 
Greetings and salutations! I haven't programmed in about 6 years so I'm a bit out of practice. The b...
[3 replies] Last: In case you want to know why the error was what it was, std::vector is... (by Cubbi)
by Gather
Generating a list of random numbers
 
Hello everyone. I am having some issues with my homework assigment. they are asking me to generate ...
[1 reply] : Duplicate of http://www.cplusplus.com/forum/beginner/180329/ Which has... (by cire)
Help with Student Score Data Menu Program Using Structures
 
I am working on a programming assignment that deals with Structures and saving an output file storin...
[1 reply] : Here is a link to my current code: http://collabedit.com/x6twj (by jacobjaime)
Validate Integer Input
 
This is a simple program with a select statement. The problem is when the user enters a char when an...
[4 replies] Last: If nothing seems to work, you should perhaps post the code of the non-... (by TarikNeaj)
December 2015 Pages: 1... 171819202122
  Archived months: [nov2015] [jan2016]

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