Beginners (Page 78)

by ctdss
Help getting started
 
I can make this program with the basic functions, but when I need to add all of these extra things I...
[5 replies] Last: No problem ! Good luck !! (by RadCod3Win)
how to set the length of a string
 
Hi! I am making a program that generates a random 10 character length password that should be legi...
[4 replies] Last: std::string::resize(unsigned) http://en.cppreference.com/w/cpp/string... (by Bourgond Aries)
by zukias
How to generate random numbers in C++?
 
Hi, I'm looking for a way to generate random numbers and no idea how, I've tried looking around the ...
[4 replies] Last: Thanks for the replies guys, problem solved :) (by zukias)
checking for a word from a file
 
I am trying to output the position of a word from a file. I ask the user for a sentence. std:...
[4 replies] Last: I was able to implement somewhat the linked program from Rehan FASTian... (by spiritedDedication)
Error: expected constructor, destructor
 
Hello, when I go to compile my code I keep returning the following errors: 41: error: expected ‘...
[2 replies] Last: thank you, I just needed a fresh pair of eyes to look at it. I will ta... (by ShoxPhysics)
DevC++ recursive constructors
 
I started to write a text game for university task and realized that i cant create an child object f...
[3 replies] Last: It does not exit in first recursive call in my debugger. It cannot - s... (by JockX)
Multiple definition errors
 
Hi there, I hope you can help me before my internet runs out as I haven't payed this months bill for...
[no replies]
Difficulty loading a dictionary in to a char array
 
Hello, I'm struggling with classes and functions and am trying to load a dictionary in to a char arr...
[1 reply] : I think the bug is here: first =gotLine ; in line 88 and here first... (by JockX)
Logical Size of Array
 
Hi, I have a doubt, and wanted to clarify something. Can I get the logical size of an array by doing...
[8 replies] Last: You could always use a vector then and get the size of that? and why n... (by giblit)
by pata
char[] doesnt end with '/0'?
 
Hi I am brushing back up on char arrays, in the c++ primer it says that is you declare and char arra...
[3 replies] Last: lol sometimes it just takes a fresh pair of eyes, thanks guys/girls.. (by pata)
Prime factor of 600851475143
 
Hi, I'm working on a problem for project Euler and its asking me to get the greatest prime factor of...
[2 replies] Last: Confirmed what cire said, modified your main and after a few seconds i... (by SamuelAdams)
Problem with Files/Structures/Functions
 
I had been trying this week to finish the final project from my introduction class to C++. The purpo...
[3 replies] Last: So this is what i had been able to do: #include <fstream> #include ... (by mary 00)
How do i code to check each line individually in a 2d array?
 
essentially i'm working on a project to make a sudoku game and then check for errors. I'm at the fin...
[1 reply] : You can solve the problem with loops and arrays. - Create an array of ... (by JockX)
What to use when making 2d games?
 
My question is what type of libraries and engines should I use when making a C++ game. Or at least w...
[4 replies] Last: D; (by Fredbill30)
Word extraction problem
 
An error appears when the program runs , I deduced that is happens after/during "cout<<name" in clie...
[no replies]
How do I print a specific section of a char array?
 
Hi im new to the forum and this is my first post. I want to print burp first, then followed by b, fo...
[6 replies] Last: First lets take care of your errors. 1) You need to use int main() ... (by Zereo)
by teand2
Two questions
 
First, I'm getting ambiguous cout error but I cannot what's causing it. Can someone find it? Second...
[4 replies] Last: lol Zereo I was trying that just as you posted. Also, the ambiguous we... (by teand2)
by Deduu
dynamic allocation memory
 
Hi, I'm trying to implement pointer instead of using stack memory. My program works well using stack...
[9 replies] Last: [quote=Deduu]" absolutely yes. ^^ " ...then your problem isn't within... (by Framework)
How do I turn this program from a structure to a class?
 
main.cpp #include <iostream> #include "datestruct.h" using namespace std; int main() { ...
[7 replies] Last: Partly correct. A constructor is needed when you need to initialize a ... (by nedo)
Finding letters in a vector of strings
 
hi i need to find repeating letters in a string of vectors. what am i do wrong here i am getting the...
[2 replies] Last: 1. The string iterator will process the string on a per-element basis ... (by andywestken)
Pages: 1... 7677787980... 98
  Archived months: [apr2013]

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