Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
binary string to ascii value conversion for beginners
 
Alright so I know there's a few discussions about this on the forum but the help and solutions are b...
[13 replies] Last: Alright, I'm attempting everything I can in order to avoid having to c... (by brosephius)
How to make an item database based off an item class
 
Hi guys, This is my first post here, so if I'm doing anything wrong, please let me know. So I ne...
[no replies]
convertion between two types
 
Please how can I convert from WCHAR to string type ? thanks.
[8 replies] Last: #include <windows.h> #include <string> #include <iostream> std::str... (by Pindrought)
by shola
Nested Loop Problem. Help me to figure out how to do it
 
Modify the program in step 2 so that if the x-coordinate (the number of *'s you print on a line) f...
[no replies]
Creating bigint class
 
Hello, I'm working on a class project and we're creating a bigint class from scratch, and i'm ha...
[6 replies] Last: const int SIZE = 10; it doesn't look like big digit at all. while,... (by anup30)
by Sh0es
Proper way to Overload operator<<
 
I've tried numerous ways of overloading operator<< for numerous classes, but I always seem to get so...
[8 replies] Last: It shouldn't be a member function. You want something like this: clas... (by dhayden)
Converting Linked List to Doubly Linked List
 
Hello everyone, First post here. The details: Add a pointer called "prior" to the linked list cl...
[3 replies] Last: Ah. The loop starting at line 39 is supposed to walk backwards throu... (by dhayden)
Adding input into existing integer variable
 
What I am trying to do is add an integer from 'cin' into an already defined integer variable. I feel...
[1 reply] : I believe you need a second integer. (by Pindrought)
Error in array pointers? REPLY FAST!!!!!
 
I am building an advanced calculator program and I am getting errors on line 22 when I compile the f...
[4 replies] Last: You don't do a pointer declaration at all. Just #include <vector> ... (by Pindrought)
Read input into array & find mean and median
 
Hi, I'm having trouble figuring out how to write this program. I'm supposed to only gather user inpu...
[1 reply] : Yeah, you don't want what your code is doing. It is basically saying ... (by Pindrought)
Advantages to using array vs declaring multiple variables?
 
I'm just curious what the actual advantage is to holding variables in an array versus declaring seve...
[1 reply] : It stores them in memory exactly the same way. However, think of this ... (by Pindrought)
Converting from miles to kilometers
 
hey guys , i started to learn programming from a book called c++ principles by the creator of the la...
[6 replies] Last: @Pindrought , yes i got it now thanks so much for your time man. (by Zamalek)
Reverse Guess my number.
 
I have a full code of the game, I just can't seem to get my algorithm to work, I have looked around ...
[3 replies] Last: Also you use do{} whithout while . It should be do{}while(some_boo... (by TheHardew)
Nested Classes, Operator Overloading and Sorting
 
Was randomly practicing some techniques I felt like putting together. Nothing to brag, but it was fu...
[1 reply] : Cool (by IceStorm)
by anup30
Maximum Size of Recursive Fill
 
my following program fills continuous elements in 2d array recursively. but it worked only for N<180...
[5 replies] Last: still doesn't work for N>=179 in my gcc 4.8.1, for N>=68 in VS 2012 ... (by anup30)
by MrFrog
Functions problem
 
Hi there, how do i get this function to draw a sine wave: double y, x, Pi, TwoPi; HDC h...
[9 replies] Last: How do i add this library to my project in dev c++?? (by MrFrog)
by T4l0n
cannot go thought linked list in hash function
 
line 28 does not work, i cannot go thought the linked list to the NULL and create new data s...
[2 replies] Last: thanks a lot (by T4l0n)
by Fedeb
Overloaded operators
 
Hi, im reading Cplusplus tutorials and i dont fully understand why does the new definition of operat...
[3 replies] Last: So when "redefining" operator+() inside the class you need to specify... (by dhayden)
Pages: 123... 92
  Archived months: [nov2014]