General C++ Programming (Page 33)

Question about double pointer to a reference
I can't seem to wrap my mind around what is going on here. My teacher gave us an implementation of a...
[1 reply] : What are we storing into prevNode in line 1? hashTable is a sequence ... (by helios)
using getline to parse from a text file.
Hi! So, I have a quick question. I'm trying to make a program where it reads a text file which cont...
[10 replies] Last: @ LB I think it'd be fair to gather by now that the input format is n... (by Duoas)
Inputing intergers heap
So i have this assignment where i need to input heap integers and when i print the code out,, it goe...
[no replies]
reheapify downwards
working on a reheapify downwards problem but I'm receiving a seg fault idk where the problem might b...
[no replies]
help with bool and const array
Hey I got this program to create an array of playing cards and assign the values and suits and shuff...
[1 reply] : int start = 0; if (hideFirstCard) { cout >> "**"; start = 1; ... (by dhayden)
by davtk8
Reverse alternate words in a string
How do reverse every alternate words in a string that I read into my program: e.g. The mouse was ca...
[4 replies] Last: multiple ways you could do it, could have it take in strings char at a... (by d1ff1cul1010)
Bowling Program: Need some help
I'm meant to write a bowling program as an assignment in my programming class. I think I'm on the ri...
[1 reply] : Have you learned arrays and loops yet? Because this code would be seri... (by Keene)
How is the implementation of vector::insert() ?
Hello everyone, I have problems with my implementation of std::vector, specifically with the functio...
[4 replies] Last: You're not answering OP's question. He doesn't want to use std::vec... (by Duoas)
ncurses help on Mac OS X Xcode
I'm currently a beginner C++ programmer. Recently, I found ncurses and thought I'd give it a shot an...
[2 replies] Last: From your li... (by Khanovich)
C++ Draw letters
Hi, i have no idea how to do this task, i have to draw a letter in c++ using the * character and onl...
[3 replies] Last: You are expected to draw a single letter? Or a word/sentence? For ... (by Duoas)
Encapsulating speed types of different animals
#include <iostream> #define show(variable) std::cout << #variable << " = " << variable << std::e...
[10 replies] Last: > 'return bool(stm);' could be replaced by 'return !;' but n... (by JLBorges)
by Gyiove
Minecraft style infinity blocky world ( fopen and holding blocks in ram )
Hello everyone! First we will have: struct item { unsigned short type; unsigned int age; ...
[no replies]
SDL Set up...
Hi, I'm wondering if anyone wants to help me out for a couple minutes to set up SDL via or ...
[2 replies] Last: Have you installed the libraries? (by Avilius)
C++ How does one use Array Input Checking?
Hey guys, as I'm googling for help on my issue, I came across a user saying that if I wanted to chec...
[3 replies] Last: Plain arrays are far more complex and tricky to use than simply using ... (by LB)
Maze / Graph
Hello! Well I need help with the following Regards!
[1 reply] : [quote=dawoodr]Hello! Well, I need help with the following. Given a ... (by Smac89)
How to: Create Umbrella Type
Hey there, I was wondering if you know way to create an "umbrella" type/class/struct of existing c+...
[4 replies] Last: Wrap references. #include <iostream> #include <boost/any.hpp> #inclu... (by JLBorges)
3D Game Engine
Hi, I am a PAWN and LUA programmer. I have recently started learning C# & C++, due to the reason th...
[3 replies] Last: @Avilius, I've been learning C# like 2 months before I started learnin... (by skibi184)
using std::string for splitting up a line
If I had a line like: G3421,accountant,Gary Daniels, and I have int po...
[1 reply] : erase already read characters from original line http://en.cppreferenc... (by MiiNiPaa)
by johms
Printing even and odd numbers in alternating pattern
Can somebody please help me with this?? We never really had a thorough discussion yet about if-else...
[2 replies] Last: Mr. Konstantin2.. thank you very much for the info.. (by johms)
by Maco10
Compilator error
I am a bit lost. I have to make an exercise, and the test probes return: ====== Sortie de g++ ...
[3 replies] Last: As you just said, override the operator: struct Triangle { Point... (by NT3)
Pages: 1... 3132333435... 58
  Archived months: [oct2014]

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