General C++ Programming (Page 31)

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)
Difference between (const string&) and (string&) pass by reference.
I wrote a code to calculate the scalar product of two vectors. I can't seem to fully understand the ...
[1 reply] : 1. Strings "First " and "Second " written in 15, 16 lines are hardly c... (by Konstantin2)
pointers to pointer array
void StringofCars::push(Car more) { cout <<"11"<< more.carNumber << more.destination << mor...
[2 replies] Last: Good catch! thanks :) (by timk123)
Theater Seating c++ error
In the following code, when I would select View Menu Prices, Purchase Tickets, and Sales Statistics ...
[1 reply] : int price ; is local variable in every function. When you ask user f... (by Konstantin2)
Calendar Help (need to combine my code into a single function)
The assignment reads "Write a void function named displayCalendarDays. This function is passed two ...
[1 reply] : void disp(const int startDay, const int days) { if (startDay < 0 |... (by Konstantin2)
by RotciV
Kth largest array
So I'm trying to make a function that prints out the kth largest number in the array but its not wor...
[1 reply] : You should actually explain how your function works rather than leavin... (by Smac89)
Prompt the user for two years. Print all Comedy movies that were released between those two years.
this code works just in case anyone has this assignment. i figured it out yesterday. please help me ...
[no replies]
Magic Square
My knowledge about C++ is very limited, just keep modifying the source code from internet to fix th...
[no replies]
Pages: 1... 2930313233... 56
  Archived months: [oct2014]

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