Beginners (Page 83)

2D Array
 
I'm having trouble getting this 2 dimensional array to display as a pyramid, and i have no idea wher...
[1 reply] : Please edit your post to use code tags - http://www.cplusplus.com/arti... (by TarikNeaj)
by deline
file reading
 
I'm trying to read a file in a very specific way and am having trouble finding a method I understand...
[1 reply] : Nevermind, as soon as I posted this I thought of a way: string word;... (by deline)
I NEED HELP!! Payroll Array Program wont compile.
 
My Program won't compile and I've been struggling with this for about a day now I really need help. ...
[5 replies] Last: I fixed it thank you! (by gamingYeah)
by Ksisky
Decimal Help
 
I am relatively new to C++ and I am building a calculator. I want to be able to add, subtract, multi...
[2 replies] Last: Works great now! Thanks! (by Ksisky)
Some simple homework help
 
In this project, I'm supposed to have a FootballGame class that uses some objects created by a Refer...
[1 reply] : I figured out that a try/catch block is what I'm supposed to do, rathe... (by McLovinmanDan)
Help with string to int
 
Any idea for the code for my getDigit function? I have to add on one digit at a time while in my loo...
[1 reply] : number would give you the character in the position `k' By the wa... (by ne555)
DllMain failing ?
 
Hey . I have problem with simple dll when i inject it with example cheat engine i got error "Failed ...
[no replies]
Operation of with the int age inside loop
 
It is a while loop inside of whom I want to do the average of the "int age" of the 5 "profile". I do...
[1 reply] : Okay so, create a variable that will hold the average ages and set it ... (by TarikNeaj)
array question
 
This is incomplete program. My compiler show. invalid types 'int ' for array subscript. What does i...
[1 reply] : cin >> age ; illegal age is not an array also don't forget #includ... (by Yanson)
by GilTea
Issue with checking vector struct item is unique
 
Hi, I am trying to check to see if my id field is unique. I had the code working when it was just a...
[3 replies] Last: My mistake, the 3rd parameter is supposed to be type char in this ca... (by fg109)
by davidm
continue not working
 
void countletters(char*s) { int cword=0; int size=strlen(s)+2; for(int i=0;i<=size;i++) {...
[18 replies] Last: saw it didn't like it too longgg... wat? I still didn't understand... (by Gamer2015)
Can someone explain what's the code is trying to do!
 
Please explain clearly! (: int a ; void inc(int val) { for (int i = 0; i < 10; i++) a += va...
[no replies]
Making header with VS
 
Hello. I have some problems making header file with Visual Studio 2013. I do exactly the same steps ...
[7 replies] Last: Just did it with Code::Blocks using this: https://www.youtube.com/watc... (by mighty asker)
This program works, but not as i want.
 
I wanted to create a simple program that ask you simple yes/no questions. This is what i managed to ...
[3 replies] Last: You can use char only and always check the length of string by strlen... (by programmer007)
What's wrong ?
 
What is wrong at line 29 ? I can't see the problem :(. Half an year has passed since I worked the la...
[7 replies] Last: Read around here see if any solution pops up - https://www.google.se/?... (by TarikNeaj)
program help
 
#include <stdio.h> /* copy input to output, replace each string of one or more blanks by a...
[12 replies] Last: Why do you use EOF here? EOF is for End of File, right? So it doesn't ... (by Gamer2015)
strcpy warning!
 
I have an assignment at school and every student is provided a code to run a program. I got trouble ...
[7 replies] Last: To disable deprecation, use _CRT_SECURE_NO_WARNINGS (by ne555)
Objects in vector to variables
 
I have a Class with balance and interest that are objects in a vector. I want theese values in varia...
[4 replies] Last: Solved it, now the interest is paid to evevry account in the vector. H... (by patriic48)
Will class member functions consume memory storage?
 
For example: class a { public: int v;//this one will need memory to store int met...
[2 replies] Last: thanks! (by northfly)
Under what condition will this pointer be invalidated? About a vector of class object which has vector members.
 
I have a class like this class a { public: std::vector<int> v; a * prev, * next;//this po...
[2 replies] Last: Thank you! (by northfly)
Pages: 1... 8182838485... 91
  Archived months: [mar2015]

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