General C++ Programming (Page 35)

Template usage
I'm starting to use templates and i have written a general class that uses templates. Now i want to ...
[2 replies] Last: I use the newest version of g++. It says: no matching function for ca... (by AbsBeginner)
Help with linking files
I need help trying to figure out how to link my c++ files to organize my code but everything i do do...
[9 replies] Last: Ok thank you that makes much more sense. Thanks a lot. (by Masterassassin1398)
bad_alloc() problem
Hi all, I was trying to solve one of the google code jam problems. I encountered with an error an...
[15 replies] Last: thank you again...@MiiNiPaa. Changed the type of Y and num.And the sol... (by reach devi)
A private base
Hello all, In page 508 of this book (
[5 replies] Last: Thank you very much. That table clarified all the thing. Thanks again ... (by khoshtip)
implementation of wavefront algorithm
I am trying to implement the wavefront algorithm, but my solution keep getting more complex with if ...
[no replies]
Problem with dynamic massive using indexes (C++)
Hello, everybody! I have a problem with dynamic massive. My task was to find the multiplication of p...
[5 replies] Last: Now line 14 calls your functin and throws out the result. Line 15 stil... (by MiiNiPaa)
Itoa for Base-10 to base-36
I am using itoa to convert base-10 to base-36 but it seems to be only be able to produce base-36 str...
[5 replies] Last: You might need to expand string litera... (by MiiNiPaa)
C++ tshirt program
I've go this code that I need to use a Named Constant for the price of a t-shirt. I've already do...
[2 replies] Last: thanks that works just fine poteto :-) (by nichan79)
How to compile with Eclipse
I have 2 c++ source files to put into my eclipse project and also a header file. How do I compile al...
[18 replies] Last: It would be better to start a new thread for a new topic. (by cire)
Ideas for a design to handle a crazy set of rules
A Wizard follows a certain school of magic. The school he follows gives attributes to him in no pa...
[1 reply] : > Any better idea than the one above? Maintainability is important for... (by JLBorges)
Rounding and converting to integer.. gahh
Ok so I'm in a programming 1 class working with c++. I have the following assignment: Write ...
[3 replies] Last: Figured it out. So simple lol... Thanks for the input int perc = rou... (by justinc978)
Randomizing an array without repetition..
Hello? Can I ask a little help with this?.. I just want to make a WORD GUESSING GAME which when you ...
[2 replies] Last: okay.. i'll try it :D thanks ^_^ I'll reply back for the outcome, Than... (by asunyan12344)
by Mike92
Display Calculator
Hi guys I am having trouble as I need to display a simple calculator using cout however I have no id...
[1 reply] : Are you just trying to print certain characters and newlines to the sc... (by Ganado)
Dynamically Allocated Array Parameters
I have changed my const global int NUMLABS to a non constant variable so that the user can decide ho...
[1 reply] : IntPtr labs ; is illegal. NUMLABS should be a compile time constant... (by MiiNiPaa)
Exception Throwing
Consider the following code : #include <iostream> #include <ctime> #include <cstdlib> #include <s...
[3 replies] Last: How can I pass objects without being copied ? Pss by reference or pas... (by MiiNiPaa)
text-based rpg game
Hey guys I have this text-based game that I want to make incredibly in depth. Close to the Xbox 360...
[3 replies] Last: Ok thank you. Ya its a work in progress. Not as in depth as Skyrim b... (by Masterassassin1398)
Deleting Dynamically Allocated Arrays
I am editing this code provided by my teacher. I have gotten it to work except that there is a runti...
[2 replies] Last: a) labs werent created with new , so attempt to delete them is an erro... (by MiiNiPaa)
by tec23
static variable declaration
Hi all. Just a simple question. If i declare 2 variables like this static int first, second; ...
[5 replies] Last: Thanks for the correction, but to be clear, I said that to enthusiasti... (by AceDawg45)
How does a computer store a floating point number?
Hello, for my college homework I have been asked to research how a floating point number is stored i...
[4 replies] Last: Thanks for the input, all of you really helped. From what you have all... (by SoftMOUNT)
Hex Format a little confused
Is my understanding correct? Ascii 'a' = 61 (Hex) Ascii '0' = 30 (Hex) So this is how we co...
[8 replies] Last: In C++ char is integral type. That means it only differs from int in s... (by MiiNiPaa)
Pages: 1... 3334353637... 67
  Archived months: [aug2014]

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