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)
recursive function to count the sum of digits
 
i made an attempt at making a recursive function to count the digits of an integer number with a rec...
[no replies]
Need help with rearrangement
 
I was going to create a program that rearrange numbers from smallest to biggest. But it doesn't wor...
[no replies]
Passing vector to function by pointer
 
I've been struggling with a simple program to help me understand the vector-pointer relationship; so...
[3 replies] Last: Additional reading on the topic: http://en.cppreference.com/w/cpp/lang... (by keskiverto)
by Phil15
Need some help on this interview question
 
Hi guys, So I read this interview question: "Given an array of integers, delete the max and mi...
[4 replies] Last: Erase-remove idiom: void remove_min_max( std::vector<int>& seq ) // ... (by JLBorges)
by w0rd
Dump truck/tire pressure
 
I am having trouble with the error part of my program. You will be developing C++ program to repo...
[2 replies] Last: Hello w0rd, The variable I should be initialized to 1 to work with ou... (by Handy Andy)
Initialize superclass with subclass
 
Hi! I'm new to C++, but I have programmed a bit in Java before. I was wondering about polymorphism i...
[1 reply] : Rectangle() creates a temporary object that will be destroyed at the... (by Peter87)
by vis594
Class Implementation Conundrum (cpp and h files)
 
Hello, I have tried to create a new class and implement it as a cpp file and a header. All of my att...
[6 replies] Last: In the header file change all string to std::string In 'bool CodexDat... (by krako)
infinite numner sign...
 
I know that the infinite sign is like 8 but flat... what about in c++? how would code/type the infin...
[3 replies] Last: hello WheatFieldOnFire, This worked for me: char ch{ ' ' }; ch = s... (by Handy Andy)
How do I reverse digits of an integer?
 
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 ...
[12 replies] Last: Yep, it was me krako, you were unfairly singled out and accused. (by kemort)
Help!!! Number Problem!
 
Hello everyone, Can anyone please help to resolve this problem. I am just starting in C++. Was gi...
[1 reply] : Send me a private message. (by SakurasouBusters)
Connecting to ORACLE 11g Express Edition using ODBC
 
Hi I have downloaded the ORACLE 11g Express Edition. I would like to connect to the Express Ed...
[no replies]
C input
 
The input has a line of positive integers. You must process all integers in this line. while(sc...
[2 replies] Last: It works, tks!! Mind if I ask what does 1l means? (by tomtran3110)
Recursion issue and backtracking (checkerboard jumps)
 
Hello! I am supposed to make a program that returns the maximum number of jumps a king player can...
[5 replies] Last: Figured it out by myself. Thanks anyways. (by mk92595)
String Problem Errors
 
I need some help with solving this problem I was assigned. I have some errors right now and am wonde...
[9 replies] Last: #include <iostream> #include <string> using namespace std; int main... (by kemort)
Having trouble with dynamic memory. Any help would be greatly appreciated. Thanks!
 
I've begun constructing a class that overrides the default limitation of the size of an integer by e...
[5 replies] Last: @SakurasouBusters Every time I fixed my code and those times where my... (by boost lexical cast)
Password Check Problem
 
I need help with this problem I am working on that essentially asks the user to input a password wit...
[8 replies] Last: @SakurasouBusters I see what you did with the for loop and line 7, bu... (by salomonthesav)
by rlake
Inserting into an ordered linked list
 
Hello. I was wondering if someone could provide some guidance on inserting into an ordered list. ...
[no replies]
by cm123
name 6 problems in the code please!
 
can someone please name 6 problems in the code? i can't figure them out #include <iostream> usin...
[2 replies] Last: Exactly the same code? Coincidence much? http://www.cplusplus.com/foru... (by integralfx)
Pages: 123... 36
  Archived months: [aug2016]