General C++ Programming (Page 8)

Sum of arrays
I need to do a sum of polinomies but I don't know how to do this sum method. I'd really appreciate s...
[1 reply] : First off, this code is incorrect: a.~Polinomio(); b.~Polinomio(); d... (by helios)
OpenGL: Passing a point light in a fragment shader
I don't know if there are any OpenGL gurus here, but I'm stumped. I'm trying to pass a point light ...
[2 replies] Last: Thanks for the reply. I hacked at this most the this morning and I'm ... (by mgoetschius)
by AldenB
Help with header files
I'm just beginning to experiment with header files an I can't figure out why my compiler is giving m...
[2 replies] Last: Thank you very much! I appreciate the complete and concise explanation... (by AldenB)
by AldenB
Issues with my factorial function
I'm working on this basic calculator program and although everything else works perfectly (I've test...
[2 replies] Last: I found it after a few hours (lol). I got it running and everything wo... (by AldenB)
Union assignment test
#include <iostream> #include <vector> #include <memory> #include <math.h> #include <cstdlib> #de...
[no replies]
I need to write in C a function ungets(s) that will push back an entire string onto the input. Shoul...
[5 replies] Last: Write test-cases and exercise the code with a test frame. This may he... (by JLBorges)
by leourb
Pointers and Chars Arrays
Hi, I have to concatenate three strings using only pointers without any other kind of std::function...
[2 replies] Last: Thank you JLBorges! I wish one day to write in C++ as you have just do... (by leourb)
Array in c++
Why the array not created according to the array size? these are my coding: #include <iostream...
[5 replies] Last: You're welcome! (by leourb)
by leourb
Visual Studio 2015 CE vs. XCode 6.4 Debug
Hi everyone! I usually use both above mentioned compilers but I have noticed that this little code (...
[6 replies] Last: Thank you JLBorges! :) (by leourb)
by Wyboth
Question about iterator loops
Say I have a vector of ints, and I want to print each of them using an iterator loop. The first way ...
[4 replies] Last: In for (auto it = myVector.begin(); it != myVector.end() ; ++it) {... (by JLBorges)
by fiqmid
Prime Number Program
#include <iostream> using namespace std; int main() { int n=7; int j,count ; bool prime;...
[3 replies] Last: Anyone? (by fiqmid)
Incomplete char output
Hello, I would appreciate any help or suggestions with this program. I'm working from text boo...
[2 replies] Last: Yes it was the type, thank you for your help. (by application123)
[OOP]{POLYNOMIAL} need help PLEASE!! :/
Hi guys so i'm currently working on something and i need help some help. after i wrote this program ...
[1 reply] : Guys!! nevermind it got solved anyways here is the changes i have done... (by MRmoe93)
by Nootor
Can someone help me run this code
#include <iostream> #include <fstream> #include <stdlib.h> using namespace std; class Triang...
[no replies]
by Leroi
Learning steps
Hi all, im trying to study c++(my first language) from the book "C++ Primer" ,i started it well, the...
[1 reply] : I read the same book(C++ Primer 5th ed) to learn c++ which was my firs... (by ChajusSaib)
by A A A
Need reviews on the following hangman code: #include <iostream> #include <windows.h> //for clear s...
[1 reply] : PLEASE USE CODE TAGS (the <> formatting button) when posting code. It ... (by AbstractionAnon)
Const reference (1,2)
Is const reference like class ... int _kappa; ... int const& kappa = _kappa; ... somehow optimized...
[27 replies] Last: Ty! Trying it. (by Krogoth)
by Duoas
UTF-32 to UTF-8 range_error
Demonstration // Example program // Prints a UTF-8 string to stdout // Fails miserably on non-...
[2 replies] Last: Er, I figured it out: I can't type. U+1F1800 is not a valid Unicode c... (by Duoas)
How to make getline () read only what the user typed into the console after the getline () execution?
Hey. I've got a LOT of problems today... I hope this one is the last one. In SOME tests of my new pr...
[1 reply] : Is there a way to make sure getline () WON'T read anything before it'... (by MiiNiPaa)
c++ database GUI
I'm making a database project using c++ oop on visual studi 2012 need some good GUI suggestions
[2 replies] Last: Visual Studio allready has a GUI designer as far as i know (by Gamer2015)
Pages: 1... 678910... 32
  Archived months: [jun2015]

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