• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Vector General Stack Memory Question
 
Having a bit of trouble getting a stack based vector implementation up for some reason, having some ...
[4 replies] Last: [quote=Disch]No. The above call will work exactly how you expect. Ho... (by ultifinitus)
Any standard on how to define operator overloading type
 
Is there any standard or guidelines which say when to declare an operator overloading function as fr...
[2 replies] Last: Basically operators not declared as friend cannot take more than one ... (by csstudent123)
Need a simple program of Functions
 
Hello everyone. its my first post here but i have been monitoring this forum closely about any troub...
[1 reply] : This should be in Beginners. Just read a fundamentals of c++ tutorial... (by poteto)
Macros on C++ style
 
Is it ok to define these in this way? Are these following C++ convention? If not please direct me h...
[6 replies] Last: It is just to learn c++ style macro, (by csstudent123)
Catch amplitude in period of time of any playing sounds
 
Hello, I really need your help. So, I decided to create a simple game, using SFML library. In my g...
[1 reply] : The easiest (but not most accurate) way is to just examine a chunk of ... (by Disch)
How did you get started with programming and where did you learn
 
I'm new to programming and I just wanted to know where did you guys get started and how long you hav...
[no replies]
Text adventure, having two separate story lines but combing them
 
So I was assigned to create a study tool for world history, so I went with a text based adventure ga...
[5 replies] Last: Okay here is my code. The problem with this is that this is due next M... (by SoulTechNameI)
Hash Table Help
 
I need to convert the hash table from the below to one that inserts the name of the months of year a...
[1 reply] : Also, i was given this line to insert: i=toupper(name )+toupper(name )... (by BigBadHarv)
my first boost graph library program failed
 
I tried to create a program loading a graph from a file with boost graph library. The execution of t...
[1 reply] : The range for the vertices is [0, n) (by ne555)
double linked list (insert beginning or end)
 
pls help, our prof asked us to create a double linked list, and this is what i came up with: s...
[no replies]
find the averages for each athlete
 
I have to find the average of each athlete.But with my program ,the sum of the score score doubles u...
[2 replies] Last: Change the average formula (by dismo)
Word length program
 
Hello, I am supposed to write a program to print a histogram of the lengths of words in it`s inpu...
[11 replies] Last: Should I maybe increment this index = i when I hit white space? Here... (by pacman169)
by malek
Disk Drive Properties with the right click
 
I am developing a c++ project, to get disk drive device properties.I want to know if is possible to ...
[5 replies] Last: Thank you for your time, i want to know about defragmentation and quot... (by malek)
Sorting code wont run properly, please help
 
#include "stdafx.h" #include <iostream> #include <iomanip> #include <Windows.h> #include <fstrea...
[1 reply] : I need to sort 50 records and everything runs perfectly until i includ... (by Charzardly)
CodeBlock doesn't run
 
When i run a specific code(program) at codeblocks, it doesn't run or build ?! why ?
[5 replies] Last: @poteto But there might not be anything wrong with Code::Blocks, more ... (by TheIdeasMan)
What does the "pragma once" in this code mean?
 
#include <iostream> #include <string> #pragma once #include <cstring>
[1 reply] : http://en.wikipedia.org/wiki/Pragma_once https://msdn.microsoft.com/e... (by programmer007)
Allocator rebind from within template container class
 
I've been working on a vector-like container class without pointer and iterator invalidation, and wi...
[13 replies] Last: Turns out that doesn't actually work - copy elision doesn't happen for... (by metamorphosis)
by yj1214
new int initialization
 
int *x = new int(5); why can't I do, int *x = new int; x = 5; also, in...
[3 replies] Last: why can't I do, x = 5; Because 'x' is a pointer. You cannot ass... (by Disch)
by arwa12
input value of f(x)
 
I want to write a C++ program for bisection method where I want to ask the user to input the value o...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/basic_io/ (by Militie)
Pages: 123... 44
  Archived months: [feb2015]