General C++ Programming (Page 14)

by jbohol
C++ General
Hello Masters, Greetings! For how long will c++ last? Just a curious question, if the languag...
[7 replies] Last: It will easily last 25 more. While you need a working crystal ball t... (by jonnin)
getting headache with char datatype
hi, i read every online material related to char, unsigned char and signed char but was unable to ...
[2 replies] Last: The first thing is to get the word "char" out of your head. This is ... (by jonnin)
Hi guys please help me on this to problem 1.Write a program using the cin.get() and toupper() lib...
[2 replies] Last: since you should be learning strings, Ill give you some key tips for c... (by jonnin)
Class values not being rememberd?
Hi All, Sorry for the vague description but i wouldn't know how else to describe it. I'll try expla...
[8 replies] Last: Oh, look at this mess. Your class testy. It contains an object of typ... (by Repeater)
by sephi
Writing in files
I would like to write in files like using Fortran language. I mean, in c++, there are no natural spa...
[2 replies] Last: Thank you!! Problem solved! (by sephi)
Program won't compile on my computer but will on others
I have a program that is giving me getline errors on certain lines but not all. It also is giving me...
[8 replies] Last: dev-cpp is good for small program and isn't supported anymore Of co... (by Thomas1965)
someone pls help me this is my final assignment and i dont know how to do it PLS PLS
Write a C++ program that displays a calculation menu as shown below: Calculation Menu 1. Mult...
[12 replies] Last: Why are you even taking this class? I remember last semester where you... (by fiji885)
by stav
Forward declaring class: incomplete type
Hi I have the following code: MySceneManager.hpp #pragma once #include "my.hpp" #inclu...
[1 reply] : A forward declaration will only allow you to have pointers and referen... (by Peter87)
Flipping cards
Greetings,fellow members! I need help with my school project. My teacher don't understand this matte...
[3 replies] Last: Update - Just noticed there are double lines. Solved. (by edmundrw)
Doubt in a program
Question - To write a program using functions to check if a inputted number is prime or not, exit fu...
[2 replies] Last: Some Google search... (by chicofeo)
I'm stuck
I need to create a self solving maze that randomly moves around valid spaces until it finds its way ...
[13 replies] Last: guess my last post didn't post, but anyways ur code works just fine. b... (by imafailure)
chain of function calls and temporary variables with destructors
I am trying to create something like unique pointer for Arduino. Here is a simple example: #includ...
[4 replies] Last: This problematic code int *p = getPointer().get(); // note: no dere... (by mbozzi)
by KB93
Initializing Stack Constructor
Hello everyone, What I am trying to accomplish is initializing a stack constructor, setting the ini...
[no replies]
My Connect4 class wont print out the board. Help?
****main**** #include "Connect4.hpp" int main() { Connect4 player1; player1.DrawBoard...
[2 replies] Last: Wow, such a simple mistake. Thank you so much! (by joshgarza)
Complex Number Addition Function!
Hi everyone, i have 2 different complex number at my class. i want to be collection subtraction mul...
[1 reply] : To add or subtract two complex numbers, just add or subtract the corr... (by keskiverto)
by PitKid
Passing Struct Arrays to Sort
Alright, so I'm going to be pretty straightforward about this, 1. I'm very new to using these forums...
[1 reply] : You can sort any unsorted container using std::sort. https://wandbox... (by elohssa)
by hlbx
static library not working on all computers
Hi, I am creating a static library for my c++ project on linux mac and windows. (for now I have ...
[1 reply] : AVX is a feature of the CPU, not the operating system (just to be clea... (by NoXzema)
Regular Expressions in C++
Hello All, I have recently been experimenting with Regular Expressions in C++ (Regex). Fortunately, ...
[2 replies] Last: Worth mentioning that your input statement looks like some markup lang... (by mbozzi)
by WildB
Need help making a flag that is design by user inputs, while using mainly array for it
Directions : Write a program that will allow a user to create a flag of characters. The flag should...
[no replies]
Getting specific information from a string
Hey guys, I need help with some idea that I can get specific information from a string. For examp...
[2 replies] Last: #include <iostream> #include <sstream> #include <string> #include <ve... (by lastchance)
Pages: 1... 1213141516... 20
  Archived months: [jan2018]

Cannot post in this page. To post a new message, go to the first page.