Beginners (Page 89)

by Irhcsa
Where to place sound files (1,2)
I'm trying to add a .wma sound file to my project. I can't figure out which folder to place it in. I...
[26 replies] Last: Velocity? Velocity. For sure. It's how you should handle pretty ... (by Disch)
How is this code working?
Question:Given the list of numbers, you are to sort them in non decreasing order. When the array c ...
[2 replies] Last: Ya..What you said in the last is also right! But codechef's accepting ... (by Knightrider29)
Why my code is not giving output?
Why the code i not giving output? #include <bits/stdc++.h> #define endl '\n' using namespace std...
[1 reply] : undefined behaviour in the loop of line 31 (out of bounds access) also... (by ne555)
by h4ever
Do you think this two codes should do the same? H and i are floats. H is between 0 and 360. Th...
[1 reply] : I get the same results except for when H == 360.0f #include <iostre... (by Ganado)
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 fun2code)
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)
Pages: 1... 8788899091... 99
  Archived months: [jan2015]

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