Beginners (Page 3)

Console crashes upon passing dynamically allocated array as a parameter
Hi, I wrote a program to simulate rolling dice with input number of dice, sides, and rolls, and ask ...
[1 reply] : Doesn't crash for me. What input are you using? (by James2250)
SDL text to screen
I would like to render text to the screen. The renderText function gives me a bad access error. I fe...
[1 reply] : Been a long time since I used TTF with SDL but what makes you think it... (by James2250)
What is the problem with this code?It Doesnt show my display ?? #include<iostream> #include<...
[2 replies] Last: Txxxx jamess (by rahul820)
by ZeHgS
Are templates the best option? If so, is this the correct syntax?
Hello! So I have this: //base class class InterfaceItem { public: ...
[1 reply] : In the end I managed to use template functions. I found out the reason... (by ZeHgS)
Help with derefrence member.
Why do you need to declare a pointer? Can't you just assign the pointer without declaring it to a ty...
[1 reply] : This video is good. (by Bdanielz)
Calculating Frame Rate
I am having trouble calculating frameRate. Can someone please help me with my code. :/ I am getting...
[1 reply] : The framerate is F rames P er Second , which is the number of times... (by Duoas)
Choosing between the two(Binary Tree)
I want my output to go on like this: You: Hi Hello How are you Choose: a Me: Hello You: How'...
[8 replies] Last: I fixed it! :D #include<iostream> #include<stdio.h> #include<Windows.... (by Vandalism)
Stuck with how to create a simple function.
I'm revising for an exam and we have been given some mock questions to practice on which be alike wh...
[3 replies] Last: For example, in the following code placed as indicated in the main f... (by Texan40)
Issue with Return totalhour;?????
I'm writing a Payroll Calculator for my Intro class, and I've gotten majority of the kinks worked ou...
[8 replies] Last: I figured out my problems, thank you for the help! (by kserg652)
Help with function templates
I'm not too good with function templates and was wondering if you guys could help me. I'm trying to ...
[3 replies] Last: why would you write your own swap function when the standard provides ... (by IWishIKnew)
by Winsu
a and b werent declared in the scope
Write your question here. #include <iostream> #include <vector> using namespace std; st...
[5 replies] Last: Change (48th line) for (vector<mystruct>::iterator iter = vec.begin()... (by TheHardew)
help with mode of array
this is what I'm trying to do Write a function that accepts as arguments the following: A) An ar...
[2 replies] Last: You will find that using consistent indentation and placement of the c... (by dhayden)
by dean
friend of a function std::enable_if
Hi, I'm reimplementing the class std::tuple following this article:
[no replies]
Coding a platform, side scroller in c++.
Hello fellow coders! Well, nice to meet you all and after reading this forum I decided to join it. J...
[16 replies] Last: This is really confusing. I do no have skype, would email be ok? (by James27)
getline not working
In my program the getline doesn't seem to be working. source.cpp #include "critter.h" in...
[2 replies] Last: After you enter 1 and press enter there is a newline in the stream whi... (by naraku9333)
Removing commas manually off a string
Hey guys! I'm new to this forum and also C++ programming(please bear with me) and just have a simple...
[5 replies] Last: Thanks alot guys! That really helped me out on this particular problem... (by fishnsimon)
Write your question here. I need a c++program for simple calculator???
[1 reply] : If you're trying to cheat on your homework there are hundreds of place... (by cnoeval)
Why does this function not work?
I need to explain why a particular function does not work, and fix the error using only parentheses....
[4 replies] Last: JLBorges is right. The first statement finds the modulus of c (c.abs),... (by AskIchthys)
Where does Visual Studio 2015 look for header files?
Where should one put the header file so that visual studio automatically finds it when I open the pr...
[2 replies] Last: #include <filename> or #include "filename" ?? If you use <filenam... (by andywestken)
function calls funtions (programm wrotten with a class)
Write your question here. How can i make function ( print() ) calls to functions (isInteger() and i...
[2 replies] Last: it works . thank you coder777 :) (by malmsteen)
Pages: 12345... 82
  Archived months: [mar2015]

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