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 Duthomhas)
by L67GS
Julius API
 
Does anyone have experience with Julius Speech recognition under Linux in C++? I've found API stuff ...
[no replies]
Stack
 
The question is : "Make a program for creating of Stack S, after this to set N-th from the bottom el...
[2 replies] Last: #include <iostream> using namespace std; struct elem { int key; // ... (by kerem59)
How to detect key enters?
 
Hi guys! I want to make my program clear the screen once I pressed a specified key. How can I do tha...
[4 replies] Last: I haven't tried it but theoretically you could run another thread that... (by L67GS)
by siid14
ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 
I got a warning as you can read from the title. Precisely this is this line that is affected : ...
[4 replies] Last: you can ugly it up and do it with S. void foo(const char * cp) { ... (by jonnin)
moving array values
 
Coding arrays, one even, odd and then one merged for smallest value to larges. Only on even so far a...
[5 replies] Last: Thanks everyone for the help. (by phazed99)
Searching Vectors of strings for user input values
 
Hi all, very new beginner to C++ here. I'm writing a simple program that reads a .txt file of an en...
[11 replies] Last: Hello ConfusedCoder90, A helpful tip: When you make your 1st post in... (by Handy Andy)
cin.get() not calling anything + how to find info?
 
I can't understand this program what cin.get() is supposed to accomplish here? It is not calling any...
[4 replies] Last: I can't bear reading 10-20 pages of only technical details, there is ... (by seeplus)
function not printing result in menu program
 
Program is meant to allow the user to make several menu choices and print a total once they're done....
[6 replies] Last: The function prototype on L13 doesn't match the function definition on... (by seeplus)
how to create constructor for object containing array of other objects
 
I have tried many ways, but it seems that problem is in the string part, because I am always getting...
[6 replies] Last: It works!!! Thank you so much, I appreciate your help. (by petrmsofuse)
Dynamic Array Class and Functions
 
Hello! I'm doing a Dynamic Array class in which I have to do some statistical function to do some ca...
[13 replies] Last: The class will have a default constructor which will initialize the va... (by Bogan)
Operator not declared in this scope
 
Hey, I have been trying to compile a source file in OpenFOAM which uses the C++ syntax. When I run t...
[2 replies] Last: Well of course, the issue is that autoCreateK isn't declared in the sc... (by Ganado)
Function not returning correct value
 
I have a structure containing string, int and double. My function takes four doubles and compares it...
[4 replies] Last: Thank you very much! (by petrmsofuse)
What does each Const in a member function defintion mean
 
First in C we have const int my_func() {return 0;}; This Tells the compiler that all calls t...
[3 replies] Last: It's mainly a correctness feature. If a class instantiated variable is... (by seeplus)
by vysero
Decimals for numeric keypad
 
Hey guys. I am working on a numeric keypad which needs to handle decimal values. I am having some tr...
[4 replies] Last: Hello vysero, You could also try this: #include <iostream> #include... (by Handy Andy)
Table of symbols
 
Hey, I am trying to figure out how to print out a table of symbols into the console. I have an inp...
[2 replies] Last: L8 - 10 and L15 - 19. It would be far easier to store the required str... (by seeplus)
Problem of scope of variables
 
Hi, I'm testing on a super simple code. However, I can't understand why isn't the output as expect...
[2 replies] Last: Right, got it! Thanks a lot:) (by calvinfornia)
How to Display Image in C++
 
Hi! I'm trying to write a function in C++ to show an image on the screen. How could I do that? I ...
[1 reply] : Which OS are you using? Which compiler / IDE are you using? Do you wa... (by salem c)
How to print out array in all caps
 
I'm working on a project for fun and was trying to figure out how do I capitalize whatever the user ...
[7 replies] Last: seeplus already showed you, you need some sort of helper function to c... (by Ganado)
Pages: 123... 17
  Archived months: [feb2021]