General C++ Programming (Page 48)

List with numbers biggest to smallest
Ok so i'm working on a task which i stumbled onto from some earlier days of this site (2008 or somet...
[3 replies] Last: ok so ive done this, but i cant get it to make a list. I dont understa... (by Kristofferkh)
by vtk
how do i get this function to search the array for a title or author and show it, anyone any ideas
void recordArray(BookRecord *book, fstream &dataFile) {"Books.txt",ios::out | i...
[1 reply] : You need to move the "No Matches" branch outside of the loop: do { cou... (by coder777)
Graphs - data structures
Hey, I have been reading about graphs and trees. I have read the different types of trees such as; A...
[1 reply] : The data structure is relatively simple: struct binary_tree_node { .... (by coder777)
Determine the points from a set of coordinates that will form a line
I want to make a program that generates between 10 - 100 random coordinates on the Cartesian plane a...
[10 replies] Last: @ne555 It's obviously a recursive. You're not willing to wrap your min... (by coder777)
Ordered Linked List Iterator
Just want to make sure what the iterator exactly does in a linked list. Is it like the push function...
[2 replies] Last: Iterator does in linked list exact same thing what it does in vector, ... (by MiiNiPaa)
I'm trying to find the class average but its displaying random numbers in a row. What's my mistake?
#include<iostream> #include<fstream> #include<string> using namespace std; const int rsize =...
[9 replies] Last: I JUST FIGURED OUT MY MISTAKE!!!!!!!!!! :D:D:D:D It was: void classa... (by welhour0)
repeating loop/function
For my program it keeps repeating the same function instead of going back to the main switch stateme...
[3 replies] Last: thank you so much! I initialized my sum variable. (by believedancer)
Boost zlib filter help?
Alright, so I already set up a basic set of binary io, where data can be written byte by byte, and r...
[2 replies] Last: For some reason, push() doesn't seem to be a member of iostreams::filt... (by Austin J)
by riyer
Find String In String Vector
This program is to solve a word maze and find the number of words in the maze from a dictionary file...
[1 reply] : The files Dumpling2.txt is a word maze file and Dictionary is a `dicti... (by riyer)
Help about Compiler error 2016
I have code below: int i_n=0; i_n = lstFrmBlkTm1 .iNumb; // the iNumb is an integer in a struc...
[1 reply] : Show how lstFrmBlkTm1 is declared. Please copy and paste the exact ... (by LB)
I need help on my coding
I am doing Ulam sequence and I am not sure why its going infintely loop after going into void functi...
[2 replies] Last: Thank YOU SO MUCH ! (by jae0014)
Vending Machine
Can someone help me to create a vending machine program? Im just studying C++ for almost 3 months. W...
[17 replies] Last: Look at lines 26 - 35. Those lines run on every iteration of the loop... (by MikeyBoy)
by pav1
math in file
You will be given a *.txt file, similar to OpeInFile.txt in Doc. Sharing. The file has only one calc...
[1 reply] : Looks like you got homework to do, goodluck :) (by TarikNeaj)
i need help with my program please
Hi, I need help please with this program 1. Write following program: Ask the user to choose a numb...
[2 replies] Last: @ OP: If you're looking to hire someone to code for you then you'll wa... (by Computergeek01)
Arrest people for using "new" and "delete" (1,2)
Some people at this forum say that programmers must never use "new" and "delete". I think they say ...
[26 replies] Last: [quote=Avilius]nor with a care for memory allocations, (looking at you... (by Cubbi)
How to create a new character encoding in C++?
Hello all. I have a project in which I am using Tesseract-Ocr. I have huge number of character which...
[no replies]
Countdown Timer
Hi! Anyone here can help me to make a countdown timer? I have the idea to use x-- as decrement but ...
[3 replies] Last: @ryanjoshiii Not bad. You may want a newline in there somewhere so th... (by whitenite1)
idk what to do with these error messages.. ;/
// Michael Molitor, Program1, 3/4/15 // //This program will be able to have the user choose from th...
[3 replies] Last: Working for me as well. Which compiler are you using? (by Callum5042)
by Teoras
error message when trying to build classes
Hi everyone, I am a newbie at programming and tired of trying to compile on visual studio i looked f...
[14 replies] Last: sincerely don't know buddy, but well is alright now ;) thanks again fo... (by Teoras)
OPCODE Collision Detection Library, example code
Hello, I would like to use the collision detection routine from the OPCODE library, newest versio...
[no replies]
Pages: 1... 4647484950... 52
  Archived months: [feb2015]

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