General C++ Programming (Page 8)

Please Help me
when i'am make a script for input and out file with code : #include<iostream> #include<fstream> ...
[2 replies] Last: sample on file "work" there are numbers 1,3,4,5 when I input a lot of ... (by MMaisztre)
Question about Accessors and mutators (edited)
I am writing a horse race game. I have done a lot of research on accessors and mutators, and I am st...
[11 replies] Last: Will take a look at my code and determine my problem and get back to a... (by james42)
its about the lists sorted or unsorted
list.cpp #include "list.h" #include<iostream> using namespace std; int list::length()const...
[no replies]
by rose00
hi! i am
[5 replies] Last: Though wouldn't you normally use !file.is_open() to check if a file ... (by Thomas1965)
How can I know which iterator type I am using?
Reading the textbook of C++, I know that there are 5 iterator types (input, output, forward, bidirec...
[3 replies] Last: Apologies in advance as I've not 100% understand the above solution (... (by gunnerfunner)
I have a problem and I am stuck here. With data status(4 data status e.g: random,nearly sorted) ...
[1 reply] : You should be much more specific if you want help. (by boost lexical cast)
by RezaAb
Unexpected crash!
Hi all, I am just modified my CPP project, however, an unexpected problem has occurred. When I ...
[5 replies] Last: as you say there are ... tens of classes in different folders ... ... (by gunnerfunner)
This function will have five parameters passed by value and return the average
Write a function that will compute the average of a specific grade type. This function will have fiv...
[6 replies] Last: Something along these lines, perhaps: #include <iostream> #include <... (by JLBorges)
by Bliink
can someone explain the exact use of size_t for ARRAYS? and after a general explanation I would l...
[3 replies] Last: It is usually the largest unsigned type the system has. It is also the... (by TheIdeasMan)
need help with formatting and math error
Sorted by name ID Name Salary ------------------------------------ , ...
[7 replies] Last: thank you very much for this it helps me learn (by mikeal200)
Coloring a texture in SDL2
I develop games using c++ and sdl2 and in this topic i'll try to give more informations possibles ab...
[no replies]
how can I pass the size parameter in my input function by reference, this is the code
#include <iostream> #include <cstdio> #include <cstdlib> #include <ctime> #include <math...
[1 reply] : void inputData(double score , int type , int max , int & size) A... (by FurryGuy)
Trying to calculate depth, deepest, for binary tree
I'm trying to write something to determine the largest depth of a binary tree but far have only ende...
[3 replies] Last: @mbozzi: That's what I would have normally done but its a one piece of... (by sonar87)
by LongDo
Streams and Files
What are the differences between*)buff, sizeof(buff)); and
[no replies]
by Bliink
Array input stopping
Hello, I was solving this problem: Write a program that accepts characters from the user and input...
[3 replies] Last: Like coder777 suggested, instead of setting the char to ' ' , you can... (by arg0d)
larger than n
alright fellow programmers turns out my reading comp skills suck because I came to class thinking I ...
[6 replies] Last: i think that is it! thank you so much for your help! (by kohl5555)
by oOoOo
app development using sdl2
I'm mostly finished with my app in C++/sdl2. but how do I add the possibility for a user to buy...
[2 replies] Last: But do I need to follow all the steps on this page in order to be abl... (by coder777)
need help finishing the c++ program (1,2)
#include <iostream> #include <fstream> #include <string> #include <cctype> #include <cstdlib> #incl...
[23 replies] Last: (by kemort)
by tutkal
I need your help !!
Can you help with the course project Number Guessing Game Purpose of...
[1 reply] : Can you help with the course project afraid not or at least not unl... (by gunnerfunner)
How to split a file other that .txt extension using C++ code
I've been looking for a solution to split a file with any file format, using C++. what i've found so...
[2 replies] Last: you can split it easy enough -- we used to do that to fit big files on... (by jonnin)
Pages: 1... 678910... 32
  Archived months: [feb2017]

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