• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Having trouble with duplicate from file
So I need to create a program that opens a text file and reads the content and then create an array....
[1 reply] : Isn't this a duplicate of http://www.cplusplus.com/forum/general/17959... (by MikeyBoy)
Problem with Sudoku game.
Hey guys, I'm trying to make a 6x6 Sudoku game, and i did it but with a small problem. The app is a...
[10 replies] Last: Oh sorry, i forgot to say that i changed it to 9x9 sudoku. I can give ... (by whyunomad)
foolish compiler?!
hi. Why is it that zero (0) is output after running ......... k=1; i=1; for(;i<201...
[4 replies] Last: Think about what value k will have at the end of the first time your... (by MikeyBoy)
Moving code from CPP to Header(s)?
I need some help. I am working on creating a game with three games in them. I have most/all the co...
[4 replies] Last: Hi, Each class should have it's own header file (I like *.hpp ) with ... (by TheIdeasMan)
Can't Write this Program
Hey guys i need your help. I have a class assignment to write a program that compute students cgpa a...
[12 replies] Last: Wow................... Thanks a bunch! I will implement your inputs a... (by Ochanya)
Having trouble with errors
please help me with these errors thank you #include <iostream> #include "string" #include "arra...
[4 replies] Last: #include <iostream> #include <string> //<-- using namespace std; in... (by kemort)
by kalki
How to read text file line by line?
#include <iostream> #include <fstream> using namespace std; int main() { ifstream in("file.txt"...
[9 replies] Last: The code is overly complex and some of it seems to add complexity whil... (by Chervil)
stuck on program please help
Im stuck on this program. I'm trying to add my negative values and count them and get the average. w...
[2 replies] Last: thanks that worked however, its not reading in all my negative numbers... (by kev172006)
Problem with checking duplicates
I need to create a function that finds duplicates in a file. For example it is a voting program th...
[1 reply] : It is rather simple: You need to store line int an array (make sure... (by coder777)
Error with newarray
Basically i need to sort the birthday, so i added them all up to get one array to be able to use qui...
[2 replies] Last: it gives this as an out put the array 1 : -471057316 2 : 550212 3 : 55... (by darkflames33)
Longest strictly increasing sequence in 2D array
I'm having issues correcting my code to check for the longest strictly increasing sequence in a 2D a...
[5 replies] Last: I figured everything out! Including all of the other functions! Thank... (by hazelkiss89)
Greek characters in console programs.
Hello everyone. I am Greek, and I want to "cout" letters of the greek alphabet. Is there any way I c...
[3 replies] Last: would the program that I make, output the same way in a Windows with ... (by toad)
Boost UDP client.. How to set up?
Hi guys. I am at the moment trying to set up a Client which can interact with an server, and read t...
[7 replies] Last: Just to understand to it precisely.. This is based from the example.. ... (by DrJones)
by leryss
Question about game programming.
I have a question about game programming... Do I need high physics knowledge for game programming? ...
[3 replies] Last: Like Peter said, even if it's a 2D game will it have realistic feature... (by Mr Impact)
Help with sorting link lists
Our teacher never actually teaches us the code making it hard for me to understand how to do the ass...
[6 replies] Last: Thank you so much, this makes a lot of sense. (by clockworkinferno)
by zone
problem solving with 2-D arrays.
The theme of this assignment has been interrupted by the evil Ice King who has sent his penguin army...
[2 replies] Last: This looks like a homework problem to me. (by MCH)
by osucs1
How to create ballot function
For my latest project, I am supposed to create a program that tallies up votes for both the position...
[2 replies] Last: Line 45: You're trying to enter votes for amendments inside your loop... (by AbstractionAnon)
Wxwidgets building trouble.
I've never touched programming for Mac or Linux... I know that I can compile C/++ code for these ...
[4 replies] Last: Okay after an admittedly rather little amount of research I wanna use ... (by SatsumaBenji)
by zecbmo
Priority queues, comparisions and pointers
So I have a struct Vertex, and I wish to store a collection of Vertex's within a priority queue (as ...
[3 replies] Last: The comparator should be the third template argument so you will have ... (by Peter87)
Pages: 123... 50
  Archived months: [sep2015]