Beginners (Page 77)

by tdk93
comparison between 0.7 and float f = 0.7
 
The following program prints hi while logically it should print hello, I can't understand the proble...
[5 replies] Last: Perhaps the following will shed some light: #include <iostream> #inc... (by cire)
by BLANKE
Need Help With IF Statements
 
I need some help with my program. I was writing a text-based game and used an if statement in my gam...
[6 replies] Last: no i don't know how to use loops yet, i just started coding like 5 day... (by BLANKE)
Why use .cpp files for classes?
 
Hi. I was wondering: when I create a new class in C++, it's generally said that it should go in a s...
[3 replies] Last: I see! Thanks. (by Northern)
pointers, array, functions (1,2)
 
Hey guys I'm too messing with pointers, arrays(oneD, multiD) and arrays(oneD, multiD) as parameters ...
[27 replies] Last: thanks to all of you my mid exams are starting day after tomorrow so m... (by danicpp)
Help
 
i'm new to c++ and i'm not an informaticien I have a mini project and i don't have enough time, cou...
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by cire)
by alsade
problem with splitting program to header and cpp files
 
im trying to split a program to 3 different files (header ,cpp and main.cpp). the program worked wh...
[3 replies] Last: Move line 12 of tsm.h to tsm.cpp. Do not define variables in header f... (by cire)
ugh...
 
My console application keeps getting shut down by something. I don't know what. I am rather sure tha...
[5 replies] Last: cire: I can't believe I didn't notice that. The variable 'h' should al... (by Perry Turner)
How can I develop PS4,PS3 or XBox games?
 
As I wrote in the title....... How can I make a PS3 or a PS4 game??? If I cant then how can I make X...
[10 replies] Last: isn't there any engine that renders and supports networking??? (by Gameman)
by Sefi
creating templated iterator
 
I use c++11. I wrote a priority queue and an iterator class for it. But when I use the iterator I ha...
[4 replies] Last: auto works fine, Thanks! (and I also tried the first option but I gues... (by Sefi)
by stlund
Need help with "rand" values in a guessing game.
 
Im trying to get a guessing game to work. I want the user to think of a number between 1 and 100,...
[13 replies] Last: Got it to work now! thx for the help everybody! the diagnostic tip mad... (by stlund)
by Zunain
Logical Error
 
Hi guys,I'm new to C++, I have written a code which includes inheritance and I have to use the "Argu...
[4 replies] Last: in the book,Object Oriented Programming in C++ by Robert Lafore, it wa... (by Zunain)
Simple program not working
 
dose anyone know why this programs fails to compile? it looks correct to me. i am using gcc to c...
[3 replies] Last: sorry for being a bit lazy when posting this! should of checked the co... (by tomplusplus)
? Following Comparison Operand
 
Hi cplusplus, first time poster and I've only been really heavily using C++ for the past week or so,...
[2 replies] Last: Fantastic, thank you! (by Alpharius120)
Beginner Error C1083 Help please
 
I i'm starting to learn to program but I have already encountered a error when i try to run or debug...
[9 replies] Last: It looks as though Visual Studio is not configured correctly. As to th... (by Chervil)
passing unions to functions
 
Can we pass unions to function? if yes then what's the syntax with an example.
[1 reply] : Yes. Union has typename just like a class. Pass with same syntax. (by keskiverto)
throwing exception in operator new function
 
I must create a class with its own operator new. This operator should allocate ten objects, and on ...
[4 replies] Last: class A { static const size_t Alimit = 10; static size_t Acount; ... (by keskiverto)
Convert mathematical operations from string to integer?
 
If I have input string s = "5+3"; and I have to calculate this and return INT which is equal to 8. H...
[3 replies] Last: But how do I take each number from that string? Either use stringstre... (by MiiNiPaa)
String Library Functions
 
Hey I was just trying out some string library functions and i was doing them on normal strings in th...
[2 replies] Last: i was wondering if you these functions only work on null-terminated st... (by nicodasiko)
Binary to decimal
 
What is 1001.010(base 2) equal to in base 10?
[2 replies] Last: Thanks (by JasonMcG)
HELP!! Adding multiple arrays into a variable
 
So I've written out a program that is supposed to calculate my grades and give me a letter grade and...
[2 replies] Last: int foo ; int bar ; foo = bar ; // ERROR 1. Both arrays have 7 ele... (by keskiverto)
Pages: 1... 7576777879... 86
  Archived months: [may2014]

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