Beginners - June 2016 (Page 9)

Stack around the variable 's' was corrupted.
 
Write your question here. #include "Mean.h" #include <iostream> #include <stdlib.h> using std::cout; using std::endl; template<class T> class CMea...
[1 reply] : In CMean the array array has no size (which is illegal in standard... (by cire)
Using Stroustrup Third Edition
 
Hello everyone, Thank you for reading my post. I was recently gifted the beautiful special third edition of Stroustrup's The C++ Programming Language. This w...
[1 reply] : I think one of the best places would be here: http://cppcon.org/ (by koothkeeper)
Array Struct
 
How would I get the array for products_amount to show only the information for the first item in the array. meaning, if I inputted something like name: scr...
[3 replies] Last: Well done. (by jlb)
help please
 
I cannot get the item's names to show up on the same line, and I'm not sure what I'm doing wrong. Can someone please look at my code and help me get through thi...
[5 replies] Last: I can get the single words to show up just fine but the ones like "st... (by jlb)
Factorial function, loop doesn`t stop :/
 
Hi everyone! I started learning about c++ on my own, but at each step have a lot of problems...if someone could help me, I would be soo grateful. I tried to fin...
[12 replies] Last: :) (by closed account 48T7M4Gy)
Array within an array
 
I want to have an array within an array . For example, I want b to store 10 different values for a I've written the code for this .. #include <io...
[9 replies] Last: Did it. Had to look up a few tutorials on multidimensional arrays .Ini... (by killbox)
by stas76
Help
 
Hello I need help. I need to write code that outputs the data groups of students. Code must output Student name, age, subjects, grades and grades matrix,...
[3 replies] Last: And the sorted array, if just printing the details out is not sufficie... (by closed account 48T7M4Gy)
Tic Tac Toe Bugs/Optimization
 
Hello, I am trying to produce a Tic Tac Toe problem that puts the user against the computer. This is the (probably inefficient) code that I have right now. Ther...
[9 replies] Last: The "only" problem now (other than obvious optimization issues) is t... (by Chervil)
How to autofill windows user password?
 
I'm new to programming and seeking for help, thanks! system("runas /user:username myprogram.exe"); //------read user password file-----// I...
[1 reply] : You'll need to use system APIs. https://msdn.microsoft.com/en-us/libra... (by helios)
Sorting Diagonally Two Dimensional Array
 
First i created my two dimensional array, then i translated it to one dimensional array and i bubble sorted the 1D array, but after i didnt find the pattern to ...
[no replies]
boost::filesystem question
 
Quick question about the filesystem. I've made a wrapper class for the filesystem library of boost. I have made a function that scans all files and folders in a...
[6 replies] Last: #include <string> #include <iostream> #include <map> #include <vector... (by JLBorges)
by elay
constructor
 
can someone help me about this error: undefined reference to `Worm::Worm(sf::Vector2<float>, float, (anonymous namespace)::dir) namespace { enum dir { ...
[3 replies] Last: fixed it, the anonymous namespace was actually from another file. sor... (by elay)
Endless Do-While loop
 
I'm currently having an issue with a do-while loop never ending. I'm not sure what I am doing wrong, though its probably something wrong. I'm pretty sure it h...
[3 replies] Last: Does this work? #include <iostream> #include <fstream> #include <st... (by PBachmann)
Dungeon Crawl Game
 
If you would like to please look at this game and make comments on it. Also, feel free to make suggestions on how to advance the program/code. http://paste.ofc...
[1 reply] : use const with your maps. Try to avoid using namespace std(instead do ... (by jdm1891)
Simple Game
 
Any thoughts or comments about this simple game? #include <iostream> #include <cmath> #include <ctime> #include <cstdlib> #include <string> using namespace ...
[4 replies] Last: Excellent. Instead of a comma for a trap maybe a 'T' or 'O'? (by closed account 48T7M4Gy)
RAND vs Mersenne Twister
 
Hello, I am trying to make a relatively unbiased random number generator that generates a random number between 1 and 9. The following code is a comparison betw...
[2 replies] Last: What value do you get for rd.entropy() ? If it is zero, you would ... (by Chervil)
Add the ability to Search And Delete , in this AVL tree code
 
hello guys how can i add the ability to delete and search in this AVL code ? #include<iostream> #include<cstdio> #include<sstream> #include<algorithm> #de...
[no replies]
Damerau–Levenshtein distance
 
Can anyone indicate where I can find code to calculate Damerau–Levenshtein distance for two strings. many thanks
[2 replies] Last: Without warranty: https://ideone.com/fork/pp5TH5 http://stackoverflow.... (by closed account 48T7M4Gy)
pointer vs arrays
 
Hello, I'm trying to understand pointers a little better and have a question hopefully someone can answer. So, arrays are pointers, great. But there must ...
[5 replies] Last: http://stackoverflow.com/questions/3959705/arrays-are-pointers (by closed account 48T7M4Gy)
mp3 library
 
i m looking for library that can read mp3 files paly sound
[3 replies] Last: http://stackoverflow.com/questions/8121570/use-windows-built-in-mp3-de... (by Thomas1965)
June 2016 Pages: 1... 7891011... 25
  Archived months: [may2016] [jul2016]

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