Beginners (Page 74)

Sales Bar Chart
 
I am writing a program that asks the user to enter sales for five stores and should have a bar graph...
[1 reply] : The sales array holds integer types - at line 20 you're trying to put ... (by wildblue)
std::vector::insert
 
Hello, Im starting my journey with vectors. Lets say I got a vector of ints with data like 10, 20, 3...
[7 replies] Last: Wow dude thanks a lot. Ive never seen anyone(on this forum) explaning ... (by Furjoza)
by ohad
hi hi
 
sopuse to be tow pointers that the first pointer is a string and the second is an empty char that pu...
[11 replies] Last: char* is a pointer . All pointers are about the same size, const o... (by keskiverto)
nthfiles
 
I have been studying files for a while, but actually we see so many different things on the web to d...
[11 replies] Last: Ok, thanks again! (by closed account jvqpDjzh)
by tdk93
error: lvalue required as left operand of assignment
 
I don't understand the error which the following program gives on compilation. int a = 10,b; ...
[5 replies] Last: In C, the ternary operator has a higher priority than = and your cod... (by cire)
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)
Pages: 1... 7273747576... 83
  Archived months: [may2014]

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