Beginners - February 2015 (Page 42)

by Nanyo
game rougelike
 
Hi I am trying to do a rogue like game but it's not working(as I expect it work) The problem is whe...
[no replies]
Output text C++
 
My problem is that I can not manege to create a program that can output text to the .txt file. I don...
[no replies]
Class .h .cpp undefined reference understanding problem
 
Hi I'm learning cpp by myself and get stuck on classes. I have read some stuff on this forum and ...
[7 replies] Last: wow, thats really embarrassing. problem solved, thanks guys :) (by foxxiak)
Is this what I should have done? (Cipher program)
 
Hello, I have written a program for a Random Cipher. Here is the description: The program genera...
[7 replies] Last: By the way, your code to shuffle the strings is wrong. Rather than swa... (by dhayden)
Is there a package of standard .h files?
 
I switched to LinuxMint recently and I realized it has GCC already installed. So I decided to brake ...
[3 replies] Last: No it's not standard. The name suggests it's only available on the Min... (by Peter87)
Differentiating istream from ifstream parameter
 
The cin object is an instance of istream , but not ifstream . But istream cannot use the funct...
[3 replies] Last: Yes. (by keskiverto)
Variable question (Do not really know how to call this problem)
 
For example, into "cin" I enter number 2. And then it shows me this Opinion 1 Opinion 2 When ...
[1 reply] : #include <iostream> int main() { unsigned numOpinions; std:... (by booradley60)
Removing comments and whitespace from LOC Counter
 
I have an assignment for my Software Engineering class and I've almost got it working except for a s...
[1 reply] : Perhaps you should read up on the find method of std::string . Hin... (by cire)
Releted to Matrix
 
i have a 10x10 matrix with integer elements ranging between 0 to 4. i want to make a vector of dime...
[no replies]
Need help with reading a txt file that has commas
 
so the txt file has numbers 90, 80, 20, 45, 18, if the numbers didnt have commas in between my pr...
[2 replies] Last: it works now, thanks man! (by coolguy123)
reading txt file into vector
 
Hello. I have to read an unknown amount of integers, which are separated by commas (which is my prob...
[2 replies] Last: jlb, you're a lifesaver! (by TonyEdwardStark)
Homework help
 
So I am not asking for you to code for me, I understanding C++ very well. I am asking if anyone can ...
[5 replies] Last: Sorry. I thought I explained that. From my last post: Use &theAns as ... (by closed account D80DSL3A)
program doesnt increment right
 
so there is suppose to be a constant that shows the total number of values to be shown in this range...
[5 replies] Last: wow thanks , we must have commented at the same time so i didnt see yo... (by LATCH100)
Symbol not found Error
 
Being a beginner in c++ coming from a java background , I find the inheritance in c++ a bit confus...
[5 replies] Last: //i just changed void checkTime() to void AlarmClock::checkTime(... (by rafae11)
Day of Week Program
 
I need to write a program that tells the day of the week, month, day, year, and whether it is a leap...
[3 replies] Last: That leap year algorithm is not correct. if (year % 400 == 0) return ... (by booradley60)
c++ char array
 
Need help with my code. please! #include <iostream> using namespace std; void displayTheUn...
[2 replies] Last: You will find your code much easier to read and handle if you indent i... (by dhayden)
by VVS
use of undeclared identifier 'pow'
 
i'm just doing practice problems in the book and i typed this code and tried to run it but it said s...
[2 replies] Last: you need to include the math header from c. In C++ it is in <cmath> (... (by TheToaster)
HELP IN UPDATING TO C++14 Standard!!!
 
Hi! I recently tried to update my Code::Blocks compiler to the C++14 standard. I was following this ...
[17 replies] Last: Thanks to everyone that helped me on this thread! I appreciate it! The... (by TheToaster)
comparing strings
 
Why is this true? z comes after a in alphabet and also if its being compared by size the 1st string ...
[2 replies] Last: Thanks a lot for answer :) That was supposed to be c++ code. It was fr... (by etrusks)
Help with passing a vector by reference and creating paired vectors
 
Hi, I'm still getting the hang of C++ and am currently working on a project for one of my classes. M...
[3 replies] Last: Thank you both. Not sure why I couldn't figure out that I just needed ... (by m0rteum)
February 2015 Pages: 1... 4041424344... 52
  Archived months: [jan2015] [mar2015]

This is an archived page. To post a new message, go to the current page.