Beginners (Page 51)

by wolfv
polymorphism with template<>
 
I need help solving a compile error in the following code. I am trying to set an array size at compi...
[2 replies] Last: That was it! I always miss the simple things when it gets complicated... (by wolfv)
function called by main
 
Hi, I'm working on this program and I wanted to know if I was going in the right direction or not. H...
[6 replies] Last: Thanks for your help :) (by Newie0001)
Randomly spawning on a map
 
Hi guys, I've been trying to get this piece of code to work but I'm hitting a wall I don't want to ...
[7 replies] Last: i'm also still learning. it is one of those things that grows arms and... (by rafae11)
REALLY confused with class
 
Hello. I am learning about classes and I understand a bit on how they work: like functions, except i...
[19 replies] Last: Yup, You're on the right track, given the assignment. Note that in the... (by dhayden)
Help please!
 
I just now started to learn this and i dont know why i cant get it to work please help //main.cpp...
[3 replies] Last: If his topic is done CLOSE THE TOPIC ! (by jasonwynn10)
Want to output results from a Function
 
HI guys, after outputting the Function.. Its just after the switch Function List : //Describes, b...
[6 replies] Last: Cool, thanks for the pointers:) (by HarrySyson)
Random Number Gen. w/ Math Equations
 
I'm having many problems with my Homework . . I'm trying to make a code that generates 10 Random Num...
[1 reply] : (1) Use functions. Put all that stuff that fills Smith with random ... (by Duoas)
Does not name a type error
 
I'm using vectors in a class that creates different attributes for different types of units and I'm ...
[7 replies] Last: Now that those technical issues are fixed I can focus on setting each ... (by deathslice)
using std::shared_ptr
 
Hello, I'd like to have a shared_ptr type object in a class , and one of the class' member fun...
[8 replies] Last: No, but you can write one yourself. For example, implementation for si... (by MiiNiPaa)
by AYQ
why does this if-function without else does not work
 
(Code was written in Visual Studio Express) The following function is called multiple times in a wh...
[4 replies] Last: Without the `else' you will be always executing the decrement. If the ... (by ne555)
Does this look right?
 
The program runs but what I want to know is if I did things that were unnecessary? or was there an e...
[4 replies] Last: I get it now, thanks for your advice! (by Newie0001)
by rko786
can not get this to work (1,2)
 
#include <stdio.h> #include <math.h> int main() { float temp_c, temp_f, result; int i; ...
[21 replies] Last: ill check this thanks (by rko786)
by Neek
Why Input Data type conflict is causing infinite loop
 
The code below shows a simple program, which is a small piece of code from simple math game.But in t...
[2 replies] Last: Formatted input. See http://www.cplusplus.com/reference/istream/istre... (by keskiverto)
by rko786
need help to clean up
 
#include <iostream> #include <fstream> #include <cmath> #include <windows.h> #include <string> ...
[2 replies] Last: why are you printing out c when c=0 and you never change that? (by ninjarun)
I need help reading in from/writing to files in C++
 
I am writing a program that reads in a list of pilots' names followed by a set of coordinates for ea...
[3 replies] Last: My first suggestion would be to read an entire line with getline() the... (by jlb)
Can someone take a look at my final project?
 
Hi my final project for my C++ class is due thursday. Can someone take a look at it and tell me what...
[1 reply] : code now compiles. http://ideone.com/Sr1240 (by rafae11)
Using a flag-Controlled while loop to determine who has the most points
 
I have a homework assignment where I to read in from a data file a list of names with an integer und...
[1 reply] : things like: mostPoints = 0; will need to be: int mostPoints = 0; ... (by mutexe)
by a73417
How to Generate a random array in C ++ , with 100 different numbers
 
hi guys, i'm learning c++ and I have problems how to create a random board , in C++ with 100 differ...
[11 replies] Last: thanks a lot guys ! :) (by a73417)
Need to help for fix error LNK2001: unresolved external symbol
 
Hi Devs. I am working in Visual C++ and having this error. I have declared below extern lines both...
[2 replies] Last: Thanks for you reply. I have found the problem! (by Kkomia7)
Two dimensional validation and string;
 
Trying to set a string input into the two-dimensional array and validate the spot taken. I want to ...
[no replies]
Pages: 1... 4950515253... 89
  Archived months: [nov2014]

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