Beginners (Page 7)

by sunOsk
Random Int problem, need help!
I am "coding" a rock paper scissor game (in Swedish because my c++ school book is in Swedish) The bo...
[4 replies] Last: Thanks! It's working now. (by sunOsk)
by clodi
#INF ..what is happening is rather bizarre
I am writing a piece of code that outputs a list of DOUBLE numbers on screen. I basically have 2 qu...
[3 replies] Last: why does the total start tripping as soon as the time step does? Wel... (by MiiNiPaa)
Auto Creating a library book id code
I am writing c++ code to develop a library database software. This involves: Adding a book to the ...
[4 replies] Last: omg! i love you. Thank you sooo much!!! Esslercuffi. (by omkarborkar95)
Function Calling
How would I call this function in my main function. void print_calendar(int month, int year, o...
[2 replies] Last: What do you expect line 19 to do? Where have you defined a print_cale... (by pheininger)
Why does the code do not give error?
Why does this code do not giver error, the size of century is 3 elements, still it holds for elelmen...
[7 replies] Last: What is actually happening (probably) is that century is not actually ... (by Esslercuffi)
guys i need some advice over here..
can you guys tell me what's the problem with this coding? it says that Warning W8004 assignment1.cpp...
[5 replies] Last: Warnings are the compilers way of trying to give you helpful feedback ... (by Esslercuffi)
regarding over loading of operators
why the operators like =() must surely be the member functions? if time permits pls explain me w...
[1 reply] : class foo { foo(int) {} //Implicit conversion enabled constructor... (by MiiNiPaa)
Tic Tac toe
I am trying to make my code look like the following: New Game: X goes first. ----------------- |...
[3 replies] Last: I need to have my game in a multidimensional array. my game box needs ... (by japperx)
Hi guys I need help with my code I have to write this program "Write a C++ program that will calcula...
[2 replies] Last: so this is what I have now. I removed the header file. /*function.cpp... (by dksam123)
Little help please
I have a program to write that uses an array to read from 2 different files. The first file is named...
[4 replies] Last: Thanks for the help I fixed the code and it runs great! (by guglaak)
by stupid
What is a hexadecimal/octal number?
//this is probably a very stupid question I'm still on the basics tutorials, stuck on Constants. ...
[3 replies] Last: Thanks so much. It makes a lot of sense now! (by stupid)
by cGuru
Error C2087 & Error C2133 Please
Goal: Read contents from a file and use as the size of a 2d array. Problem: C2087: Line...
[1 reply] : you can't declare arrays with variable subscripts. Look into vectors.... (by Esslercuffi)
countSort() function not working
I've written the following code. When I give input an array it outputs the same unsorted inputted a...
[1 reply] : Whatever else counting_sort() is doing, it's not modifying the array y... (by tipaye)
Please help
Hello all, brand new to the forum. I was thrown into a Computer Science class out of no where and al...
[7 replies] Last: And after a long weekend, I found a solution to problem 2. Thank you a... (by aids8544)
by weee
question about range for loops
i wonder is for(auto i:{0, 1, 2, 3, 4, 5}){ cout << i << endl; } technically...
[4 replies] Last: simply, int a =5; cout<< a; // not cout << *a; int *pt = &a; cout <<... (by anup30)
by GaryDT
Changing Pitch/Frequency of .wav Files
Hello There, Is there a way to load a .wav file into C++, run through a for-loop or while-loop, a...
[10 replies] Last: Have you considered using mp3/ogg vorbis instead of wav? Ogg Vorbis i... (by Disch)
C++ exercices
Hi everyone I am new here and this is my first question. I would like to know if you have some webs...
[1 reply] : there are many sites when you search in google. If you would like to ... (by tath)
max integer of 3 numbers using an outside funcition
I need to write a program using a function to output the max of 3 integers. This is what i have so f...
[4 replies] Last: How have you determined that there is "wrong with the program"? * Comp... (by keskiverto)
Constant expression required problem
2 questions 1. I now the compiler i am using is outdated, Its turbo c++ version 3.0 so i want to kn...
[1 reply] : i want to know what changes do i need to make to make my program run... (by MiiNiPaa)
by T4l0n
learning heap sort
i wrote this to begin learning heap sort algorithm(i know this doesn't sort anything) but everytime ...
[2 replies] Last: yes, sorry, brainfart i guess :) (by T4l0n)
Pages: 1... 56789... 102
  Archived months: [aug2014]

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