Beginners (Page 51)

Assignment: Function for storing sequence in array
Hello! (Using windows, codeblocks, c++) I'm trying to make a program to do following! Make functio...
[12 replies] Last: read chapter 7 here: (by anup30)
by davez
why getline is not working on string array
string yow ; getline(cin,yow ); cout<<yow; why is it not working?
[14 replies] Last: cout is demanding to be more specific string yow ; getline(cin... (by anup30)
help me in my game
i have two problems , first, its not putting X or O on the board. second, notice when you play it. ...
[3 replies] Last: its fix now . finally all is left is rules and the board's grid when t... (by Lorence30)
i need some help about the loop construct
i need to use the loop construct to write a program for the users to guess a secret character, which...
[2 replies] Last: Rough draft: char secret = /*...*/ char user_guess; int i = 3; while(... (by MiiNiPaa)
how may distinct ways can you arrange n different objects in a shelf of x spaces. (filling t...
[1 reply] : how may distinct ways can you arrange n different objects in a shelf ... (by MiiNiPaa)
Hangman with Hint problem
I get this error messages from my code: problem on line 193 expected primary expression before'{' t...
[5 replies] Last: how can i fix it? should i remove it? (by Shirwyn)
What's the Difference?
I can not seem to grasp the difference between creating objects derived from structures/classes and ...
[3 replies] Last: Another reason for using a pointer would be for something like this: ... (by megatron 0)
manipulate element within a distance of x
I am looking for a method in which i can manipulate elements in a matrix a certain distance, from a ...
[2 replies] Last: The idea is it has to move like a wavefront planer.. I've created a me... (by DrJones)
function return type ONLY in some circumstances?
Is there a way I can choose whether or not to return a Class type from a function depending on user ...
[3 replies] Last: If you are familiar with exceptions: include <iostream> #include <st... (by JLBorges)
by wolfv
"undefined reference" link error in Makefile
This was running before I changed Row to a template class. Now it gets this error: >make g++ -ggdb...
[4 replies] Last: I like your strategy of not having .cpp file if it should not be compi... (by wolfv)
Access to parent class instance
Hello, What is the best way to access an instance of a parent class from a child class. Do you u...
[3 replies] Last: I would say virtual base classes is out, a NewDocumentSelector is not ... (by Lowest0ne)
by Ch1156
std::bind help
The GUI library uses std::bind in the button but It wont work because the function has arguments, I...
[no replies]
by Squidy
Finding Number of Integers Divisible by Divisor Between Two Bounds
For an assignment, I need to write code that takes 3 inputs: a lower bound, an upper bound, and a di...
[16 replies] Last: U of L? Was googling around for help on this assignment, found this, s... (by mrmetronome)
Reading from File Contents to File / Outputting to a File
Hi, I am struggling to get my program working. The directions are to write a program that re...
[1 reply] : First off, add a 'endl' to the end of your output writes. Otherwise th... (by Esslercuffi)
-1 array value?!
can please, anyone explain to me, why the hell does this code works? #include <iostream> using nam...
[9 replies] Last: @MiiNiPaa I like the foobar2k reference also thanks all for responses... (by mekkatorqu)
by kemkoi
Problem using random function.
Hello, first of all I should say I do not get any compile errors, however the code is not working as...
[6 replies] Last: Oh sorry kemoi, i didnt see your input function. In that case, you hav... (by shadowCODE)
by BaneX
Trouble with output of my program.
Why is it that the first IF executes and the rest is not found. Please close
[1 reply] : your problem is in this line "if ((studentID > 9999) || (studentID < 9... (by Esslercuffi)
Reverse my code, help
I have the correct code, but I can't seem to reverse the order of how it appears. #include<iostr...
[2 replies] Last: hello dear ! read the comments in code. here is the reversed code fo... (by Rahmat)
Functions - I don't know what to do.
I need help getting started with my assignment. The program must store the player’s cash in a g...
[1 reply] : (by Disch)
Passing array as function argument
Here is my code. When I run this, it shows |29|error: invalid conversion from ‘int’ to ‘int...
[1 reply] : You're passing t1 twice, so the only problem is you're just passing to... (by Keene)
Pages: 1... 4950515253... 108
  Archived months: [aug2014]

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