Beginners - November 2018 (Page 16)

[PLEASE HELP] create a file in function that returns void
 
I would like to create a file in function. there is no compiling error for the code below but it doe...
[7 replies] Last: > The output file should be in the same directory as the ".cpp" files ... (by ne555)
A small problem with retrieving info from a txt file.
 
Hello everyone, I have a program where i have to take inputs for tickets each ticket has a unique ...
[7 replies] Last: The code is pretty much a mess, a big mess. but i will post it, it has... (by fahad99)
is this code accurate?
 
I found the following code on the internet which indicates the maximum enter number. However I found...
[2 replies] Last: Lets see: Enter integers (-1 to end): -3 -4 -1 Maximum: 0 The progr... (by keskiverto)
My code doesn't work properly
 
What's wrong with my code? It always displays the last number! #include<iostream> using namespa...
[3 replies] Last: Ramp up the warnings in your compiler (see your other thread) In fu... (by salem c)
std::bad_alloc with large std::map and std::unordered_map
 
I am writing a program that loops through a filelist of files in a user-specified directory. If they...
[4 replies] Last: How many files are we talking about here? As others have said, make s... (by dhayden)
how to write this quetion in C++?
 
Part 1 Create a standard deck of cards using an array. (1-dimensional or 2-dimensional, up to you)....
[4 replies] Last: A lot of progress in an hour from being 'clueless' (Nov 10, 2018 at 12... (by salem c)
reverses wav file data
 
hello i have problem of reverse wav data for my assignment. the assignment require me to write a C+...
[1 reply] : At line 81, ptr2 is off by one. It points just past the end of the ar... (by dhayden)
by Satan
Generating a maze
 
So I need to generate a maze dynamically, meaning the user gives the dimensions and I must construct...
[8 replies] Last: Also posted here -> https://cboard.cprogramming.com/cplusplus-programm... (by salem c)
validate wav file size with wav header
 
Hello i have problem of validate wav file size with wav header https://imgur.com/p92l39p suppose r...
[4 replies] Last: The first thing I would suggest is commit to using either C or C++. A ... (by salem c)
sizeof
 
Hi, how can I know the size of an int or double whithout using sizeof? It“s in the stroustrup“s b...
[16 replies] Last: Is it any better if I started from the maximum representable value (fr... (by lastchance)
by Tduck
How to store nodes in a vector?
 
A node is a data type right? So I should be able to create a vector of that dataType? Or am I miss...
[5 replies] Last: I have the vector to make future functions easier. eg a function that... (by helios)
From Console to visual?
 
Here, we have a simple console program for a calculator. My question as a beginner is: A console pr...
[6 replies] Last: [quote=Rascake]will I need GUI knowledge to use Cocos2d-x or Cocos Cre... (by Satan)
Trying to get this Craps game to work.
 
So my program works it just doesn't generate new rolls when I play another game. I'm using a seed of...
[5 replies] Last: Putting srand (35) at the beginning of my main function fixed my issue... (by bored622)
Trying to get this program to work... weird error can someone explain please?
 
Write your question here. undefined reference to `main' collect2: error: ld returned 1 exit status...
[2 replies] Last: Lol okay yeah i see it. Im so sorry thank you (by CISPStudent)
by s17dce
How to develop in Team / Tools to manage programming in team
 
Hi. How are you? So. My question is. How can I manage developing with a Team? Is there any po...
[4 replies] Last: Is there any possible Tool that we can develop at the same time in O... (by Ganado)
Where to start in SDL2 game design
 
I have mastered two C++ courses. I've, from memory, learned to make calculators, multiple choice qui...
[no replies]
SDL texture not appearing
 
I am dealing with a very very frustrating issue here,the issue is that my picture of a ball or textu...
[2 replies] Last: problem seems to be resolved for now, I did a clean and rebuild seems... (by adam2016)
by as34m
Sorting Help
 
How could I arrange the results of fats and proteins in ascending and descending? #include ...
[4 replies] Last: #include <iostream> #include <iomanip> int main() { std::cout ... (by as34m)
by Tduck
How do you know what a template function will return?
 
Let's say I have a function that is a member of a class, eg template <class undefType) functio...
[4 replies] Last: C++ is statically typed. This means types are determined at compile-ti... (by Ganado)
starting point
 
So I am confused on where I should start here I believe that I start with an if statement after the ...
[2 replies] Last: This might help, as a hint. You are on the right track. Give it a tr... (by jonnin)
November 2018 Pages: 1... 1415161718... 24
  Archived months: [oct2018] [dec2018]

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