by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! 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)
Terminal g++ Compiler
Hi Can I have a question here?? I am a college student who is majoring in Computer Science. My codi...
[2 replies] Last: Using a terminal to compile gives the programmer a lot more manual fle... (by Furry Guy)
Question about header files and adding additional cpp source files.
So im writing a program and it's getting annoyingly large in size where im having to scroll through ...
[15 replies] Last: I guess the OP, as a beginner, should learn both Yes. The issue I h... (by seeplus)
What does a cpp main file should look like for embedded systems
Write your question here. Hi, I am puzzled as to what should be left in the main.cpp file in a we...
[no replies]
by sarvcr
First getline getting ignored
Hi! I'm coding an small program where I need the user to send strings, so I'm using the geline(cin,x...
[3 replies] Last: Hello sarvcr, getline(cin, frase); //<---- This line gets ignored . ... (by Handy Andy)
reading register values from c++
Any ways of reading the register values while debugging . for example if i would like to put an cond...
[no replies]
Usage of macros inside class header files
Hi, I was wondering if it is a good practice to have #define macros in a class .h file. For example,...
[3 replies] Last: Ok thank you! for now I will go with different implementations, it se... (by jcsb1994)
by Jarv
Ini Files using Visual studio C++ 2008
Hi guys Can you help please, I want to be able to read and write to a IniFile using Visual studi...
[4 replies] Last: Thanks You guys for your help. (by Jarv)
by sarvcr
Divide Strings into Char
Hi! For an assignment, I have to write a code that has several functions. One of them is counting th...
[5 replies] Last: char &c is a reference to each letter in turn. if you leave the & off... (by jonnin)
Problem with calling function from header file
I have a problem. I am trying to call a function that I have a prototype for in a header file and an...
[2 replies] Last: Thank you AbstractionAnon. (by BroBuilder)
by alexas
ideas for rotation of multiple cuboids
Hello, I am asking such maybe more mathematical question here in this forum as it somehow gives me...
[5 replies] Last: You can find it written out element by element at https://en.m.wikiped... (by lastchance)
Square made of *'s with a number inside
Ask the user for a single digit number. Store as int. Print a rectangle made of *'s with the numbe...
[5 replies] Last: Thank you so much! (by Notanormie)
Trying to read the file and tokenize each string to produce a bar chart
I have this .txt file. I want to extract each element that is separated by a space. For example, in ...
[2 replies] Last: Do you mean like this: #include <fstream> #include <string> #includ... (by seeplus)
Palindrome Stack and Queue
The idea of this assignment is to use both a stack and a queue to implement a palindrome-recognition...
[5 replies] Last: Re lastchance's second point. The while test in L77 could be: while... (by seeplus)
Bar chart help, no errors, won't run
Hey guys, me again. So I have to build a program where I have 4 cities, and the user inputs the popu...
[4 replies] Last: #include <iostream> #include <iomanip> #include <string> using namesp... (by lastchance)
varable in if statement
What am i doing wrong? I cannot get the discount_percent variable to apply inside of each if stateme...
[3 replies] Last: This can be simplified by moving the output code to after the discount... (by seeplus)
by L67GS
I'm pretty green yet(just over a year), and not certain what direction to go with my studies. Being ...
[4 replies] Last: I'm thinking microcontrollers, like PIC and AVR. So having spent the l... (by L67GS)
Need Looping Help Please
How can I do incorporate this in the current code I already wrote: If the user enters a negative num...
[5 replies] Last: std::ios_base::badbit is set in the stream's exception mask to indic... (by mbozzi)
While cicle and array
Hi guys, this program asks to input numbers between 0 and 5 and print the time a number occurred; an...
[9 replies] Last: thanks guys, I really appreciate it! (by Zhylian)
Pages: 123... 14
  Archived months: [apr2021]