Beginners (Page 55)

Fishing Game
Good Afternoon everyone. I have been working on a fishing game that bases your caught fish off of a ...
[4 replies] Last: You would want a while loop around lines 34 and 35. Your do loop a... (by AbstractionAnon)
by sdl517
newbie correct if/else statement argument??
Hi! I am an ultra beginner at c++, and am trying to teach myself. I have created a problem and am ...
[2 replies] Last: Thanks so much!! Got it to work! (by sdl517)
Error with a Function Return
I was assigned to write a program that would calculate the total cost of installing carpet. I had th...
[1 reply] : installprice(length, width, costpersqft); cout << endl ... (by MiiNiPaa)
Undefined Reference
Hello guys. I'm doing a practical work and i had to make a shorter path algorithm. I coded everyt...
[2 replies] Last: OMG, i can't believe i'm so stupid. Thank you for your help. BTW, the... (by Fedelway)
help with a looking problems
Write a complete C++ program that prompts the user to enter a value for n, the number of terms of th...
[1 reply] : ^ is a bitwise operator. In 2s complement x^-1 == ~x You probably wa... (by MiiNiPaa)
by Xolin
Error with Vectors
i am going through this intro to C++ book and the end of chapter challenge is to make a vector in wh...
[2 replies] Last: ahh....that Damn search function.... Here was my fix for that //Sea... (by Xolin)
Performing calculations from strings
Hi, I am using visual studio 2012 and c++ language to create a windows form that serves as a time ca...
[1 reply] : Hello, I've not really done any CLI programming in C++ but I think I c... (by Tom56785)
by arodz
Ascii to binary
Hi there, I'm trying to write a program on c++ that asks you type a character (a-z) and then prin...
[1 reply] : cout << bitset<8>(c) << endl; (by Fr0zen1)
bus reservation system
This is what I have so far. It has no errors but has trouble running. The project must include 1. ...
[2 replies] Last: I agree on the code tags! Not hard to do, makes it a lot easier to se... (by PCrumley48)
creating and using a group of variables HELP!
Hi here is the problem, Write a program to do the following. Ask the user to enter the balance of 5...
[6 replies] Last: Line 18: i has gone out of scope at line 13. You want to get the ba... (by AbstractionAnon)
loop with bigNo (1,2)
is about this problem: Given this scheme below: ABCDE / FGHI = 9 How many solutions are there...
[28 replies] Last: true, but we've got to draw the style consideration line somewhere! :)... (by PCrumley48)
Printing values from a switch
The switch case doensnt seem to work. It prints the values after I added them and I can´t figure ou...
[2 replies] Last: Thanks mutexe! (by patriic48)
How to update code during execution?
I'm creating a choice-based survival game. I want it so that, upon entering the option screen, the o...
[5 replies] Last: > Here's the errors I got: > error: invalid use of incomplete type 'cl... (by JLBorges)
cin to vector with class member
I get some errors on this code but i don´t know why. // Phonebook #include <iostream> #in...
[5 replies] Last: Got it to work!!! Thanks MuNiPaa!!!!! // Phonebook #include <iostre... (by patriic48)
Using array only
Develop a c++ program that asks a user to enter a c haracter and a sentence then displays the loca...
[2 replies] Last: for(int i = 0; i < 50; i++) { if(a == b) cout<<i<<" "; }... (by shadowCODE)
arrays show wrong computation
I'm trying to find the grade average using 2 dimensional arrays but the computations are always wron...
[1 reply] : Could you give an example of some input, what you get as output, and w... (by Zhuge)
homework help text file to structure
Ok, so I know how structure look but don't know how to use it on my code I need help setting up the ...
[1 reply] : Like so: int main() { //Cannot figure out how to do structures and... (by coder777)
How to erase all non alphanumeric characters from a string?
I want to erase all non alphanumeric characters from a string. I've tried the following way using er...
[6 replies] Last: Thank you all! :) (by ProgGeek)
Create a 2d vector of pair ints
How would i create a 2d vector of pair of ints, and how do i iterate through the positions?
[8 replies] Last: class Test{ public: vector<vector<pair<int, int>>> Objects; }; v... (by keskiverto)
random num gen
Why am i getting random numbers in between 100,000 and 120,000? I have all the required #includes an...
[1 reply] : #include <iostream> #include <random> // (by JLBorges)
Pages: 1... 5354555657... 110
  Archived months: [oct2014]

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