General C++ Programming - April 2014 (Page 28)

by chhe
2d vector adding columns
 
I have a basic question regarding 2d vectors. The following code makes a 2d vector and fills it with...
[5 replies] Last: Well you weren't specific how you wanted it. To do that you will have ... (by giblit)
by Subo93
2D array find max
 
//it outputs max is 0 ,can anyone show whats the error?thanks.. #include<iostream> using namespace...
[2 replies] Last: Thanks.. (by Subo93)
Methods arguments alteration rules in Java and C/C++
 
Hello and thank you for reading my post. First of all, I am more a Java programmer in my programm...
[1 reply] : Where to start with this? So many problems. point.cpp line 5: ct... (by AbstractionAnon)
Vector of pointers: Push back objects/const parameters
 
I have a class called Question: #include <string> #include <vector> using namespace std; ...
[2 replies] Last: I'm making a 20 question style game. The pointers are for AI purpose. ... (by dleanjeanz)
by younes
Compile a method separaltely
 
Hi, There is any method to compile a method of a class separately from the other methods and the ...
[1 reply] : Put it in a separate .cpp file. (by AbstractionAnon)
by younes
using c++11 in Mac operating system
 
Hello, I would like to use c++11 in my Mac system. Could someone show me how to install the compi...
[6 replies] Last: http://clang.llvm.org/get_started.html edit: coliru.stacked-crooked p... (by Little Bobby Tables)
Modifying a program for adjacent triplets in C
 
I have this program that calculates adjacent pairs. My question is how can I modify it to calculate ...
[11 replies] Last: Okay thanks for the help I figured it out. (by ragekage)
zip to city
 
Would this program be good and complete? #include <iostream> #include <fstream> #include <strin...
[11 replies] Last: That is much better, I can read your code now. So what is the question... (by SamuelAdams)
c++ windows application form
 
I'm a begginer in C++ and I downloaded the Visual studio 2010 express to design a Windows applicatio...
[no replies]
Base class member
 
I have encountered following lines in base class and I do not comprehend its meaning of "= 0" at the...
[3 replies] Last: Thank you for your answer. I am wiser now. (by sjon9742)
Programs like PAINT
 
How Can I create programs like Paint ? I know all the basics features of C++ like : -Object-O...
[1 reply] : You need to learn some GUI library/toolkit that lets you create Graphi... (by Stormboy)
by rubito
Help timing a sorting function
 
Can someone help or point me in the right direction? I'm writing a program that will implement Bubbl...
[3 replies] Last: You're not allowed to use the standard C++ stuff? std::cout << "Sort... (by Duthomhas)
by Kauto
Initializing const data member
 
Here's a part of my program. What I need to know is how I can pass an argument to the Book construct...
[2 replies] Last: What I need to know is how I can pass an argument to the Book constru... (by coder777)
exception proof assignment operator
 
guys, below is exception proof approach of assignment operator shared by scott meyer. Can anybody...
[1 reply] : whether this is safe to delete orig depends on whether it points to an... (by coder777)
User defined function issue - different answers
 
I have written a code which uses a number of functions but something bizarre happens for one of thes...
[7 replies] Last: Just for your own sanity, I'd modify your code to print out the values... (by MikeyBoy)
by Zaaku
Problem with 'Sint16 {aka short int}'?
 
Hello, I have downloaded from the internet, source alternative tibia client and I have many problem....
[4 replies] Last: warning: no return statement in function returning non-void [-Wreturn... (by Peter87)
Arrays in C++
 
Hi everyone, I am trying to write a program that inputs 7 scores into an array and then drops the...
[5 replies] Last: Also, the function "GetLowest" is wrong. it doesn't find the lowest,bu... (by bufige)
by Johnyd
c+arduino
 
expected initializer at end of input,,What this mean ? void setup() //Standard PWM DC contro...
[1 reply] : Please post snip of the code that causes this error. (by kannanmj)
What does the STS in this code mean?
 
So im trying to learn c++, and this book gives me a conversion code. What does sts mean in the bott...
[1 reply] : sts is function parameter (formal parameter). It receives the external... (by kannanmj)
Weird "is ambiguous" errors
 
I keep getting weird "is ambiguous" errors in Visual Studio 2012. They don't seem to be caused by a...
[1 reply] : If you remove using namespace std; I think it will result in the int... (by LB)
April 2014 Pages: 1... 2627282930... 41
  Archived months: [mar2014] [may2014]

This is an archived page. To post a new message, go to the current page.