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)
Book suggestion to understand Tokens
 
I'm reading "Principles and Practice Using C++" chapter 6, it's about using Tokens and as if the con...
[3 replies] Last: get_token() in your example has to return a value of type Token , w... (by tcs)
fstream object complications
 
Can someone please explain to me why when I initialize this array of structures there are additional...
[1 reply] : Give some example of your input, your expected output and your real ou... (by tcs)
how to convert string to float?
 
Hi, i have 2 strings: string a="100.10" string b="200.10" how to convert to float so to be s...
[no replies]
Pointers and Arrays Question
 
I dont know why the average is not popping up it says 0.00 i still can't find a mistake or what i di...
[1 reply] : Line 42, 44 : Use count as index instead of numTestScores .... (by tcs)
User-defined functions
 
It errors. Error 1 error LNK2019: unresolved external symbol "char __cdecl price(char,int)" (?pric...
[3 replies] Last: Fix your forward declaration to char price(char sprice , int slength)... (by tcs)
My code works as is, but how do I use the constructor?
 
Here is my code so far: megatron.h - In namespace megatron::utility template <class T> cla...
[11 replies] Last: > My next thought would be including a static vector to the megaptr cl... (by JLBorges)
Search name(String Manipulation)
 
Desired Output: Enter n: 2 Please input 2 names: Ana Ina Ana Ina Enter name to search: Ana An...
[16 replies] Last: I'm a total newbie so thank you for helping me ^^ (by Vandalism)
2D Arrays
 
Hi, I have almost no clue how to use a 2D array.. The start of my project requires a 2D array filled...
[1 reply] : int main() { using row = char ; // row is an alias for 'array of... (by JLBorges)
Library
 
what is an abstract library?
[no replies]
Undefined symbol error in Turbo C++
 
I want to create a GK Quiz project named Infinite Knowledge. In this I created a C++ Class 'Quiz' wi...
[19 replies] Last: AbstractionAnon : Line 10: Your delimiter has no character between... (by KVaibhav01)
by msrt92
Stack in array
 
i want to create s.top public variable .. #include<iostream.h> //#define maxSize 5; str...
[2 replies] Last: sorry I'm not creating function for top... I m creating global variab... (by msrt92)
Back to diamond problem
 
I want to keep the outside stars only and remove the inside diamond shape to be like * ...
[7 replies] Last: Thank you, Sir. (by Eslam Elmishtawy)
by bpro
Calendar still displaying when parameters are invalid
 
Here's what I need to do: If the start day is not in the range 0 to 6 inclusive or if the number of...
[1 reply] : @bpro You are checking if the parameters AFTER you print the calendar... (by whitenite1)
he particular most powerful opinion
 
I am aware Tobacco is a aggravating course of action, although which may be the correct way it truly...
[no replies]
class
 
OK...I made a thread the other day about the array but what I need is a private class then in main d...
[12 replies] Last: OK!!!! I got the teachers help (not much help but helped a little(she ... (by lordzedd)
Using ofstream with structs
 
Hello all, thank you for taking your time to view this issue. I am currently reading in a .csv file ...
[no replies]
how to read whitespace using infile from a file in c++?
 
i have to make a program which reads each chaacter from a file and using the caesar cipher if the ch...
[7 replies] Last: change while(inFile.good()) to while(inFile.get(letter)) and remov... (by disturbedfuel15)
Array of Structs
 
I am getting the vast majority of the errors in the piece of code below. They are pertaining the var...
[1 reply] : Well I solved that by adding constructors but now I am getting the err... (by JoJodoggy1)
Pages: 123... 128
  Archived months: [sep2014]