Beginners (Page 104)

Adding bullet class array
 
Thanks in advance for reading this and any help you can provide. If I'm missing anything you need me...
[6 replies] Last: Thank you, it's bits from my already written up pong game and patched ... (by Dylanface)
by MMag
Analyzing input string
 
Hello, How do I analyze input string from user? For example, I want "XXXXX" in one line to be ...
[1 reply] : This should help: string input = ""; getline(input, cin); for (uns... (by Zaita)
too few arguments to function
 
whenever I try to compile it to a .exe it gives me this error: C:\C++> g++ classBasics.cpp -o clas...
[1 reply] : Compare line 17 and line 40. The function is expecting a string parame... (by Daleth)
Kindly assist me
 
Hello Guyz! I Am Begginer and a desperate learner of c++ Am Habitual of Solving different problems...
[4 replies] Last: @ Smac89 Thanks for the advice. (by eyenrique)
whats the difference with these 2
 
Did an exercise once and still felt a little confused so I did it again. The second time around it ...
[1 reply] : Really? You mean apart from the break? The break prevents looping by t... (by Ravenshade)
Random number problem
 
Hi, I'm needing to generate a list of 10,000 different numbers between -1 and 1. I then have to arr...
[7 replies] Last: I have it figured out, thank you everyone (by gumbogogo)
OOP
 
Collections <T> int sameCount(Collection<T> a, Collection<T> b) In the Appearances class, the stat...
[4 replies] Last: thanks (by paul1994)
by zmlink
please help fixing my bad logic issues.. im a noob...
 
// I am extremely bad at c++ and my class is giving me hell this semester and my instructor will not...
[3 replies] Last: or fail trying lol ! (by zmlink)
Testing a loop?
 
Hey guys, why doesn't this function work? void CreditCard::DoCharge(/*string name, */double amoun...
[3 replies] Last: void CreditCard::DoCharge(/*string name, */double amount){ for( int... (by anjeloyo)
How to output array as column/row NOT row/col
 
Hi guys, ...I need to output some information in a 2 dimensional array as as opposed to , th...
[6 replies] Last: Why not just cin >> y1 >> x1 >> y2 >> x2? (both in sMovement and fMove... (by Ravenshade)
by SamT
For Loop Question! need assistance!
 
Hey guys, Write a program which accepts as input a positive integer and checks, using the algorithm ...
[8 replies] Last: That is pretty close. Remember the idea is to reduce the number to 2 ... (by cire)
by yaraa
I have a question here
 
write a program which inputs an integer value ,checks its positive and outputs its factorial ,using ...
[6 replies] Last: #include <iostream> using std::cout; using std::cin; using std::end... (by eyenrique)
using arrays
 
I need some help with the output of my program and using arrays. Here's the problem: ★★â˜...
[3 replies] Last: num is 0 for the entire program. #include <iostream> int main() {... (by cire)
by kg4cjv
dynamic array of pointers that grow at runtime
 
Hi, I can't for the life of me figure out why my application crashes after the 7th cin. #i...
[no replies]
Inventory: Reading in From a File
 
I'm writing a program that needs to read in from a file and then use the information to create a new...
[no replies]
How can i get a file extension from a file found using an iterator
 
Im doing a project right now where i need to iterate through a folder and put all the different file...
[1 reply] : If that is boost's directory_iterator, just dereference it and call ... (by Cubbi)
by Jace
Calculator
 
This is a calculator that I made that sadly doesn't calculate decimals or square roots. What I wan...
[5 replies] Last: Thank you all so much! I found booradley60 to be extremely helpful. My... (by Jace)
replacing two newlines with a single newline
 
I'm trying to write a program for an assignment which takes standard input and writes only non-empty...
[6 replies] Last: So I have tried #include <stdio> int main( void ) #define MAX_CHAR ... (by spaceybrains)
getting the max index number from an array of char
 
I really need help in this one. Develop a function that prints the index number of the largest valu...
[no replies]
pseudo number generator with a range
 
.....................
[4 replies] Last: #include <iostream> #include <iomanip> #include <cstdlib> #include <c... (by Chervil)
Pages: 1... 102103104105106... 135
  Archived months: [mar2013]

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